createrawtransaction - Zcash
Example code for the createrawtransaction json-rpc method. Сomplete guide on how to use createrawtransaction json-rpc in GetBlock.io Web3 documentation.
Parameters
transactions
- string
A json array of json objects:
[ { "txid":"id", (string, required) The transaction id "vout":n (numeric, required) The output number "sequence":n (numeric, optional) The sequence number } ,... ]
addresses
- object
a json object with addresses as keys and amounts as values
locktime
- numeric
Optional, default=0
Raw locktime. Non-0 value also locktime-activates inputs.
expiryheight
- numeric
Optional
default=nextblockheight+20 for pre-Blossom.
default=nextblockheight+40 for post-Blossom.
Expiry height of transaction (if Overwinter is active).
Request
Response
Last updated