📝 Share Your Feedback on Twitter and Claim 1M Free GetBlock Requests

zec
Zcash (ZEC)

Method: POST sendmany

dropdown

方法 RPC sendmany 例如 Zcash (ZEC)

POST sendmany

Method not allowed

发送多次。 数量是十进制数字,最多为8位精度。

Parameters

fromaccount - 细绳

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

amounts - 没有任何

一个具有地址和金额的JSON对象

{“地址”:量(数字)zcash地址是键,zec中的数字数量是值,...}

minconf - 数字

可选,默认= 1

仅使用余额至少确认了这么多次。

comment - 细绳

选修的

一条评论。

subtractfeefromamount - 细绳

选修的。

带有地址的JSON阵列。

费用将同样从每个选定地址的金额中扣除。

这些收件人将收到的ZCash比您在相应数量字段中输入的ZCash少。

如果此处未指定地址,则发件人支付费用。

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


Response

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