Blockchain RPCs
39 methods in this category, with 2 new, 0 params/results changed, 0 behavior changed, and 37 unchanged since v30.2.
dumptxoutset
Write the serialized UTXO set to a file. This can be used in loadtxoutset afterwards if this snapshot height is supported in the chainparams as well.
getbestblockhash
Returns the hash of the best (tip) block in the most-work fully-validated chain.
getblock
If verbosity is 0, returns a string that is serialized, hex-encoded data for block 'hash'.
getblockchaininfo
Returns an object containing various state info regarding blockchain processing.
getblockcount
Returns the height of the most-work fully-validated chain.
getblockfilter
Retrieve a BIP 157 content filter for a particular block.
getblockfrompeer
Attempt to fetch block from a given peer.
getblockhash
Returns hash of block in best-block-chain at height provided.
getblockheader
If verbose is false, returns a string that is serialized, hex-encoded data for blockheader 'hash'.
getblockstats
Compute per block statistics for a given window. All amounts are in satoshis.
getchainstates
Return information about chainstates.
getchaintips
Return information about all known tips in the block tree, including the main chain as well as orphaned branches.
getchaintxstats
Compute statistics about the total number and rate of transactions in the chain.
getconfirmationtarget
Calculate the recommended number of confirmations for a transaction.
New since v30.2
Adds the qbit confirmation-target estimator RPC.
getdeploymentinfo
Returns an object containing various state info regarding deployments of consensus changes.
getdescriptoractivity
Get spend and receive activity associated with a set of descriptors for a set of blocks. This command pairs well with the `relevant_blocks` output of `scanblocks()`.
getdifficulty
Returns the proof-of-work difficulty as a multiple of the minimum difficulty.
getmempoolancestors
If txid is in the mempool, returns all in-mempool ancestors.
getmempooldescendants
If txid is in the mempool, returns all in-mempool descendants.
getmempoolentry
Returns mempool data for given transaction
getmempoolinfo
Returns details on the active state of the TX memory pool.
getorphanmetrics
Return stale block metrics over a rolling event window.
New since v30.2
getrawmempool
Returns all transaction ids in memory pool as a json array of string transaction ids.
gettxout
Returns details about an unspent transaction output.
gettxoutproof
Returns a hex-encoded proof that "txid" was included in a block.
gettxoutsetinfo
Returns statistics about the unspent transaction output set.
gettxspendingprevout
Scans the mempool to find transactions spending any of the given outputs
importmempool
Import a mempool.dat file and attempt to add its contents to the mempool.
loadtxoutset
Load the serialized UTXO set from a file.
preciousblock
Treats a block as if it were received before others with the same work.
pruneblockchain
Attempts to delete block and undo data up to a specified height or timestamp, if eligible for pruning.
savemempool
Dumps the mempool to disk. It will fail until the previous dump is fully loaded.
scanblocks
Return relevant blockhashes for given descriptors (requires blockfilterindex).
scantxoutset
Scans the unspent transaction output set for entries that match certain output descriptors.
verifychain
Verifies blockchain database.
verifytxoutproof
Verifies that a proof points to a transaction in a block, returning the transaction it commits to
waitforblock
Waits for a specific new block and returns useful info about it.
waitforblockheight
Waits for (at least) block height and returns the height and hash
waitfornewblock
Waits for any new block and returns useful info about it.