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.

blockchain / core

getbestblockhash

Returns the hash of the best (tip) block in the most-work fully-validated chain.

blockchain / core

getblock

If verbosity is 0, returns a string that is serialized, hex-encoded data for block 'hash'.

blockchain / core

getblockchaininfo

Returns an object containing various state info regarding blockchain processing.

blockchain / core

getblockcount

Returns the height of the most-work fully-validated chain.

blockchain / core

getblockfilter

Retrieve a BIP 157 content filter for a particular block.

blockchain / core

getblockhash

Returns hash of block in best-block-chain at height provided.

blockchain / core

getblockheader

If verbose is false, returns a string that is serialized, hex-encoded data for blockheader 'hash'.

blockchain / core

getblockstats

Compute per block statistics for a given window. All amounts are in satoshis.

blockchain / core

getchainstates

Return information about chainstates.

blockchain / core

getchaintips

Return information about all known tips in the block tree, including the main chain as well as orphaned branches.

blockchain / core

getchaintxstats

Compute statistics about the total number and rate of transactions in the chain.

blockchain / core

getconfirmationtarget

Calculate the recommended number of confirmations for a transaction.

blockchain / core

New since v30.2

Adds the qbit confirmation-target estimator RPC.

getdeploymentinfo

Returns an object containing various state info regarding deployments of consensus changes.

blockchain / core

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()`.

blockchain / core

getdifficulty

Returns the proof-of-work difficulty as a multiple of the minimum difficulty.

blockchain / core

getmempoolancestors

If txid is in the mempool, returns all in-mempool ancestors.

blockchain / core

getmempoolentry

Returns mempool data for given transaction

blockchain / core

getmempoolinfo

Returns details on the active state of the TX memory pool.

blockchain / core

getorphanmetrics

Return stale block metrics over a rolling event window.

blockchain / core

New since v30.2

getrawmempool

Returns all transaction ids in memory pool as a json array of string transaction ids.

blockchain / core

gettxout

Returns details about an unspent transaction output.

blockchain / core

gettxoutproof

Returns a hex-encoded proof that "txid" was included in a block.

blockchain / core

gettxoutsetinfo

Returns statistics about the unspent transaction output set.

blockchain / core

gettxspendingprevout

Scans the mempool to find transactions spending any of the given outputs

blockchain / core

importmempool

Import a mempool.dat file and attempt to add its contents to the mempool.

blockchain / core

loadtxoutset

Load the serialized UTXO set from a file.

blockchain / core

preciousblock

Treats a block as if it were received before others with the same work.

blockchain / core

pruneblockchain

Attempts to delete block and undo data up to a specified height or timestamp, if eligible for pruning.

blockchain / core

savemempool

Dumps the mempool to disk. It will fail until the previous dump is fully loaded.

blockchain / core

scanblocks

Return relevant blockhashes for given descriptors (requires blockfilterindex).

blockchain / core

scantxoutset

Scans the unspent transaction output set for entries that match certain output descriptors.

blockchain / core

verifychain

Verifies blockchain database.

blockchain / core

verifytxoutproof

Verifies that a proof points to a transaction in a block, returning the transaction it commits to

blockchain / core

waitforblock

Waits for a specific new block and returns useful info about it.

blockchain / core

waitforblockheight

Waits for (at least) block height and returns the height and hash

blockchain / core

waitfornewblock

Waits for any new block and returns useful info about it.

blockchain / core