> For the complete documentation index, see [llms.txt](https://docs-rpc.crypto-chief.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs-rpc.crypto-chief.com/chains/xrp.md). Agents can also search and read this documentation through its [MCP server](https://docs-rpc.crypto-chief.com/~gitbook/mcp).

# XRP

XRP RPC on Crypto Chief — low-latency node access with a full method reference, endpoints, and ready-to-use request/response examples.

## XRP

<figure><img src="https://2009208810-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMsAt8nKCbZHDR0fe6EsD%2Fuploads%2Ffect40emERqUWPqsdlAt%2Fxrp.svg?alt=media&amp;token=baf93472-ea3d-4c77-80fc-6f963925bfb8" alt=""><figcaption></figcaption></figure>

> XRP API is available on [Web3 API platform](https://crypto-chief.com/rpc/xrp/).

*The XRP Ledger* (XRPL) is a decentralized Layer 1 blockchain optimized for fast, low-cost cross-border payments and asset tokenization. It uses the XRP Ledger Consensus Protocol (a federated Byzantine agreement variant) instead of proof-of-work or proof-of-stake, achieving 3-5 second finality at minimal cost. XRP is the native currency used to pay transaction fees and meet reserve requirements.

The XRPL node exposes a [JSON-RPC](https://www.jsonrpc.org/specification) interface (via the `rippled` daemon) with methods for account queries, order book access, payment path finding, ledger inspection, and transaction submission. All responses are returned in [JSON format](https://www.json.org/json-en.html).

#### Methods supported

***

**Account Methods**:

An account in the XRP Ledger represents a holder of XRP and a sender of transactions. Use these methods to work with account info.

* [`account_channels`](https://docs-rpc.crypto-chief.com/chains/xrp/account-methods.md#account_channels) — retrieves a list of payment channels where the account is the source of the channel.
* [`account_currencies`](https://docs-rpc.crypto-chief.com/chains/xrp/account-methods.md#account_currencies) — retrieves a list of currencies an account can send or receive.
* [`account_info`](https://docs-rpc.crypto-chief.com/chains/xrp/account-methods.md#account_info) — retrieves basic data on the account.
* [`account_lines`](https://docs-rpc.crypto-chief.com/chains/xrp/account-methods.md#account_lines) — retrieves info on the account's trust lines.
* [`account_nfts`](https://docs-rpc.crypto-chief.com/chains/xrp/account-methods-part-2.md#account_nfts) — retrieves a list of all NFTs for an account.
* [`account_objects`](https://docs-rpc.crypto-chief.com/chains/xrp/account-methods-part-2.md#account_objects) — retrieves all ledger objects owned by an account.
* [`account_offers`](https://docs-rpc.crypto-chief.com/chains/xrp/account-methods-part-2.md#account_offers) — retrieves info on the account's currency exchange offers.
* [`account_tx`](https://docs-rpc.crypto-chief.com/chains/xrp/account-methods-part-2.md#account_tx) — retrieves a list of transactions affecting an account.
* [`gateway_balances`](https://docs-rpc.crypto-chief.com/chains/xrp/account-methods-part-2.md#gateway_balances) — calculates total amounts issued by an account.
* [`noripple_check`](https://docs-rpc.crypto-chief.com/chains/xrp/account-methods-part-3.md#noripple_check) — gets recommended changes to an account's Default Ripple and No Ripple settings.

**Ledger Methods**:

A ledger version contains a header, a transaction tree, and a state tree, which contain account settings, trustlines, balances, transactions, and other data. Use these methods to retrieve ledger info.

* [`ledger`](https://docs-rpc.crypto-chief.com/chains/xrp/ledger-methods.md#ledger) — retrieves info on the ledger.
* [`ledger_closed`](https://docs-rpc.crypto-chief.com/chains/xrp/ledger-methods.md#ledger_closed) — retrieves the latest closed ledger version.
* [`ledger_current`](https://docs-rpc.crypto-chief.com/chains/xrp/ledger-methods.md#ledger_current) — retrieves the current working ledger version.
* [`ledger_data`](https://docs-rpc.crypto-chief.com/chains/xrp/ledger-methods.md#ledger_data) — retrieves the raw contents of a ledger version.
* [`ledger_entry`](https://docs-rpc.crypto-chief.com/chains/xrp/ledger-methods-part-2.md#ledger_entry) — retrieves a single item from a ledger version.

**Transaction Methods**:

Transactions are the only thing that can modify the shared state of the XRP Ledger. All business on the XRP Ledger takes the form of transactions. Use these methods to work with transactions.

* [`simulate`](https://docs-rpc.crypto-chief.com/chains/xrp/transaction-methods.md#simulate) — executes a dry run of any transaction type to preview results and metadata.
* [`submit`](https://docs-rpc.crypto-chief.com/chains/xrp/transaction-methods.md#submit) — sends a transaction to the network.
* [`submit_multisigned`](https://docs-rpc.crypto-chief.com/chains/xrp/transaction-methods.md#submit_multisigned) — sends a multi-signed transaction to the network.
* [`transaction_entry`](https://docs-rpc.crypto-chief.com/chains/xrp/transaction-methods.md#transaction_entry) — retrieves info on the transaction from a particular ledger version.
* [`tx`](https://docs-rpc.crypto-chief.com/chains/xrp/transaction-methods-part-2.md#tx) — retrieves info on the transaction from all the ledgers at hand.
* [`tx_history`](https://docs-rpc.crypto-chief.com/chains/xrp/transaction-methods-part-2.md#tx_history) — retrieves info on all recent transactions.

**Path and Order Book Methods**:

Paths define a way for payments to flow through intermediary steps on their way from sender to receiver. Paths enable cross-currency payments by connecting sender and receiver through order books. Use these methods to work with paths and other books.

* [`amm_info`](https://docs-rpc.crypto-chief.com/chains/xrp/path-and-order-book-methods.md#amm_info) — retrieves info on the Automated Market Maker (AMM) instance.
* [`book_changes`](https://docs-rpc.crypto-chief.com/chains/xrp/path-and-order-book-methods.md#book_changes) — retrieves information on order book changes.
* [`book_offers`](https://docs-rpc.crypto-chief.com/chains/xrp/path-and-order-book-methods.md#book_offers) — retrieves info on the currency exchange offers.
* [`deposit_authorized`](https://docs-rpc.crypto-chief.com/chains/xrp/path-and-order-book-methods.md#deposit_authorized) — checks whether an account is authorized to send money directly to another account.
* [`get_aggregate_price`](https://docs-rpc.crypto-chief.com/chains/xrp/path-and-order-book-methods-part-2.md#get_aggregate_price) — calculates the aggregate price of specified Oracle instances.
* [`nft_buy_offers`](https://docs-rpc.crypto-chief.com/chains/xrp/path-and-order-book-methods-part-2.md#nft_buy_offers) — retrieves a list of all buy offers for the NFT specified.
* [`nft_sell_offers`](https://docs-rpc.crypto-chief.com/chains/xrp/path-and-order-book-methods-part-2.md#nft_sell_offers) — retrieves a list of all sell offers for the NFT specified.
* [`ripple_path_find`](https://docs-rpc.crypto-chief.com/chains/xrp/path-and-order-book-methods-part-2.md#ripple_path_find) — finds a path for payment between two accounts, once.

**Payment Channel Methods**:

Payment channels are a tool for facilitating repeated, unidirectional payments, or temporary credit between two parties. Use these methods to work with payment channels.

* [`channel_verify`](https://docs-rpc.crypto-chief.com/chains/xrp/path-and-order-book-methods-part-2.md#channel_verify) — checks a payment channel claim's signature.

**Server Info Methods**:

Use these methods to retrieve information about the current state of the rippled server.

* [`fee`](https://docs-rpc.crypto-chief.com/chains/xrp/server-info-methods.md#fee) — retrieves information on the transaction cost.
* [`feature`](https://docs-rpc.crypto-chief.com/chains/xrp/server-info-methods.md#feature) — retrieves information on the protocol amendments.
* [`manifest`](https://docs-rpc.crypto-chief.com/chains/xrp/server-info-methods.md#manifest) — retrieves public information on a known validator.
* [`server_definitions`](https://docs-rpc.crypto-chief.com/chains/xrp/server-info-methods.md#server_definitions) — retrieves an SDK-compatible `definitions.json`, generated from the `rippled` instance currently running.
* [`server_info (rippled)`](https://docs-rpc.crypto-chief.com/chains/xrp/server-info-methods.md#server_info-rippled) — retrieves status of the server in human-readable format.
* [`server_state`](https://docs-rpc.crypto-chief.com/chains/xrp/server-info-methods-part-2.md#server_state) — retrieves status of the server in machine-readable format.
* [`version`](https://docs-rpc.crypto-chief.com/chains/xrp/server-info-methods-part-2.md#version) — retrieves API version information.

**Clio Methods**:

These API methods are provided only by the Clio server, not `rippled`.

* [`server_info`](https://docs-rpc.crypto-chief.com/chains/xrp/server-info-methods-part-2.md#server_info) — retrieves status of the Clio server in human-readable format.
* [`ledger`](https://docs-rpc.crypto-chief.com/chains/xrp/ledger-methods-part-3.md#ledger) — retrieves info on the ledger version.
* [`mpt_holders`](https://docs-rpc.crypto-chief.com/chains/xrp/ledger-methods-part-3.md#mpt_holders) — retrieves the holders of a given MPT issuance for a given ledger.
* [`version`](https://docs-rpc.crypto-chief.com/chains/xrp/server-info-methods-part-2.md#version-1) — retrieves API version information.

**Utility Methods**:

Use these methods to perform convenient tasks, such as ping and random number generation.

* [`ping`](https://docs-rpc.crypto-chief.com/chains/xrp/server-info-methods-part-2.md#ping) — confirms connectivity with the server.
* [`random`](https://docs-rpc.crypto-chief.com/chains/xrp/server-info-methods-part-2.md#random) — generates a random number.

***

**Account Methods**:

An account in the XRP Ledger represents a holder of XRP and a sender of transactions. Use these methods to work with account info.

#### In this section

* [Account methods](https://docs-rpc.crypto-chief.com/chains/xrp/account-methods.md)
* [Account methods (part 2)](https://docs-rpc.crypto-chief.com/chains/xrp/account-methods-part-2.md)
* [Account methods (part 3)](https://docs-rpc.crypto-chief.com/chains/xrp/account-methods-part-3.md)
* [Ledger methods](https://docs-rpc.crypto-chief.com/chains/xrp/ledger-methods.md)
* [Ledger methods (part 2)](https://docs-rpc.crypto-chief.com/chains/xrp/ledger-methods-part-2.md)
* [ledger\_entry](https://docs-rpc.crypto-chief.com/chains/xrp/ledger_entry.md)
* [ledger\_entry (part 2)](https://docs-rpc.crypto-chief.com/chains/xrp/ledger_entry-part-2.md)
* [Ledger methods (part 3)](https://docs-rpc.crypto-chief.com/chains/xrp/ledger-methods-part-3.md)
* [Transaction methods](https://docs-rpc.crypto-chief.com/chains/xrp/transaction-methods.md)
* [Transaction methods (part 2)](https://docs-rpc.crypto-chief.com/chains/xrp/transaction-methods-part-2.md)
* [Path and order book methods](https://docs-rpc.crypto-chief.com/chains/xrp/path-and-order-book-methods.md)
* [Path and order book methods (part 2)](https://docs-rpc.crypto-chief.com/chains/xrp/path-and-order-book-methods-part-2.md)
* [Server info methods](https://docs-rpc.crypto-chief.com/chains/xrp/server-info-methods.md)
* [Server info methods (part 2)](https://docs-rpc.crypto-chief.com/chains/xrp/server-info-methods-part-2.md)
