# AccountLinesRequest | xrpl
Documentation for xrpl

# Interface AccountLinesRequest

The account_lines method returns information about an account's trust lines, including balances in all non-XRP currencies and assets. All information retrieved is relative to a particular version of the ledger. Expects an AccountLinesResponse.

#### Hierarchy

- BaseRequest
  - AccountLinesRequest

- Defined in packages/xrpl/src/models/methods/accountLines.ts:77

#####
Index

### Properties

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

## Properties

### account

account: string

A unique identifier for the account, most commonly the account's Address.

- Defined in packages/xrpl/src/models/methods/accountLines.ts:80

### `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_lines"

Overrides BaseRequest.command

- Defined in packages/xrpl/src/models/methods/accountLines.ts:78

### `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

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

- Defined in packages/xrpl/src/models/methods/accountLines.ts:82

### `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/accountLines.ts:87

### `Optional` limit

limit?: number

Limit the number of trust lines to retrieve. The server is not required to honor this value. Must be within the inclusive range 10 to 400.

- Defined in packages/xrpl/src/models/methods/accountLines.ts:97

### `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/accountLines.ts:102

### `Optional` peer

peer?: string

The Address of a second account. If provided, show only lines of trust connecting the two accounts.

- Defined in packages/xrpl/src/models/methods/accountLines.ts:92

Generated using TypeDoc