XRP

📘

See the XRP RPC API connection guide.

account

MethodNotesCompute Unit Value
account_channelsReturns payment channels for which an account is the source.5
account_currenciesReturns currencies an account can send or receive.10
account_infoReturns basic ledger data for an account.5
account_linesReturns an account's trust lines.10
account_nftsReturns NFTs owned by an account.10
account_objectsReturns ledger objects owned by an account.50
account_offersReturns an account's currency-exchange offers.50
account_txReturns transactions involving an account.50
gateway_balancesCalculates balances issued by an account.10
noripple_checkReturns recommended Default Ripple and No Ripple setting changes.5

ledger

MethodNotesCompute Unit Value
ledgerReturns information about a ledger version.10
ledger_closedReturns the latest closed ledger index.1
ledger_currentReturns the current working ledger index.1
ledger_dataReturns raw contents of a ledger version.10
ledger_entryReturns one ledger entry from a ledger version.10

transaction

MethodNotesCompute Unit Value
submitSubmits a transaction to the network.50
submit_multisignedSubmits a multisigned transaction to the network.50
transaction_entryReturns a transaction from a specified ledger version.5
txReturns a transaction from the server's available ledgers.5

path and order book

MethodNotesCompute Unit Value
book_offersReturns offers to exchange one currency for another.5
deposit_authorizedReturns whether one account may send payments directly to another.5
nft_buy_offersReturns buy offers for an NFToken.10
nft_sell_offersReturns sell offers for an NFToken.10
path_findFinds payment paths and streams path updates.5
ripple_path_findFinds payment paths once between two accounts.10

payment channel

MethodNotesCompute Unit Value
channel_authorizeSigns a claim for funds in a payment channel.10
channel_verifyVerifies a payment-channel claim signature.10