Skip to content

Account

Account = object

Defined in: packages/indexer_client/src/models/account.ts:30

Account information at a given round.

Definition: data/basics/userBalance.go : AccountData

address: string

Defined in: packages/indexer_client/src/models/account.ts:34

the account public key


amount: bigint

Defined in: packages/indexer_client/src/models/account.ts:39

total number of MicroAlgos in the account


amountWithoutPendingRewards: bigint

Defined in: packages/indexer_client/src/models/account.ts:51

specifies the amount of MicroAlgos in the account, without the pending rewards.


optional appsLocalState: ApplicationLocalState[]

Defined in: packages/indexer_client/src/models/account.ts:58

application local data stored in this account.

Note the raw object uses map[int] -> AppLocalState for this type.


optional appsTotalExtraPages: number

Defined in: packages/indexer_client/src/models/account.ts:64

the sum of all extra application program pages for this account.


optional appsTotalSchema: ApplicationStateSchema

Defined in: packages/indexer_client/src/models/account.ts:59


optional assets: AssetHolding[]

Defined in: packages/indexer_client/src/models/account.ts:71

assets held by this account.

Note the raw object uses map[int] -> AssetHolding for this type.


optional authAddr: Address

Defined in: packages/indexer_client/src/models/account.ts:163

The address against which signing should be checked. If empty, the address of the current account is used. This field can be updated in any transaction by setting the RekeyTo field.


optional closedAtRound: bigint

Defined in: packages/indexer_client/src/models/account.ts:188

Round during which this account was most recently closed.


optional createdApps: Application[]

Defined in: packages/indexer_client/src/models/account.ts:78

parameters of applications created by this account including app global data.

Note: the raw account uses map[int] -> AppParams for this type.


optional createdAssets: Asset[]

Defined in: packages/indexer_client/src/models/account.ts:85

parameters of assets created by this account.

Note: the raw account uses map[int] -> Asset for this type.


optional createdAtRound: bigint

Defined in: packages/indexer_client/src/models/account.ts:183

Round during which this account first appeared in a transaction.


optional deleted: boolean

Defined in: packages/indexer_client/src/models/account.ts:178

Whether or not this account is currently closed.


optional incentiveEligible: boolean

Defined in: packages/indexer_client/src/models/account.ts:91

can the account receive block incentives if its balance is in range at proposal time.


optional lastHeartbeat: bigint

Defined in: packages/indexer_client/src/models/account.ts:173

The round in which this account last went online, or explicitly renewed their online status.


optional lastProposed: bigint

Defined in: packages/indexer_client/src/models/account.ts:168

The round in which this account last proposed the block.


minBalance: bigint

Defined in: packages/indexer_client/src/models/account.ts:46

MicroAlgo balance required by the account.

The requirement grows based on asset and application usage.


optional participation: AccountParticipation

Defined in: packages/indexer_client/src/models/account.ts:86


pendingRewards: bigint

Defined in: packages/indexer_client/src/models/account.ts:96

amount of MicroAlgos of pending rewards in this account.


optional rewardBase: bigint

Defined in: packages/indexer_client/src/models/account.ts:101

used as part of the rewards computation. Only applicable to accounts which are participating.


rewards: bigint

Defined in: packages/indexer_client/src/models/account.ts:106

total rewards of MicroAlgos the account has received, including pending rewards.


round: bigint

Defined in: packages/indexer_client/src/models/account.ts:111

The round for which this information is relevant.


optional sigType: "sig" | "msig" | "lsig"

Defined in: packages/indexer_client/src/models/account.ts:128

the type of signature used by this account, must be one of:

  • sig
  • msig
  • lsig
  • or null if unknown

status: string

Defined in: packages/indexer_client/src/models/account.ts:119

voting status of the account’s MicroAlgos

  • Offline - indicates that the associated account is delegated.
  • Online - indicates that the associated account used as part of the delegation pool.
  • NotParticipating - indicates that the associated account is neither a delegator nor a delegate.

totalAppsOptedIn: number

Defined in: packages/indexer_client/src/models/account.ts:133

The count of all applications that have been opted in, equivalent to the count of application local data (AppLocalState objects) stored in this account.


totalAssetsOptedIn: number

Defined in: packages/indexer_client/src/models/account.ts:138

The count of all assets that have been opted in, equivalent to the count of AssetHolding objects held by this account.


totalBoxBytes: number

Defined in: packages/indexer_client/src/models/account.ts:143

For app-accounts only. The total number of bytes allocated for the keys and values of boxes which belong to the associated application.


totalBoxes: number

Defined in: packages/indexer_client/src/models/account.ts:148

For app-accounts only. The total number of boxes which belong to the associated application.


totalCreatedApps: number

Defined in: packages/indexer_client/src/models/account.ts:153

The count of all apps (AppParams objects) created by this account.


totalCreatedAssets: number

Defined in: packages/indexer_client/src/models/account.ts:158

The count of all assets (AssetParams objects) created by this account.