Class AccountAssetResponse

AccountAssetResponse describes the account's asset holding and asset parameters (if either exist) for a specific asset ID. Asset parameters will only be returned if the provided address is the asset's creator.

Hierarchy

Constructors

Properties

assetHolding?: modelsv2.AssetHolding

(asset) Details about the asset held by this account. The raw account uses AssetHolding for this type.

attribute_map: Record<string, string>
createdAsset?: modelsv2.AssetParams

(apar) parameters of the asset created by this account. The raw account uses AssetParams for this type.

round: number | bigint

The round for which this information is relevant.

Methods

  • Get an object ready for encoding to either JSON or msgpack.

    Parameters

    • binary: boolean = false

      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.

    Returns Record<string, any>

Generated using TypeDoc