Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Methods

Seven JSON-RPC methods are exposed. Each method has its own page with parameters, return shape, error codes, and a try-it widget that runs the call against a live community node.

MethodPurpose
get_block_heightCurrent chain tip
get_blockBlock header + txid list by height or hash
get_transactionLook up a transaction by txid
get_balanceSpendable balance of an address
get_address_utxosItemize unspent outputs of an address
get_script_utxosItemize UTXOs locked by a non-address script
send_raw_transactionBroadcast a signed transaction