# AccountInfoRequest | xrpl
Documentation for xrpl

# Interface AccountInfoRequest

The `account_info` command retrieves information about an account, its activity, and its XRP balance. All information retrieved is relative to a particular version of the ledger. Returns an AccountInfoResponse.

#### Hierarchy

- BaseRequest
- LookupByLedgerRequest
  - AccountInfoRequest

- Defined in packages/xrpl/src/models/methods/accountInfo.ts:12

#####
Index

### Properties

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

## Properties

### account

account: string

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

- Defined in packages/xrpl/src/models/methods/accountInfo.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_info"

The name of the API method.

Overrides BaseRequest.command

- Defined in packages/xrpl/src/models/methods/accountInfo.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` queue

queue?: boolean

Whether to get info about this account's queued transactions. Can only be used when querying for the data from the current open ledger. Not available from servers in Reporting Mode.

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

### `Optional` signer_lists

signer_lists?: boolean

Request SignerList objects associated with this account.

- Defined in packages/xrpl/src/models/methods/accountInfo.ts:25

### `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/accountInfo.ts:31

Generated using TypeDoc