Class AccountBaseData

AccountBaseData contains base account info like balance, status and total number of resources

Implements

Constructors

  • Parameters

    • params: {
          authAddr: Address;
          incentiveEligible: boolean;
          lastHeartbeat: bigint;
          lastProposed: bigint;
          microAlgos: bigint;
          rewardedMicroAlgos: bigint;
          rewardsBase: bigint;
          status: number;
          totalAppLocalStates: bigint;
          totalAppParams: bigint;
          totalAppSchema: StateSchema;
          totalAssetParams: bigint;
          totalAssets: bigint;
          totalBoxBytes: bigint;
          totalBoxes: bigint;
          totalExtraAppPages: number;
      }
      • authAddr: Address
      • incentiveEligible: boolean
      • lastHeartbeat: bigint
      • lastProposed: bigint
      • microAlgos: bigint
      • rewardedMicroAlgos: bigint
      • rewardsBase: bigint
      • status: number
      • totalAppLocalStates: bigint
      • totalAppParams: bigint
      • totalAppSchema: StateSchema
      • totalAssetParams: bigint
      • totalAssets: bigint
      • totalBoxBytes: bigint
      • totalBoxes: bigint
      • totalExtraAppPages: number

    Returns AccountBaseData

Properties

authAddr: Address
incentiveEligible: boolean
lastHeartbeat: bigint

The last round that this account sent a heartbeat to show it was online.

lastProposed: bigint

The last round that this account proposed the winning block.

microAlgos: bigint
rewardedMicroAlgos: bigint
rewardsBase: bigint
status: number

Account status. Values are:

  • 0: Offline
  • 1: Online
  • 2: NotParticipating
totalAppLocalStates: bigint

Total number of apps this account is opted into.

totalAppParams: bigint

Total number of apps this account has created

totalAppSchema: StateSchema

Totals across created globals, and opted in locals.

totalAssetParams: bigint

Total number of assets created by this account

totalAssets: bigint

Total of asset creations and optins (i.e. number of holdings)

totalBoxBytes: bigint

Total bytes for this account's boxes. keys and values count

totalBoxes: bigint

Total number of boxes associated to this account

totalExtraAppPages: number

Total number of extra pages across all created apps

encodingSchema: NamedMapSchema = ...

Methods

  • Extract the encoding data for this object. This data, after being prepared by the encoding Schema, can be encoded to msgpack or JSON.

    Returns Map<string, unknown>

Generated using TypeDoc