wss://honeycluster.ioaccount_channelsReturns information about the payment channels owned by the specified account, optionally filtered by destination.
{
"result": {
"account": "rG1QQv2nh2gr7RCZ1P8YYcBUKCCN633jCn",
"channels": [
{
"account": "rG1QQv2nh2gr7RCZ1P8YYcBUKCCN633jCn",
"amount": "100000000",
"balance": "0",
"channel_id": "5DB01B7FFED6B67E6B0414DED11E051D2EE2B7619CE0EAA6286D67A3A4D5BDB3",
"destination_account": "rPT1Sjq2YGrBMTttX4GZHjKu9dyfzbpAYe",
"settle_delay": 86400
}
],
"ledger_index": 89012345
},
"status": "success",
"type": "response",
"id": 1
}| Field | Type | Description |
|---|---|---|
commandrequired | string | WebSocket command name |
id | object | Client-supplied identifier to correlate requests with responses. |
account | string | The account that is the source (owner) of the payment channels to retrieve. |
destination_account | string | Filter channels by destination account address. |
ledger_index | object | A ledger index (sequence number) or shortcut string identifying which ledger to use. |
ledger_hash | string | 256-bit hex hash identifying a specific ledger version. |
limit | integer | Limit the number of payment channels returned. Default varies by server. |
marker | object | Opaque pagination marker from a previous response. Pass unchanged to fetch the next page. |
api_version | object | API version for the response format. Version 2 is the default for rippled 2.0+. |
{
"command": "account_channels",
"id": 1,
"account": "rG1QQv2nh2gr7RCZ1P8YYcBUKCCN633jCn",
"destination_account": "rPT1Sjq2YGrBMTttX4GZHjKu9dyfzbpAYe",
"ledger_index": "validated"
}| Field | Type | Description |
|---|---|---|
result | object | |
status | enum<string> | Available successerror |
type | string | |
id | stringnumber | Echo of the client-provided correlation ID |
{
"result": {
"account": "rG1QQv2nh2gr7RCZ1P8YYcBUKCCN633jCn",
"channels": [
{
"account": "rG1QQv2nh2gr7RCZ1P8YYcBUKCCN633jCn",
"amount": "100000000",
"balance": "0",
"channel_id": "5DB01B7FFED6B67E6B0414DED11E051D2EE2B7619CE0EAA6286D67A3A4D5BDB3",
"destination_account": "rPT1Sjq2YGrBMTttX4GZHjKu9dyfzbpAYe",
"settle_delay": 86400
}
],
"ledger_index": 89012345
},
"status": "success",
"type": "response",
"id": 1
}