qbit RPC Reference

Generated from the current manifest, the committed v30.2 baseline, and the semantic overlay.

Summary

Metric Count
Total methods 159
New since v30.2 10
Changed params/results since v30.2 14
Changed behavior since v30.2 3
Unchanged 134

Change counts are not mutually exclusive. A method may appear in more than one change bucket.

Changed since v30.2

Categories

  • Blockchain: 39 total, 2 new, 0 params/results changed, 0 behavior changed, 37 unchanged
  • Control: 6 total, 0 new, 0 params/results changed, 0 behavior changed, 6 unchanged
  • Mining: 9 total, 2 new, 2 params/results changed, 3 behavior changed, 4 unchanged
  • Network: 15 total, 1 new, 0 params/results changed, 0 behavior changed, 14 unchanged
  • Rawtransactions: 20 total, 1 new, 3 params/results changed, 0 behavior changed, 16 unchanged
  • Signer: 1 total, 0 new, 0 params/results changed, 0 behavior changed, 1 unchanged
  • Util: 8 total, 0 new, 0 params/results changed, 0 behavior changed, 8 unchanged
  • Wallet: 60 total, 4 new, 9 params/results changed, 0 behavior changed, 47 unchanged
  • Zmq: 1 total, 0 new, 0 params/results changed, 0 behavior changed, 1 unchanged

All Methods

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

getmemoryinfo

Returns an object containing information about memory usage.

control / core

getrpcinfo

Returns details of the RPC server.

control / core

help

List all commands, or get help for a specified command.

control / core

logging

Gets and sets the logging configuration.

control / core

stop

Request a graceful shutdown of qbit.

control / core

uptime

Returns the total uptime of the server.

control / core

createauxblock

Create a merged-mining candidate block paying the coinbase reward to the given P2MR address.

mining / core

New since v30.2

getblocktemplate

If the request parameters include a 'mode' key, that is used to explicitly select between the default 'template' request or a 'proposal'.

mining / core

Changed params/results since v30.2 Changed behavior since v30.2

Cadence, AuxPoW, and qbit version-rolling semantics diverge from upstream behavior.

getmininginfo

Returns a json object containing mining-related information.

mining / core

Changed behavior since v30.2

networkhashps is the default total qbit chainwork hashrate estimate, and next is the permissionless/native candidate.

getnetworkhashps

Returns the estimated network hashes per second (H/s) based on accepted block proof work.

mining / core

Changed params/results since v30.2 Changed behavior since v30.2

Adds lane-aware qbit hashrate estimates for all, permissionless, and AuxPoW work.

getprioritisedtransactions

Returns a map of all user-created (see prioritisetransaction) fee deltas by txid, and whether the tx is present in mempool.

mining / core

prioritisetransaction

Accepts the transaction into mined blocks at a higher (or lower) priority

mining / core

submitauxblock

Submit an AuxPoW payload for a cached merged-mining candidate block.

mining / core

New since v30.2

submitblock

Attempts to submit new block to network.

mining / core

submitheader

Decode the given hexdata as a header and submit it as a candidate chain tip if valid.

mining / core

addnode

Attempts to add or remove a node from the addnode list.

network / core

disconnectnode

Immediately disconnects from the specified peer node.

network / core

getaddednodeinfo

Returns information about the given added node, or all added nodes

network / core

getaddrmaninfo

Provides information about the node's address manager by returning the number of addresses in the `new` and `tried` tables and their sum for all networks.

network / core

getarchivepeers

Returns archive-relevant peer state for bootstrap, fallback debugging, and monitoring.

network / core

New since v30.2

getnettotals

Returns information about network traffic, including bytes in, bytes out,

network / core

getnetworkinfo

Returns an object containing various state info regarding P2P networking.

network / core

getnodeaddresses

Return known addresses, after filtering for quality and recency.

network / core

getpeerinfo

Returns data about each connected network peer as a json array of objects.

network / core

listbanned

List all manually banned IPs/Subnets.

network / core

ping

Requests that a ping be sent to all other nodes, to measure ping time.

network / core

setban

Attempts to add or remove an IP/Subnet from the banned list.

network / core

analyzepsbt

Analyzes and provides information about the current status of a PSBT and its inputs

rawtransactions / core

Changed params/results since v30.2

combinepsbt

Combine multiple PSBTs into one transaction.

rawtransactions / core

combinerawtransaction

Combine multiple partially signed transactions into one transaction.

rawtransactions / core

converttopsbt

Converts a network serialized transaction to a PSBT. This should be used only with createrawtransaction and fundrawtransaction

rawtransactions / core

createpsbt

Creates a transaction in the Partially Signed Transaction format.

rawtransactions / core

createrawtransaction

Create a transaction spending the given inputs and creating new outputs.

