# AccountTxRequest | xrpl
Documentation for xrpl

# Interface AccountTxRequest

The account_tx method retrieves a list of transactions that involved the specified account. Expects a response in the form of a AccountTxResponse.

#### Hierarchy

- BaseRequest
- LookupByLedgerRequest
  - AccountTxRequest

- Defined in packages/xrpl/src/models/methods/accountTx.ts:13

#####
Index

### Properties

account
api_version?
binary?
command
forward?
id?
ledger_hash?
ledger_index?
ledger_index_max?
ledger_index_min?
limit?
marker?

## Properties

### account

account: string

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

- Defined in packages/xrpl/src/models/methods/accountTx.ts:16

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

### `Optional` binary

binary?: boolean

If true, return transactions as hex strings instead of JSON. The default is false.

- Defined in packages/xrpl/src/models/methods/accountTx.ts:33

### command

command: "account_tx"

The name of the API method.

Overrides BaseRequest.command

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

### `Optional` forward

forward?: boolean

If true, returns values indexed with the oldest ledger first. Otherwise, the results are indexed with the newest ledger first.

- Defined in packages/xrpl/src/models/methods/accountTx.ts:38

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

### `Optional` ledger_hash

ledger_hash?: string

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

Inherited from LookupByLedgerRequest.ledger_hash

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

### `Optional` ledger_index

ledger_index?: LedgerIndex

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

Inherited from LookupByLedgerRequest.ledger_index

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

### `Optional` ledger_index_max

ledger_index_max?: number

Use to specify the most recent ledger to include transactions from. A value of -1 instructs the server to use the most recent validated ledger version available.

- Defined in packages/xrpl/src/models/methods/accountTx.ts:28

### `Optional` ledger_index_min

ledger_index_min?: number

Use to specify the earliest ledger to include transactions from. A value of -1 instructs the server to use the earliest validated ledger version available.

- Defined in packages/xrpl/src/models/methods/accountTx.ts:22

### `Optional` limit

limit?: number

Default varies. Limit the number of transactions to retrieve. The server is not required to honor this value.

- Defined in packages/xrpl/src/models/methods/accountTx.ts:43

### `Optional` marker

marker?: unknown

Value from a previous paginated response. Resume retrieving data where that response left off. This value is stable even if there is a change in the server's range of available ledgers.

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

Generated using TypeDoc