Utility RPC Methods
Utility RPCs provide various helper functions including address validation, message signing, descriptor utilities, and fee estimation.Address Validation
validateaddress
Validates a Bitcoin address and returns information about it.Whether address is valid
The validated bitcoin address
Hex-encoded scriptPubKey
Whether address is a script address
Whether address is a witness address
Witness version (0 for P2WPKH/P2WSH, 1 for P2TR)
Hex-encoded witness program
This RPC only validates the address format. For wallet-specific information (like ownership), use the wallet’s
getaddressinfo RPC.Message Signing
signmessagewithprivkey
Signs a message with a private key.Base64-encoded signature
verifymessage
Verifies a signed message.Whether signature is valid
Descriptor Utilities
getdescriptorinfo
Analyzes a descriptor and returns information about it.Canonical descriptor with computed checksum
Checksum for the descriptor
Whether descriptor is ranged
Whether descriptor is solvable
Whether descriptor has private keys
deriveaddresses
Derives addresses from a descriptor.Array of derived Bitcoin addresses
Fee Estimation
estimatesmartfee
Estimates the fee rate needed for confirmation within target blocks.Estimated fee rate in BTC/kvB
Block number where estimate was found
Array of error messages (if any)
Fee estimation requires the node to have observed sufficient transaction history. New nodes may not have enough data for accurate estimates.
Data Encoding
createrawtransaction
Creates a raw transaction (hex-encoded).Hex-encoded raw transaction
decoderawtransaction
Decodes a raw transaction to JSON.decodescript
Decodes a hex-encoded script.Script assembly representation
Script type (e.g., pubkeyhash, scripthash, witness_v0_keyhash)
Required signatures (deprecated)
Array of bitcoin addresses (deprecated)
P2SH address for this script
Segwit-specific information
PSBT Utilities
decodepsbt
Decodes a PSBT (Partially Signed Bitcoin Transaction) to JSON.- Transaction details
- Input metadata (UTXOs, signatures, derivation paths)
- Output metadata
- Unknown fields
combinepsbt
Combines multiple PSBTs into one.Combined PSBT (base64)
finalizepsbt
Finalizes a PSBT if possible.Base64-encoded PSBT (if not extracted or not complete)
Hex-encoded network transaction (if complete and extracted)
Whether transaction is complete
analyzepsbt
Analyzes a PSBT and provides information about what is missing.Analysis of each input (missing signatures, pubkeys, etc.)
Estimated virtual size of final transaction
Estimated feerate (BTC/kvB)
Transaction fee in BTC
Role of next signer: signer, finalizer, extractor
Miscellaneous
getindexinfo
Returns status of optional indices.Whether index is synced to chain tip
Height index is synced to
logging
Gets and sets logging configuration.net: Network messagestor: Tor connection infomempool: Mempool operationshttp: HTTP serverbench: Benchmarkingzmq: ZMQ notificationswalletdb: Wallet database operationsrpc: RPC callsestimatefee: Fee estimationaddrman: Address managerselectcoins: Coin selectionvalidation: Block/transaction validation- And more…
uptime
Returns the total uptime of the server in seconds.Server uptime in seconds