Creates a new Account object.
Optional appsOptional appsOptional appsOptional assets?: AssetHolding[]Optional authOptional createdOptional createdOptional participation?: AccountParticipationOptional rewardOptional sigthe account public key
(algo) total number of MicroAlgos in the account
specifies the amount of MicroAlgos in the account, without the pending rewards.
Optional apps(appl) applications local data stored in this account.
Note the raw object uses map[int] -> AppLocalState for this type.
Optional apps(teap) the sum of all extra application program pages for this account.
Optional apps(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(asset) assets held by this account.
Note the raw object uses map[int] -> AssetHolding for this type.
Optional auth(spend) 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 created(appp) parameters of applications created by this account including app global
data.
Note: the raw account uses map[int] -> AppParams for this type.
Optional created(apar) parameters of assets created by this account.
Note: the raw account uses map[int] -> Asset for this type.
MicroAlgo balance required by the account. The requirement grows based on asset and application usage.
Optional participationAccountParticipation describes the parameters used by this account in consensus protocol.
amount of MicroAlgos of pending rewards in this account.
Optional reward(ebase) used as part of the rewards computation. Only applicable to accounts which are participating.
(ern) total rewards of MicroAlgos the account has received, including pending rewards.
The round for which this information is relevant.
Optional sigIndicates what type of signature is used by this account, must be one of:
(onl) delegation status of the account's MicroAlgos
The count of all applications that have been opted in, equivalent to the count of application local data (AppLocalState objects) stored in this account.
The count of all assets that have been opted in, equivalent to the count of AssetHolding objects held by this account.
The count of all apps (AppParams objects) created by this account.
The count of all assets (AssetParams objects) created by this account.
Get an object ready for encoding to either JSON or msgpack.
Use true to indicate that the encoding can handle raw binary objects (Uint8Arrays). Use false to indicate that raw binary objects should be converted to base64 strings. True should be used for objects that will be encoded with msgpack, and false should be used for objects that will be encoded with JSON.
Generated using TypeDoc
Account information at a given round. Definition: data/basics/userBalance.go : AccountData