⚡ We welcome businesses to test our enterprise-grade service

zec
Zcash (ZEC)

Method: POST setaccount

dropdown

方法 RPC setaccount 例如 Zcash (ZEC)

POST setaccount

Method not allowed

弃用。 设置与给定地址关联的帐户。

Parameters

zcashaddress - 细绳

ZCASH地址与帐户关联。

account - 细绳

必须设置为空字符串“”以表示默认帐户。 传递任何其他字符串将导致错误。

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


Response

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