⚡ We welcome businesses to test our enterprise-grade service

zec
Zcash (ZEC)

Method: POST listunspent

dropdown

方法 RPC listunspent 例如 Zcash (ZEC)

POST listunspent

Method not allowed

在MinConf和MaxConf(包含)确认之间返回无需交易输出的数组。

可选的过滤以仅包括付款给指定地址的TXOUT。

结果是一系列对象,每个对象具有:{txid,vout,scriptpubkey,金额,确认}

Parameters

minconf - 数字

可选,默认= 1

过滤的最低确认。

maxconf - 数字

可选,默认= 9999999

过滤的最大确认。

addresses - 大批

ZCASH地址的JSON数组进行过滤。

Request

curl --location --request POST 'https://zec.getblock.io/mainnet/' \
--header 'x-api-key: YOUR-API-KEY' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0",
"method": "listunspent",
"params": [null, null, null],
"id": "getblock.io"}'


Response

{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}