AccountReference
An Algorand address
Extends
Constructors
new AccountReference()
new AccountReference():
AccountReference
Returns
Inherited from
Properties
authAddr
readonly
authAddr:Address
Signifies the public key for the keypair that has authority over this address
Inherited from
Source
balance
readonly
balance:uint64
The accounts current balance (in µALGO)
Inherited from
Source
incentiveEligible
incentiveEligible:
boolean
Had this account opted into block payouts
Inherited from
Source
isInLedger
readonly
isInLedger:uint64
Whether the account is in the ledger or not
Inherited from
Source
lastHeartbeat
lastHeartbeat:
uint64
The last block this account sent a heartbeat
Inherited from
Source
lastProposed
lastProposed:
uint64
The last block this account proposed
Inherited from
Source
minBalance
readonly
minBalance:uint64
The account’s current minimum balance require (MBR) (in µALGO)
Inherited from
Source
totalAppsCreated
readonly
totalAppsCreated:uint64
The total number of apps created by this address
Inherited from
Source
totalAppsOptedIn
readonly
totalAppsOptedIn:uint64
The total number of apps opted in to by this address
Inherited from
Source
totalAssets
readonly
totalAssets:uint64
The number of assets this address is opted in to
Inherited from
Source
totalAssetsCreated
readonly
totalAssetsCreated:uint64
The total number of assets created by this address
Inherited from
Source
totalBoxBytes
readonly
totalBoxBytes:uint64
The total number of box bytes funded by this address. Only applies to application addreses.
Inherited from
Source
totalBoxes
readonly
totalBoxes:uint64
The total number of boxes funded by this address. Only applies to application addreses.
Inherited from
Source
totalExtraAppPages
readonly
totalExtraAppPages:uint64
The total number of extra application pages reserved across all apps
Inherited from
Source
totalNumByteSlice
readonly
totalNumByteSlice:uint64
The total number of byte slices reserved in global and local state across all apps
Inherited from
Source
totalNumUint
readonly
totalNumUint:uint64
The total number of uint64 values reserved in global and local state across all apps
Inherited from
Source
voterBalance
voterBalance:
uint64
Online stake in microalgos
Inherited from
Source
zeroAddress
static
readonly
zeroAddress:Address
The zero address: AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAY5HFKQ
Inherited from
Source
Methods
assetBalance()
assetBalance(
asa
):uint64
The balance of the given asset for this address
Parameters
• asa: Asset
Returns
Inherited from
Source
assetFrozen()
assetFrozen(
asa
):uint64
Whether the given asset is frozen in this address
Parameters
• asa: Asset
Returns
Inherited from
Source
isOptedInToApp()
isOptedInToApp(
app
):boolean
Whether this address is opted into the given application
Parameters
• app: Application
Returns
boolean
Inherited from
Source
isOptedInToAsset()
isOptedInToAsset(
asa
):boolean
Whether this address is opted into the given address
Parameters
• asa: Asset
Returns
boolean
Inherited from
Source
fromAddress()
static
fromAddress(address
):Address
Create an Address
instance from a literal base32 Algorand address
Parameters
• address: string
Returns
Inherited from
Source
fromBytes()
static
fromBytes(pubKey
):Address
Create an Address
instance from the given public key
Parameters
• pubKey: BytesLike