getblockdeltas - Pastel RPC

getblockdeltas blockhash
Returns the txid and index where an output is spent.
WARNING: getblockdeltas is disabled.
To enable it, restart zcashd with the -experimentalfeatures and
-insightexplorer commandline options, or add these two lines
to the zcash.conf file:

experimentalfeatures=1
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