Account
Algorand TypeScript / index / Account
Account =
object
Defined in: reference.ts:109
Create a new account object representing the zero address
Properties
Section titled “Properties”authAddress
Section titled “authAddress”
readonlyauthAddress:Account
Defined in: reference.ts:32
Address the account is rekeyed to
Account must be an available resource
balance
Section titled “balance”
readonlybalance:uint64
Defined in: reference.ts:18
Account balance in microalgos
Account must be an available resource
readonlybytes:bytes<32>
Defined in: reference.ts:11
Get the accounts address in bytes
minBalance
Section titled “minBalance”
readonlyminBalance:uint64
Defined in: reference.ts:25
Minimum required balance for account, in microalgos
Account must be an available resource
totalAppsCreated
Section titled “totalAppsCreated”
readonlytotalAppsCreated:uint64
Defined in: reference.ts:60
The number of existing apps created by this account.
Account must be an available resource
totalAppsOptedIn
Section titled “totalAppsOptedIn”
readonlytotalAppsOptedIn:uint64
Defined in: reference.ts:67
The number of apps this account is opted into.
Account must be an available resource
totalAssets
Section titled “totalAssets”
readonlytotalAssets: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
totalAssetsCreated
Section titled “totalAssetsCreated”
readonlytotalAssetsCreated:uint64
Defined in: reference.ts:74
The number of existing ASAs created by this account.
Account must be an available resource
totalBoxBytes
Section titled “totalBoxBytes”
readonlytotalBoxBytes: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
totalBoxes
Section titled “totalBoxes”
readonlytotalBoxes:uint64
Defined in: reference.ts:88
The number of existing boxes created by this account’s app.
Account must be an available resource
totalExtraAppPages
Section titled “totalExtraAppPages”
readonlytotalExtraAppPages:uint64
Defined in: reference.ts:53
The number of extra app code pages used by this account.
Account must be an available resource
totalNumByteSlice
Section titled “totalNumByteSlice”
readonlytotalNumByteSlice: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
totalNumUint
Section titled “totalNumUint”
readonlytotalNumUint: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
Methods
Section titled “Methods”isOptedIn()
Section titled “isOptedIn()”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
Parameters
Section titled “Parameters”assetOrApp
Section titled “assetOrApp”Returns
Section titled “Returns”boolean