⚡ We welcome businesses to test our enterprise-grade service

zec
Zcash (ZEC)

Method: POST sendfrom

dropdown

方法 RPC sendfrom 例如 Zcash (ZEC)

POST sendfrom

Method not allowed

弃用(使用sendtoaddress)。 从帐户发送到Zcash地址的金额。 该金额是真实的,并被舍入到最近的0.00000001。

Parameters

fromaccount - 细绳

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

tozcashaddress - 细绳

Zcash地址将资金发送到。

amount - 数字

ZEC中的金额(交易费用在上面添加)。

minconf - 数字

可选,默认= 1

仅使用至少有很多确认的资金。

comment - 细绳

选修的。

用于存储交易的评论。 这不是交易的一部分,只是存放在钱包里。

comment-to - 细绳

选修的。

可选的评论,以存储您发送交易的人或组织的名称。 这不是交易的一部分,它只是存放在您的钱包里。

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


Response

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