Wallet RPCs
60 methods in this category, with 4 new, 9 params/results changed, 0 behavior changed, and 47 unchanged since v30.2.
abandontransaction
Mark in-wallet transaction <txid> as abandoned
Wallet
abortrescan
Stops current wallet rescan triggered by an RPC call, e.g. by a rescanblockchain call.
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
bumpfee
Bumps the fee of a transaction T, replacing it with a new transaction B.
Wallet
createwallet
Creates and loads a new 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.
Changed params/results since v30.2 Wallet
encryptwallet
Encrypts the wallet with 'passphrase'. This is for first time encryption.
Wallet
exportpubkeydb
Exports wallet P2MR pubkeys as an explicit-pubkey JSON database that can be imported into a watch-only wallet.
New since v30.2 Wallet
getaddressesbylabel
Returns the list of addresses assigned the specified label.
Wallet
getaddressinfo
Return information about the given qbit address.
Changed params/results since v30.2 Wallet
getbalance
Returns the total available balance.
Wallet
getbalances
Returns an object with all balances in QBT.
Wallet
gethdkeys
List all BIP 32 HD keys in the wallet and which descriptors use them.
Wallet
getnewaddress
Returns a new qbit address for receiving payments.
Wallet
getnextpubkeydbaddress
Returns the next allocatable imported P2MR pubkey-pool address for a watch-only wallet.
New since v30.2 Wallet
getrawchangeaddress
Returns a new qbit address, for receiving change.
Wallet
getreceivedbyaddress
Returns the total amount received by the given address in transactions with at least minconf confirmations.
Wallet
getreceivedbylabel
Returns the total amount received by addresses with <label> in transactions with at least [minconf] confirmations.
Wallet
gettransaction
Get detailed information about in-wallet transaction <txid>
Wallet
getwalletinfo
Returns an object containing various wallet state info.
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
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
importpubkeydb
Imports a JSON pubkey database into a watch-only wallet as P2MR descriptors.
New since v30.2 Wallet
keypoolrefill
Refills each descriptor keypool in the wallet up to the specified number of new keys.
Wallet
listaddressgroupings
Lists groups of addresses which have had their common ownership
Wallet
listdescriptors
List all descriptors present in a 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
listlockunspent
Returns list of temporarily unspendable outputs.
Wallet
listpubkeydbstatus
Reports imported P2MR pubkey-pool allocation status by account and chain.
New since v30.2 Wallet
listreceivedbyaddress
List balances by receiving address.
Wallet
listreceivedbylabel
List received transactions by label.
Wallet
listsinceblock
Get all transactions in blocks since block [blockhash], or all transactions if omitted.
Wallet
listtransactions
If a label name is provided, this will return only incoming transactions paying to addresses with the specified label.
Wallet
listunspent
Returns array of unspent transaction outputs
Wallet
listwalletdir
Returns a list of wallets in the wallet directory.
Wallet
listwallets
Returns a list of currently loaded wallets.
Wallet
loadwallet
Loads a wallet from a wallet file or directory.
Wallet
lockunspent
Updates list of temporarily unspendable outputs.
Wallet
migratewallet
Migrate the wallet to a descriptor wallet.
Wallet
psbtbumpfee
Bumps the fee of a transaction T, replacing it with a new transaction B.
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
rescanblockchain
Rescan the local blockchain for wallet related transactions.
Wallet
restorewallet
Restores and loads a wallet from backup.
Wallet
send
EXPERIMENTAL warning: this call may be changed in future releases.
Changed params/results since v30.2 Wallet
sendall
EXPERIMENTAL warning: this call may be changed in future releases.
Changed params/results since v30.2 Wallet
sendmany
Send multiple times. Amounts are double-precision floating point numbers.
Changed params/results since v30.2 Wallet
sendtoaddress
Send an amount to a given address.
Changed params/results since v30.2 Wallet
setlabel
Sets the label associated with the given address.
Wallet
settxfee
(DEPRECATED) Set the transaction fee rate in QBT/kvB for this wallet. Overrides the global -paytxfee command line parameter.
Wallet
setwalletflag
Change the state of the given wallet flag for a wallet.
Wallet
signmessage
Sign a message with the private key of an address
Wallet
signrawtransactionwithwallet
Sign inputs for raw transaction (serialized, hex-encoded).
Changed params/results since v30.2 Wallet
simulaterawtransaction
Calculate the balance change resulting in the signing and broadcasting of the given transaction(s).
Wallet
unloadwallet
Unloads the wallet referenced by the request endpoint or the wallet_name argument.
Wallet
walletcreatefundedpsbt
Creates and funds a transaction in the Partially Signed Transaction format.
Wallet
walletdisplayaddress
Display address on an external signer for verification.
Wallet Signer
walletlock
Removes the wallet encryption key from memory, locking the wallet.
Wallet
walletpassphrase
Stores the wallet decryption key in memory for 'timeout' seconds.
Wallet
walletpassphrasechange
Changes the wallet passphrase from 'oldpassphrase' to 'newpassphrase'.
Wallet
walletprocesspsbt
Update a PSBT with input information from our wallet and then sign inputs
Changed params/results since v30.2 Wallet