⚡ We welcome businesses to test our enterprise-grade service

zec
Zcash (ZEC)

Method: POST z_exportviewingkey

dropdown

方法 RPC z_exportviewingkey 例如 Zcash (ZEC)

POST z_exportviewingkey

Method not allowed

揭示与“ ZADDR”相对应的观看密钥。 然后可以将z_importviewingkey与此输出一起使用

Parameters

zaddr - 细绳

私钥的ZADDR。

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


Response

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