Skip to main content

account_channels RPC Method

Returns information about the Payment Channels associated with XRP Ledger account

Updated on
Jun 11, 2026

Parameters

object
object
REQUIRED

The account_channels request object.

account
string
REQUIRED

The XRP Ledger account for which payment channels information is requested

destination_account
string

The destination account for filtering the payment channels associated with it

ledger_index
string

The ledger index to retrieve the payment channel information from

Returns

result
object

An object with the following fields:

account
string

The XRP Ledger account for which the payment channels information is provided

channels
array

A list of payment channels associated with the account

account
string

The XRP Ledger account

amount
integer

The amount of XRP allocated

balance
integer

The current balance

channel_id
string

The channel ID

destination_account
string

The destination account

public_key
string

The public key

public_key_hex
string

The hexadecimal representation of the public key

settle_delay
integer

The settlement delay

limit
integer

The maximum number of payment channels returned

ledger_hash
string

The hash of the ledger containing the payment channel information

ledger_index
integer

The index of the ledger containing the payment channel information

validated
boolean

Indicates if the information is from a validated ledger

status
string

The status of the request

warnings
array

(Optional) A list of warnings. Returned at the JSON-RPC response root on some servers and omitted from the result object

id
integer

The ID of the warning

message
string

The warning message

Request
Response
1
{
2
"result": {
3
"account": "r4AZpDKVoBxVcYUJCWMcqZzyWsHTteC4ZE",
4
"ledger_hash": "FE51E76B5948B60B847B5A1ECFF57C1EAF0FACDE7E408D5A1BEB1648F0D80E96",
5
"ledger_index": 102609803,
6
"validated": true,
7
"limit": 200,
8
"channels": [],
9
"status": "success"
10
},
11
"warnings": [
12
{
13
"id": 2001,
14
"message": "This is a clio server. clio only serves validated data. If you want to talk to rippled, include 'ledger_index':'current' in your request"
15
}
16
]
17
}
1
{
2
"result": {
3
"account": "r4AZpDKVoBxVcYUJCWMcqZzyWsHTteC4ZE",
4
"ledger_hash": "FE51E76B5948B60B847B5A1ECFF57C1EAF0FACDE7E408D5A1BEB1648F0D80E96",
5
"ledger_index": 102609803,
6
"validated": true,
7
"limit": 200,
8
"channels": [],
9
"status": "success"
10
},
11
"warnings": [
12
{
13
"id": 2001,
14
"message": "This is a clio server. clio only serves validated data. If you want to talk to rippled, include 'ledger_index':'current' in your request"
15
}
16
]
17
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free