rawtransactions / core

decodepsbt

Return a JSON object representing the serialized, base64-encoded PSBT.

rawtransactions / core

Changed params/results since v30.2

decoderawtransaction

Return a JSON object representing the serialized, hex-encoded transaction.

rawtransactions / core

decodescript

Decode a hex-encoded script.

rawtransactions / core

descriptorprocesspsbt

Update all segwit inputs in a PSBT with information from output descriptors, the UTXO set or the mempool.

rawtransactions / core

finalizepsbt

Finalize the inputs of a PSBT. If the transaction is fully signed, it will produce a

rawtransactions / core

fundrawtransaction

If the transaction has no inputs, they will be automatically selected to meet its out value.

rawtransactions / wallet

Wallet

getdefaultctvhash

Compute the BIP119-style default OP_CHECKTEMPLATEVERIFY hash for a serialized transaction input.

rawtransactions / core

New since v30.2

getrawtransaction

By default, this call only returns a transaction if it is in the mempool. If -txindex is enabled

rawtransactions / core

joinpsbts

Joins multiple distinct PSBTs with different inputs and outputs into one PSBT with inputs and outputs from all of the PSBTs

rawtransactions / core

sendrawtransaction

Submit a raw transaction (serialized, hex-encoded) to local node and network.

rawtransactions / core

signrawtransactionwithkey

Sign inputs for raw transaction (serialized, hex-encoded).

rawtransactions / core

Changed params/results since v30.2

submitpackage

Submit a package of raw transactions (serialized, hex-encoded) to local node.

rawtransactions / core

testmempoolaccept

Returns result of mempool acceptance tests indicating if raw transaction(s) (serialized, hex-encoded) would be accepted by mempool.

rawtransactions / core

utxoupdatepsbt

Updates all segwit inputs and outputs in a PSBT with data from output descriptors, the UTXO set, txindex, or the mempool.

rawtransactions / core

enumeratesigners

Returns a list of external signers from -signer.

signer / signer

Signer

createmultisig

Creates a multi-signature address with n signatures of m keys required.

util / core

deriveaddresses

Derives one or more addresses corresponding to an output descriptor.

util / core

estimatesmartfee

Estimates the approximate fee per kilobyte needed for a transaction to begin

util / core

getindexinfo

Returns the status of one or all available indices currently running in the node.

util / core

validateaddress

Return information about the given qbit address.

util / core

abandontransaction

Mark in-wallet transaction <txid> as abandoned

wallet / wallet

Wallet

abortrescan

Stops current wallet rescan triggered by an RPC call, e.g. by a rescanblockchain call.

wallet / wallet

Wallet

backupwallet

Safely copies the current wallet file to the specified destination, which can either be a directory or a path with a filename.

wallet / wallet

Wallet

bumpfee

Bumps the fee of a transaction T, replacing it with a new transaction B.

wallet / wallet

Wallet

createwallet

Creates and loads a new wallet.

wallet / wallet

Wallet

createwalletdescriptor

Creates the wallet's descriptor for the given address type. The address type must be one that the wallet does not already have a descriptor for. On P2MR-only chains, public P2MR descriptors are omitted from the result; use exportpubkeydb for watch-only P2MR exports.

wallet / wallet

Changed params/results since v30.2 Wallet

encryptwallet

Encrypts the wallet with 'passphrase'. This is for first time encryption.

wallet / wallet

Wallet

exportpubkeydb

Exports wallet P2MR pubkeys as an explicit-pubkey JSON database that can be imported into a watch-only wallet.

wallet / wallet

New since v30.2 Wallet

getaddressesbylabel

Returns the list of addresses assigned the specified label.

wallet / wallet

Wallet

getaddressinfo

Return information about the given qbit address.

wallet / wallet

Changed params/results since v30.2 Wallet

getbalance

Returns the total available balance.

wallet / wallet

Wallet

getbalances

Returns an object with all balances in QBT.

wallet / wallet

Wallet

gethdkeys

List all BIP 32 HD keys in the wallet and which descriptors use them.

wallet / wallet

Wallet

getnewaddress

Returns a new qbit address for receiving payments.

wallet / wallet

Wallet

getnextpubkeydbaddress

Returns the next allocatable imported P2MR pubkey-pool address for a watch-only wallet.

wallet / wallet

New since v30.2 Wallet

getreceivedbyaddress

Returns the total amount received by the given address in transactions with at least minconf confirmations.

wallet / wallet

Wallet

getreceivedbylabel

Returns the total amount received by addresses with <label> in transactions with at least [minconf] confirmations.

wallet / wallet

Wallet

gettransaction

Get detailed information about in-wallet transaction <txid>

wallet / wallet

Wallet

getwalletinfo

Returns an object containing various wallet state info.

