Skip to content

AccountInformation

AccountInformation = object

Defined in: src/account.ts:22

Account information at a given round.

address: Address

Defined in: src/account.ts:26

The account public key


amountWithoutPendingRewards: AlgoAmount

Defined in: src/account.ts:34

The amount of Algo in the account, without the pending rewards.


optional appsLocalState: ApplicationLocalState[]

Defined in: src/account.ts:91

Applications local data stored in this account.


optional appsTotalExtraPages: number

Defined in: src/account.ts:96

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


optional appsTotalSchema: ApplicationStateSchema

Defined in: src/account.ts:102

(tsch) stores the sum of all of the local schemas and global schemas in this account. Note: the raw account uses StateSchema for this type.


optional assets: AssetHolding[]

Defined in: src/account.ts:107

Assets held by this account.


optional authAddr: Address

Defined in: src/account.ts:114

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.


balance: AlgoAmount

Defined in: src/account.ts:29

The balance of Algo currently held by the account.


optional createdApps: Application[]

Defined in: src/account.ts:119

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


optional createdAssets: Asset[]

Defined in: src/account.ts:125

(apar) parameters of assets created by this account. Note: the raw account uses map[int] -> Asset for this type.


optional lastHeartbeatRound: bigint

Defined in: src/account.ts:162

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


optional lastProposedRound: bigint

Defined in: src/account.ts:167

The round in which this account last proposed the block.


minBalance: AlgoAmount

Defined in: src/account.ts:41

Algo balance required to be held by the account.

The requirement grows based on asset and application usage.


optional participation: AccountParticipation

Defined in: src/account.ts:131

AccountParticipation describes the parameters used by this account in consensus protocol.


pendingRewards: AlgoAmount

Defined in: src/account.ts:45

Amount of Algo of pending rewards in this account.


optional rewardBase: number

Defined in: src/account.ts:137

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


rewards: AlgoAmount

Defined in: src/account.ts:51

Total rewards of Algo the account has received, including pending rewards.


optional sigType: string

Defined in: src/account.ts:145

Indicates what type of signature is used by this account, must be one of:

  • sig
  • msig
  • lsig

status: string

Defined in: src/account.ts:64

Delegation status of the account’s Algo:

  • 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: src/account.ts:70

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: src/account.ts:76

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


optional totalBoxBytes: number

Defined in: src/account.ts:151

The total number of bytes used by this account’s app’s box keys and values.


optional totalBoxes: number

Defined in: src/account.ts:156

The number of existing boxes created by this account’s app.


totalCreatedApps: number

Defined in: src/account.ts:81

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


totalCreatedAssets: number

Defined in: src/account.ts:86

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


validAsOfRound: bigint

Defined in: src/account.ts:56

The round number for which this information is relevant.