⚡ Test Our Private Nodes of 40+ Blockchains just for $50!

coins coins coins coins
zec
Zcash (ZEC)

Method: POST getaccount

dropdown

# getaccount example for Zcash (ZEC)

POST getaccount

Method not allowed

DEPRECATED. Returns the account associated with the given address.

Parameters

zcashaddress - string

The Zcash address for account lookup.

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": "getaccount",
"params": [null],
"id": "getblock.io"}'


Response

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