Skip to content

Account

Algorand TypeScript


Algorand TypeScript / index / Account

Account = object

Defined in: reference.ts:109

Create a new account object representing the zero address

readonly authAddress: Account

Defined in: reference.ts:32

Address the account is rekeyed to

Account must be an available resource


readonly balance: uint64

Defined in: reference.ts:18

Account balance in microalgos

Account must be an available resource


readonly bytes: bytes<32>

Defined in: reference.ts:11

Get the accounts address in bytes


readonly minBalance: uint64

Defined in: reference.ts:25

Minimum required balance for account, in microalgos

Account must be an available resource


readonly totalAppsCreated: uint64

Defined in: reference.ts:60

The number of existing apps created by this account.

Account must be an available resource


readonly totalAppsOptedIn: uint64

Defined in: reference.ts:67

The number of apps this account is opted into.

Account must be an available resource


readonly totalAssets: uint64

Defined in: reference.ts:81

The numbers of ASAs held by this account (including ASAs this account created).

Account must be an available resource


readonly totalAssetsCreated: uint64

Defined in: reference.ts:74

The number of existing ASAs created by this account.

Account must be an available resource


readonly totalBoxBytes: uint64

Defined in: reference.ts:95

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

Account must be an available resource


readonly totalBoxes: uint64

Defined in: reference.ts:88

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

Account must be an available resource


readonly totalExtraAppPages: uint64

Defined in: reference.ts:53

The number of extra app code pages used by this account.

Account must be an available resource


readonly totalNumByteSlice: uint64

Defined in: reference.ts:46

The total number of byte array values allocated by this account in Global and Local States.

Account must be an available resource


readonly totalNumUint: uint64

Defined in: reference.ts:39

The total number of uint64 values allocated by this account in Global and Local States.

Account must be an available resource

isOptedIn(assetOrApp): boolean

Defined in: reference.ts:103

Returns true if this account is opted in to the specified Asset or Application. Note: Account and Asset/Application must be an available resource

Asset | Application

boolean