getblockdeltas - BitcoinZ 2.0.7 RPC
getblockdeltas "blockhash" Returns information about the given block and its transactions. Arguments: 1. "hash" (string, required) The block hash Result: { "hash": "hash", (string) block ID "confirmations": n, (numeric) number of confirmations "size": n, (numeric) block size in bytes "height": n, (numeric) block height "version": n, (numeric) block version (e.g. 4) "merkleroot": "hash", (hexstring) block Merkle root "deltas": [ { "txid": "hash", (hexstring) transaction ID "index": n, (numeric) The offset of the tx in the block "inputs": [ (array of json objects) { "address": "taddr", (string) transparent address "satoshis": n, (numeric) negative of spend amount "index": n, (numeric) vin index "prevtxid": "hash", (string) source utxo tx ID "prevout": n (numeric) source utxo index }, ... ], "outputs": [ (array of json objects) { "address": "taddr", (string) transparent address "satoshis": n, (numeric) amount "index": n (numeric) vout index }, ... ] }, ... ], "time" : n, (numeric) The block version "mediantime": n, (numeric) The most recent blocks' ave time "nonce" : "nonce", (hex string) The nonce "bits" : "1d00ffff", (hex string) The bits "difficulty": n, (numeric) the current difficulty "chainwork": "xxxx" (hex string) total amount of work in active chain "previousblockhash" : "hash",(hex string) The hash of the previous block "nextblockhash" : "hash" (hex string) The hash of the next block } Examples: > bitcoinz-cli getblockdeltas 00227e566682aebd6a7a5b772c96d7a999cadaebeaf1ce96f4191a3aad58b00b > curl --user myusername --data-binary '{"jsonrpc": "1.0", "id":"curltest", "method": "getblockdeltas", "params": ["00227e566682aebd6a7a5b772c96d7a999cadaebeaf1ce96f4191a3aad58b00b"] }' -H 'content-type: text/plain;' http://127.0.0.1:8032/
Blockchain
Generating
Mining
Network
Rawtransactions
Wallet
addmultisigaddress
backupwallet
dumpprivkey
dumpwallet
encryptwallet
getaccount
getaccountaddress
getaddressesbyaccount
getbalance
getnewaddress
getrawchangeaddress
getreceivedbyaccount
getreceivedbyaddress
gettransaction
getunconfirmedbalance
getwalletinfo
importaddress
importprivkey
importwallet
keypoolrefill
listaccounts
listaddressgroupings
listlockunspent
listreceivedbyaccount
listreceivedbyaddress
listsinceblock
listtransactions
listunspent
lockunspent
move
sendfrom
sendmany
sendtoaddress
setaccount
settxfee
signmessage
z_exportkey
z_exportviewingkey
z_exportwallet
z_getbalance
z_getmigrationstatus
z_getnewaddress
z_getoperationresult
z_getoperationstatus
z_gettotalbalance
z_importkey
z_importviewingkey
z_importwallet
z_listaddresses
z_listoperationids
z_listreceivedbyaddress
z_listunspent
z_mergetoaddress
z_sendmany
z_setmigration
z_shieldcoinbase
zcbenchmark
zcrawjoinsplit
zcrawkeygen
zcrawreceive
zcsamplejoinsplit
backupwallet
dumpprivkey
dumpwallet
encryptwallet
getaccount
getaccountaddress
getaddressesbyaccount
getbalance
getnewaddress
getrawchangeaddress
getreceivedbyaccount
getreceivedbyaddress
gettransaction
getunconfirmedbalance
getwalletinfo
importaddress
importprivkey
importwallet
keypoolrefill
listaccounts
listaddressgroupings
listlockunspent
listreceivedbyaccount
listreceivedbyaddress
listsinceblock
listtransactions
listunspent
lockunspent
move
sendfrom
sendmany
sendtoaddress
setaccount
settxfee
signmessage
z_exportkey
z_exportviewingkey
z_exportwallet
z_getbalance
z_getmigrationstatus
z_getnewaddress
z_getoperationresult
z_getoperationstatus
z_gettotalbalance
z_importkey
z_importviewingkey
z_importwallet
z_listaddresses
z_listoperationids
z_listreceivedbyaddress
z_listunspent
z_mergetoaddress
z_sendmany
z_setmigration
z_shieldcoinbase
zcbenchmark
zcrawjoinsplit
zcrawkeygen
zcrawreceive
zcsamplejoinsplit