Skip to main content

RPC Reference

Bitcoin Knots includes all Bitcoin Core RPC commands plus additional Knots-specific commands.

Blockchain

CommandDescription
getblockchaininfoBlockchain state info
getblockGet block data
getblockhashGet block hash by height
getblockcountCurrent block height
getblocklocationsBlock file locations (Knots)
getblockfileinfoBlock file details (Knots)

Mempool

CommandDescription
getmempoolinfoMempool statistics (enhanced in Knots)
getrawmempoolList mempool transactions
listmempooltxsList mempool txs (Knots)
getmempoolentryMempool entry details

Network

CommandDescription
getnetworkinfoNetwork state
getpeerinfoConnected peers (enhanced)
addnodeAdd peer
disconnectnodeDisconnect peer
getrpcwhitelistRPC whitelist info (Knots)

Wallet

CommandDescription
createwalletCreate wallet
loadwalletLoad wallet
getnewaddressGenerate address
getbalanceWallet balance
sendtoaddressSend bitcoin
sweepprivkeysSweep private keys (Knots)
dumpmasterprivkeyDump master key (Knots)

Mining

CommandDescription
getblocktemplateBlock template (enhanced)
getmininginfoMining info

Fee Estimation

CommandDescription
estimatesmartfeeFee estimation
savefeeestimatesSave estimates (Knots)

Utility

CommandDescription
getgeneralinfoGeneral node info (Knots)
validateaddressValidate address
signmessageSign message (BIP-322 enhanced)
verifymessageVerify message (multi-format)

Getting Help

List all commands:

bitcoin-cli help

Get help for a command:

bitcoin-cli help getblockchaininfo

See Also