Share your GetBlock experience with other devs and get 5M RPCs

banner image
zec

ZCash

ZEC

POST

GET

chevron-right

Last updated on January 1, 1970

1 min read

Method z_sendmany ZCash (ZEC)
connect with JSON-RPC protocol

z_sendmany

info-circle-fill

Method not allowed

info-circle-fill

Send multiple times. Amounts are decimal numbers with at most 8 digitsof precision.Change generated from one or more transparent addresses flows to a newtransparent address, while change generated from a shielded addressreturns to itself.When sending coinbase UTXOs to a shielded address, change is notallowed.The entire value of the UTXO(s) must be consumed.Before Sapling activates, the maximum number of zaddr outputs is 54 dueto transaction size limits.

Parameters

fromaddress - string

The transparent or shielded address to send the funds from.

amounts - array

An array of json objects representing the amounts to send.

minconf - numeric,

Optional, default=1

Only include transactions confirmed at least this many times.

fee - numeric

Optional, default=0.00001

The fee amount to attach to this transaction.

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

Response

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

Start Building with GetBlock RPCs for Free