📄️ Block Chain RPC API Reference
Blockchain RPC API reference of Bitgesell
📄️ getbestblockhash
getblockhash
📄️ getbestblockhash
getbestblockhash
📄️ getblock
getblock("blockhash", { verbosity })
📄️ getblockchaininfo
getblockchaininfo
📄️ getblockhash
Returns the hash of block at the block chain height provided
📄️ getblockcount
Returns the block height of the most updated/synced working chain.
📄️ getblockfilter
Retrieve a BIP 157 content filter for a particular block.
📄️ getblockheader
Returns hex-encoded data for blockheader hash
📄️ getblockstats
getblockstats hashorheight ( stats )
📄️ getchaintips
getchaintips
📄️ getchaintxstats
getchaintxstats ( nblocks "blockhash" )
📄️ getdifficulty
getdifficulty
📄️ getmempoolancestors
getmempoolancestors "txid" ( verbose )
📄️ getmempooldescendants
getmempooldescendants "txid" ( verbose )
📄️ getmempoolentry
getmempoolentry "txid"
📄️ getmempoolinfo
getmempoolinfo
📄️ getrawmempool
getrawmempool ( verbose mempool_sequence )
📄️ gettxout
gettxout "txid" n ( include_mempool )
📄️ gettxoutproof
gettxoutproof ["txid",...] ( "blockhash" )
📄️ gettxoutsetinfo
gettxoutsetinfo ( "hash_type" )
📄️ preciousblock
preciousblock "blockhash"
📄️ pruneblockchain
pruneblockchain height
📄️ savemempool
savemempool
📄️ scantxoutset
scantxoutset "action" ( [scanobjects,...] )
📄️ verifychain
verifychain ( checklevel nblocks )
📄️ verifytxoutproof
verifytxoutproof "proof"
📄️ getmemoryinfo
getmemoryinfo ( "mode" )
📄️ getrpcinfo
getrpcinfo
📄️ help
help ( "command" )
📄️ logging
logging ( ["includecategory",...] ["excludecategory",...] )
📄️ stop
stop
📄️ uptime
uptime
📄️ generateblock
generateblock "output" ["rawtx/txid",...]
📄️ generatetoaddress
generatetoaddress nblocks "address" ( maxtries )
📄️ generatetodescriptor
generatetodescriptor num_blocks "descriptor" ( maxtries )
📄️ getblocktemplate
getblocktemplate ( "template_request" )
📄️ getmininginfo
getmininginfo
📄️ getnetworkhashps
getnetworkhashps ( nblocks height )
📄️ prioritisetransaction
prioritisetransaction "txid" ( dummy ) fee_delta
📄️ submitblock
submitblock "hexdata" ( "dummy" )
📄️ submitheader
submitheader "hexdata"
📄️ addnode
addnode "node" "command"
📄️ clearbanned
clearbanned
📄️ disconnectnode
disconnectnode ( "address" nodeid )
📄️ getaddednodeinfo
getaddednodeinfo ( "node" )
📄️ getconnectioncount
getconnectioncount
📄️ getnettotals
getnettotals
📄️ getnetworkinfo
getnetworkinfo
📄️ getnodeaddresses
getnodeaddresses ( count )
📄️ getpeerinfo
getpeerinfo
📄️ listbanned
listbanned
📄️ ping
ping
📄️ setban
setban "subnet" "command" ( bantime absolute )
📄️ setnetworkactive
setnetworkactive state
📄️ analyzepsbt
analyzepsbt "psbt"
📄️ combinepsbt
combinepsbt ["psbt",...]
📄️ combinerawtransaction
combinerawtransaction ["hexstring",...]
📄️ converttopsbt
converttopsbt "hexstring" ( permitsigdata iswitness )
📄️ createpsbt
createpsbt [{"txid"n,"sequence"amount},{"data":"hex"},...] ( locktime replaceable )
📄️ createrawtransaction
createrawtransaction [{"txid"n,"sequence"amount},{"data":"hex"},...] ( locktime replaceable )
📄️ decodepsbt
decodepsbt "psbt"
📄️ decoderawtransaction
decoderawtransaction "hexstring" ( iswitness )
📄️ decodescript
decodescript "hexstring"
📄️ finalizepsbt
finalizepsbt "psbt" ( extract )
📄️ fundrawtransaction
fundrawtransaction "hexstring" ( options iswitness )
📄️ getrawtransaction
getrawtransaction "txid" ( verbose "blockhash" )
📄️ joinpsbts
joinpsbts ["psbt",...]
📄️ sendrawtransaction
sendrawtransaction "hexstring" ( maxfeerate )
📄️ signrawtransactionwithkey
signrawtransactionwithkey "hexstring" ["privatekey",...] ( [{"txid"n,"scriptPubKey""hex","witnessScript"amount},...] "sighashtype" )
📄️ testmempoolaccept
testmempoolaccept ["rawtx",...] ( maxfeerate )
📄️ utxoupdatepsbt
utxoupdatepsbt "psbt" ( ["",{"desc"n or [n,n]},...] )
📄️ createmultisig
createmultisig nrequired ["key",...] ( "address_type" )
📄️ deriveaddresses
deriveaddresses "descriptor" ( range )
📄️ estimatesmartfee
estimatesmartfee conftarget ( "estimatemode" )
📄️ getdescriptorinfo
getdescriptorinfo "descriptor"
📄️ getindexinfo
getindexinfo ( "index_name" )
📄️ signmessagewithprivkey
signmessagewithprivkey "privkey" "message"
📄️ validateaddress
validateaddress "address"
📄️ verifymessage
verifymessage "address" "signature" "message"
📄️ abandontransaction
abandontransaction "txid"
📄️ abortrescan
abortrescan
📄️ addmultisigaddress
addmultisigaddress nrequired ["key",...] ( "label" "address_type" )
📄️ backupwallet
backupwallet "destination"
📄️ bumpfee
bumpfee "txid" ( options )
📄️ createwallet
createwallet "walletname" ( disableprivatekeys blank "passphrase" avoidreuse descriptors loadonstartup )
📄️ dumpprivkey
dumpprivkey "address"
📄️ dumpwallet
dumpwallet "filename"
📄️ encryptwallet
encryptwallet "passphrase"
📄️ getaddressesbylabel
getaddressesbylabel "label"
📄️ getaddressinfo
getaddressinfo "address"
📄️ getbalance
getbalance ( "dummy" minconf includewatchonly avoidreuse )
📄️ getbalances
getbalances
📄️ getnewaddress
getnewaddress ( "label" "address_type" )
📄️ getrawchangeaddress
getrawchangeaddress ( "address_type" )
📄️ getreceivedbyaddress
getreceivedbyaddress "address" ( minconf )
📄️ getreceivedbylabel
getreceivedbylabel "label" ( minconf )
📄️ gettransaction
gettransaction "txid" ( include_watchonly verbose )
📄️ getunconfirmedbalance
getunconfirmedbalance
📄️ getwalletinfo
getwalletinfo
📄️ importaddress
importaddress "address" ( "label" rescan p2sh )
📄️ importdescriptors
importdescriptors "requests"
📄️ importmulti
importmulti "requests" ( "options" )
📄️ importprivkey
importprivkey "privkey" ( "label" rescan )
📄️ importprunedfunds
importprunedfunds "rawtransaction" "txoutproof"
📄️ importpubkey
importpubkey "pubkey" ( "label" rescan )
📄️ importwallet
importwallet "filename"
📄️ keypoolrefill
keypoolrefill ( newsize )
📄️ listaddressgroupings
listaddressgroupings
📄️ listlabels
listlabels ( "purpose" )
📄️ listlockunspent
listlockunspent
📄️ listreceivedbyaddress
listreceivedbyaddress ( minconf includeempty includewatchonly "address_filter" )
📄️ listreceivedbylabel
listreceivedbylabel ( minconf includeempty includewatchonly )
📄️ listsinceblock
listsinceblock ( "blockhash" targetconfirmations includewatchonly include_removed )
📄️ listtransactions
listtransactions ( "label" count skip include_watchonly )
📄️ listunspent
listunspent ( minconf maxconf ["address",...] includeunsafe queryoptions )
📄️ listwalletdir
listwalletdir
📄️ listwallets
listwallets
📄️ loadwallet
loadwallet "filename" ( loadonstartup )
📄️ lockunspent
lockunspent unlock ( [{"txid"n},...] )
📄️ psbtbumpfee
psbtbumpfee "txid" ( options )
📄️ removeprunedfunds
removeprunedfunds "txid"
📄️ rescanblockchain
rescanblockchain ( startheight stopheight )
📄️ send
send [{"address""hex"},...] ( conftarget "estimatemode" fee_rate options )
📄️ sendmany
sendmany "" {"address":amount} ( minconf "comment" ["address",...] replaceable conftarget "estimatemode" fee_rate verbose )
📄️ sendtoaddress
sendtoaddress "address" amount ( "comment" "commentto" subtractfeefromamount replaceable conftarget "estimatemode" avoidreuse fee_rate verbose )
📄️ sethdseed
sethdseed ( newkeypool "seed" )
📄️ setlabel
setlabel "address" "label"
📄️ settxfee
settxfee amount
📄️ setwalletflag
setwalletflag "flag" ( value )
📄️ signmessage
signmessage "address" "message"
📄️ signrawtransactionwithwallet
signrawtransactionwithwallet "hexstring" ( [{"txid"n,"scriptPubKey""hex","witnessScript"amount},...] "sighashtype" )
📄️ unloadwallet
unloadwallet ( "walletname" loadon_startup )
📄️ upgradewallet
upgradewallet ( version )
📄️ walletcreatefundedpsbt
walletcreatefundedpsbt ( [{"txid"n,"sequence"amount},{"data":"hex"},...] ( locktime options bip32derivs )
📄️ walletlock
walletlock
📄️ walletpassphrase
walletpassphrase "passphrase" timeout
📄️ walletpassphrasechange
walletpassphrasechange "oldpassphrase" "newpassphrase"
📄️ walletprocesspsbt
walletprocesspsbt "psbt" ( sign "sighashtype" bip32derivs )