Parameters
The account_channels request object.
The XRP Ledger account for which payment channels information is requested
The destination account for filtering the payment channels associated with it
The ledger index to retrieve the payment channel information from
Returns
An object with the following fields:
The XRP Ledger account for which the payment channels information is provided
A list of payment channels associated with the account
The XRP Ledger account
The amount of XRP allocated
The current balance
The channel ID
The destination account
The public key
The hexadecimal representation of the public key
The settlement delay
The maximum number of payment channels returned
The hash of the ledger containing the payment channel information
The index of the ledger containing the payment channel information
Indicates if the information is from a validated ledger
The status of the request
(Optional) A list of warnings. Returned at the JSON-RPC response root on some servers and omitted from the result object
The ID of the warning
The warning message
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}