Update docs/references/http-websocket-apis/public-api-methods/account-methods/account_channels.md

Co-authored-by: Rome Reginelli <rome@ripple.com>
This commit is contained in:
Maria Shodunke
2025-10-10 12:19:19 +01:00
committed by GitHub
parent 26713099cf
commit b93691a4c4

View File

@@ -174,8 +174,8 @@ Each Channel Object has the following fields:
| Field | Type | Description |
|:----------------------|:-----------------|:----------------------------------|
| `account` | String | The owner of the channel, as an [Address][]. |
| `amount` | Object or String | The total amount of [XRP, in drops][] allocated to this channel. |
| `balance` | String | The total amount of [XRP, in drops][] paid out from this channel, as of the ledger version used. (You can calculate the amount left in the channel by subtracting `balance` from `amount`.) |
| `amount` | String - Number | The total amount of [XRP, in drops][] allocated to this channel. |
| `balance` | String - Number | The total amount of [XRP, in drops][] paid out from this channel, as of the ledger version used. (You can calculate the amount left in the channel by subtracting `balance` from `amount`.) |
| `channel_id` | String | A unique ID for this channel, as a 64-character hexadecimal string. This is also the [ID of the channel object](../../../protocol/ledger-data/ledger-entry-types/paychannel.md#paychannel-id-format) in the ledger's state data. |
| `destination_account` | String | The destination account of the channel, as an [Address][]. Only this account can receive the `amount` in the channel while it is open. |
| `settle_delay` | Unsigned Integer | The number of seconds the payment channel must stay open after the owner of the channel requests to close it. |