# AccountCurrenciesRequest | xrpl
Documentation for xrpl

# Interface AccountCurrenciesRequest

The `account_currencies` command retrieves a list of currencies that an account can send or receive, based on its trust lines. Expects an AccountCurrenciesResponse.

#### Hierarchy

- BaseRequest
- LookupByLedgerRequest
  - AccountCurrenciesRequest

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

#####
Index

### Properties

account
api_version?
command
id?
ledger_hash?
ledger_index?
strict?

## Properties

### account

account: string

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

- Defined in packages/xrpl/src/models/methods/accountCurrencies.ts:15

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

### command

command: "account_currencies"

The name of the API method.

Overrides BaseRequest.command

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

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

strict?: boolean

If true, then the account field only accepts a public key or XRP Ledger address. Otherwise, account can be a secret or passphrase (not recommended). The default is false.

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

Generated using TypeDoc