wallet / wallet

Wallet

importdescriptors

Import descriptors. This will trigger a rescan of the blockchain based on the earliest timestamp of all descriptors being imported. Requires a new wallet backup.

wallet / wallet

Wallet

importprunedfunds

Imports funds without rescan. Corresponding address or script must previously be included in wallet. Aimed towards pruned wallets. The end-user is responsible to import additional transactions that subsequently spend the imported outputs or rescan after the point in the blockchain the transaction is included.

wallet / wallet

Wallet

importpubkeydb

Imports a JSON pubkey database into a watch-only wallet as P2MR descriptors.

wallet / wallet

New since v30.2 Wallet

keypoolrefill

Refills each descriptor keypool in the wallet up to the specified number of new keys.

wallet / wallet

Wallet

listaddressgroupings

Lists groups of addresses which have had their common ownership

wallet / wallet

Wallet

listdescriptors

List all descriptors present in a wallet.

wallet / wallet

Changed params/results since v30.2 Wallet

listlabels

Returns the list of all labels, or labels that are assigned to addresses with a specific purpose.

wallet / wallet

Wallet

listlockunspent

Returns list of temporarily unspendable outputs.

wallet / wallet

Wallet

listpubkeydbstatus

Reports imported P2MR pubkey-pool allocation status by account and chain.

wallet / wallet

New since v30.2 Wallet

listsinceblock

Get all transactions in blocks since block [blockhash], or all transactions if omitted.

wallet / wallet

Wallet

listtransactions

If a label name is provided, this will return only incoming transactions paying to addresses with the specified label.

wallet / wallet

Wallet

listunspent

Returns array of unspent transaction outputs

wallet / wallet

Wallet

listwalletdir

Returns a list of wallets in the wallet directory.

wallet / wallet

Wallet

listwallets

Returns a list of currently loaded wallets.

wallet / wallet

Wallet

loadwallet

Loads a wallet from a wallet file or directory.

wallet / wallet

Wallet

lockunspent

Updates list of temporarily unspendable outputs.

wallet / wallet

Wallet

migratewallet

Migrate the wallet to a descriptor wallet.

wallet / wallet

Wallet

psbtbumpfee

Bumps the fee of a transaction T, replacing it with a new transaction B.

wallet / wallet

Wallet

removeprunedfunds

Deletes the specified transaction from the wallet. Meant for use with pruned wallets and as a companion to importprunedfunds. This will affect wallet balances.

wallet / wallet

Wallet

rescanblockchain

Rescan the local blockchain for wallet related transactions.

wallet / wallet

Wallet

restorewallet

Restores and loads a wallet from backup.

wallet / wallet

Wallet

send

EXPERIMENTAL warning: this call may be changed in future releases.

wallet / wallet

Changed params/results since v30.2 Wallet

sendall

EXPERIMENTAL warning: this call may be changed in future releases.

wallet / wallet

Changed params/results since v30.2 Wallet

sendmany

Send multiple times. Amounts are double-precision floating point numbers.

wallet / wallet

Changed params/results since v30.2 Wallet

sendtoaddress

Send an amount to a given address.

wallet / wallet

Changed params/results since v30.2 Wallet

setlabel

Sets the label associated with the given address.

wallet / wallet

Wallet

settxfee

(DEPRECATED) Set the transaction fee rate in QBT/kvB for this wallet. Overrides the global -paytxfee command line parameter.

wallet / wallet

Wallet

setwalletflag

Change the state of the given wallet flag for a wallet.

wallet / wallet

Wallet

signmessage

Sign a message with the private key of an address

wallet / wallet

Wallet

signrawtransactionwithwallet

Sign inputs for raw transaction (serialized, hex-encoded).

wallet / wallet

Changed params/results since v30.2 Wallet

simulaterawtransaction

Calculate the balance change resulting in the signing and broadcasting of the given transaction(s).

wallet / wallet

Wallet

unloadwallet

Unloads the wallet referenced by the request endpoint or the wallet_name argument.

wallet / wallet

Wallet

walletcreatefundedpsbt

Creates and funds a transaction in the Partially Signed Transaction format.

wallet / wallet

Wallet

walletdisplayaddress

Display address on an external signer for verification.

wallet / wallet

Wallet Signer

walletlock

Removes the wallet encryption key from memory, locking the wallet.

wallet / wallet

Wallet

walletpassphrase

Stores the wallet decryption key in memory for 'timeout' seconds.

wallet / wallet

Wallet

walletpassphrasechange

Changes the wallet passphrase from 'oldpassphrase' to 'newpassphrase'.

wallet / wallet

Wallet

walletprocesspsbt

Update a PSBT with input information from our wallet and then sign inputs

wallet / wallet

Changed params/results since v30.2 Wallet