⚡ We welcome businesses to test our enterprise-grade service

zec
Zcash (ZEC)

Method: POST z_exportwallet

dropdown

方法 RPC z_exportwallet 例如 Zcash (ZEC)

POST z_exportwallet

Method not allowed

以人为可读的格式出口所有钱包钥匙,用于TADDR和ZADDR。 不允许覆盖现有文件。

Parameters

filename - 细绳

该文件名,由zcashd -exportdir选项保存在文件夹中。

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


Response

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