getblockdeltas - Pastel RPC
getblockdeltas blockhash Returns the txid and index where an output is spent. WARNING: getblockdeltas is disabled. To enable it, restart pasteld with the -insightexplorer commandline options, or add this line to the pastel.conf file: insightexplorer=1 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", (string) block Merkle root "deltas": [ { "txid": "hash", (string) transaction ID "index": n, (numeric) tx index in block "inputs": [ { "address": "taddr", (string) transparent address "patoshis": 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": [ { "address": "taddr", (string) transparent address "patoshis": n, (numeric) amount "index": n (numeric) vout index }, ... ] }, ... ], "time": n, (numeric) The block version "mediantime": n, (numeric) The most recent blocks' ave time "nonce": "hexstring", (hex string) The nonce "bits": "hexstring", (hex string) The bits "difficulty": , (numeric) the current difficulty "chainwork": "hexstring", (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:> pastel-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:9932/
Maintained by Pastel Network; license of the docs is MIT (see pastel repo)
Generated from a mainnet node
Addressindex
Blockchain
Control
Generating
Mining
Mnode
Network
Rawtransactions
Wallet
addmultisigaddress
backupwallet
dumpprivkey
dumpwallet
encryptwallet
fixmissingtxs
getaccount
getaccountaddress
getaddressesbyaccount
getbalance
getnewaddress
getrawchangeaddress
getreceivedbyaccount
getreceivedbyaddress
gettransaction
gettxfee
getunconfirmedbalance
getwalletinfo
importaddress
importprivkey
importwallet
keypoolrefill
listaccounts
listaddressamounts
listaddressgroupings
listlockunspent
listreceivedbyaccount
listreceivedbyaddress
listsinceblock
listtransactions
listunspent
lockunspent
move
scanburntransactions
scanformissingtxs
sendfrom
sendmany
sendtoaddress
setaccount
settxfee
signmessage
z_exportkey
z_exportviewingkey
z_exportwallet
z_getbalance
z_getnewaddress(type)
z_getnotescount
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_sendmanywithchangetosender
z_shieldcoinbase
z_viewtransaction
zcbenchmark