FULL NAME
SUBJECT
Customer Support
Customer Support
Business / Sales
Partnership
Feedback
Other
TEXT MESSAGE
0/300
⚡ Test Our Private Nodes of 40+ Blockchains just for $50!
Method: POST z_mergetoaddress
Method not allowed
Merge multiple UTXOs and notes into a single UTXO or note. Coinbase UTXOs are ignored; use `z_shieldcoinbase` to combine those into a single note.
This is an asynchronous operation, and UTXOs selected for merging will be locked. If there is an error, they are unlocked. The RPC call `listlockunspent` can be used to return a list of locked UTXOs.
The number of UTXOs and notes selected for merging can be limited by the caller. If the transparent limit parameter is set to zero will mean limit the number of UTXOs based on the size of the transaction. Any limit is constrained by the consensus rule defining a maximum transaction size of 100000 bytes before Sapling, and 2000000 bytes once Sapling activates.
fromaddresses
- array
A JSON array with addresses.
While it is possible to use a variety of different combinations of addresses and the above values, it is not possible to send funds from both sprout and sapling addresses simultaneously. If a special string is given, any given addresses of that type will be counted as duplicates and cause an error.
toaddress
- string
The taddr or zaddr to send the funds to.
fee
- numeric
Optional, default=0.00001
The fee amount to attach to this transaction.
transparent_limit
- numeric
Optional, default=50
Limit on the maximum number of UTXOs to merge. Set to 0 to use as many as will fit in the transaction.
shielded_limit
- numeric
Optional, default is 20 Sprout or 200 Sapling Notes
Limit on the maximum number of notes to merge. Set to 0 to merge as many as will fit in the transaction.
memo
- string
Optional
Encoded as hex. When toaddress is a zaddr, this will be stored in the memo field of the new note.
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_mergetoaddress", "params": [null, null, null, null, null, null], "id": "getblock.io"}'
{ "result": "null", "id": "getblock.io", "status_code": 405, "message": "Method not allowed" }
POST getbestblockhash
POST getblock
POST getblockchaininfo
POST getblockcount
POST getblockhash
POST getblockheader
POST getchaintips
POST getdifficulty
POST getmempoolinfo
POST getrawmempool
POST gettxout
POST gettxoutproof
POST gettxoutsetinfo
POST z_gettreestate
POST getexperimentalfeatures
POST getinfo
POST getmemoryinfo
POST help
POST getblocksubsidy
POST getblocktemplate
POST getlocalsolps
POST getmininginfo
POST getnetworksolps
POST createrawtransaction
POST decoderawtransaction
POST decodescript
POST fundrawtransaction
POST getrawtransaction
POST sendrawtransaction
POST signrawtransaction
POST estimatefee
POST estimatepriority
POST validateaddress
POST verifymessage
POST z_validateaddress
POST getaddressbalance
POST getaddressdeltas
POST getaddressmempool
POST getaddresstxids
POST getaddressutxos
POST getblockdeltas
POST getblockhashes
POST getspentinfo
POST verifychain
POST verifytxoutproof
POST setlogfilter
POST stop
POST z_getpaymentdisclosure
POST z_validatepaymentdisclosure
POST generate
POST getgenerate
POST setgenerate
POST getnetworkhashps
POST prioritisetransaction
POST submitblock
POST addnode
POST clearbanned
POST disconnectnode
POST getaddednodeinfo
POST getconnectioncount
POST getdeprecationinfo
POST getnettotals
POST getnetworkinfo
POST getpeerinfo
POST listbanned
POST ping
POST setban
POST createmultisig
POST addmultisigaddress
POST backupwallet
POST dumpprivkey
POST dumpwallet
POST encryptwallet
POST getaccount
POST getaccountaddress
POST getaddressesbyaccount
POST getbalance
POST getnewaddress
POST getrawchangeaddress
POST getreceivedbyaccount
POST getreceivedbyaddress
POST gettransaction
POST getunconfirmedbalance
POST getwalletinfo
POST importaddress
POST importprivkey
POST importpubkey
POST importwallet
POST keypoolrefill
POST listaccounts
POST listaddressgroupings
POST listlockunspent
POST listreceivedbyaccount
POST listreceivedbyaddress
POST listsinceblock
POST listtransactions
POST listunspent
POST lockunspent
POST move
POST sendfrom
POST sendmany
POST sendtoaddress
POST setaccount
POST settxfee
POST signmessage
POST z_exportkey
POST z_exportviewingkey
POST z_exportwallet
POST z_getbalance
POST z_getmigrationstatus
POST z_getnewaddress
POST z_getnotescount
POST z_getoperationresult
POST z_getoperationstatus
POST z_gettotalbalance
POST z_importkey
POST z_importviewingkey
POST z_importwallet
POST z_listaddresses
POST z_listoperationids
POST z_listreceivedbyaddress
POST z_listunspent
POST z_mergetoaddress
POST z_sendmany
POST z_setmigration
POST z_shieldcoinbase
POST z_viewtransaction
POST zcbenchmark
POST zcrawjoinsplit
POST zcrawkeygen
POST zcrawreceive
POST zcsamplejoinsplit
Nodes
Shared Nodes Dedicated Nodes Node Cluster Tracker Pricing Blockchain Development Documentation SLAPartnerships
Media KitNodes
Shared Nodes Dedicated Nodes Node Cluster Tracker Pricing Blockchain Development Documentation SLAPartnerships
Media KitNodes
Shared Nodes Dedicated Nodes Node Cluster Tracker Pricing Blockchain Development Documentation SLAPartnerships
Media KitPartnerships
Media KitFeel Free to Reach Out Anytime! 👋
FULL NAME
SUBJECT
Customer Support
Customer Support
Business / Sales
Partnership
Feedback
Other
TEXT MESSAGE
0/300
KakaoTalk