# AccountChannelsRequest | xrpl
Documentation for xrpl

# Interface AccountChannelsRequest

The account_channels method returns information about an account's Payment Channels. This includes only channels where the specified account is the channel's source, not the destination. (A channel's "source" and "owner" are the same.) All information retrieved is relative to a particular version of the ledger. Returns an AccountChannelsResponse.

#### Hierarchy

- BaseRequest
  - AccountChannelsRequest

- Defined in packages/xrpl/src/models/methods/accountChannels.ts:29

#####
Index

### Properties

account
api_version?
command
destination_account?
id?
ledger_hash?
ledger_index?
limit?
marker?

## Properties

### account

account: string

The unique identifier of an account, typically the account's address. The request returns channels where this account is the channel's owner/source.

- Defined in packages/xrpl/src/models/methods/accountChannels.ts:36

### `Optional` api_version

api_version?: number

The API version to use. If omitted, use version 1.

Inherited from BaseRequest.api_version

- Defined in packages/xrpl/src/models/methods/baseMethod.ts:14

### command

command: "account_channels"

Overrides BaseRequest.command

- Defined in packages/xrpl/src/models/methods/accountChannels.ts:30

### `Optional` destination_account

destination_account?: string

The unique identifier of an account, typically the account's address. If provided, filter results to payment channels whose destination is this account.

- Defined in packages/xrpl/src/models/methods/accountChannels.ts:42

### `Optional` id

id?: string | number

A unique value to identify this request. The response to this request uses the same id field. This way, even if responses arrive out of order, you know which request prompted which response.

Inherited from BaseRequest.id

- Defined in packages/xrpl/src/models/methods/baseMethod.ts:10

### `Optional` ledger_hash

ledger_hash?: string

20-byte hex string for the ledger version to use.

- Defined in packages/xrpl/src/models/methods/accountChannels.ts:44

### `Optional` ledger_index

ledger_index?: LedgerIndex

The ledger index of the ledger to use, or a shortcut string to choose a ledger automatically.

- Defined in packages/xrpl/src/models/methods/accountChannels.ts:49

### `Optional` limit

limit?: number

Limit the number of transactions to retrieve. Cannot be less than 10 or more than 400. The default is 200.

- Defined in packages/xrpl/src/models/methods/accountChannels.ts:54

### `Optional` marker

marker?: unknown

Value from a previous paginated response. Resume retrieving data where that response left off.

- Defined in packages/xrpl/src/models/methods/accountChannels.ts:59

Generated using TypeDoc