Describes an asset held by an account. Definition: data/basics/userBalance.go : AssetHolding

Implements

Constructors

  • Creates a new AssetHolding object.

    Parameters

    • __namedParameters: {
          amount: number | bigint;
          assetId: number | bigint;
          deleted?: boolean;
          isFrozen: boolean;
          optedInAtRound?: number | bigint;
          optedOutAtRound?: number | bigint;
      }
      • amount: number | bigint
      • assetId: number | bigint
      • Optional deleted?: boolean
      • isFrozen: boolean
      • Optional optedInAtRound?: number | bigint
      • Optional optedOutAtRound?: number | bigint

    Returns indexerModels.AssetHolding

Properties

amount: bigint

number of units held.

assetId: bigint

Asset ID of the holding.

deleted?: boolean

Whether or not the asset holding is currently deleted from its account.

isFrozen: boolean

whether or not the holding is frozen.

optedInAtRound?: bigint

Round during which the account opted into this asset holding.

optedOutAtRound?: bigint

Round during which the account opted out of this asset holding.

encodingSchemaValue: undefined | Schema

Accessors

Methods

Generated using TypeDoc