⚡ We welcome businesses to test our enterprise-grade service

zec
Zcash (ZEC)

Method: POST z_getnewaddress

dropdown

方法 RPC z_getnewaddress 例如 Zcash (ZEC)

POST z_getnewaddress

Method not allowed

返回一个新的屏蔽地址用于接收付款。 没有争论,请返回树苗地址。

Parameters

type - 细绳

可选,默认=“苗条”

地址的类型。 [“芽”,“汁液”]之一。

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


Response

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