Options
All
  • Public
  • Public/Protected
  • All
Menu

Class AssetParam

Hierarchy

  • AssetParam

Index

Constructors

constructor

Methods

Static assetName

  • Get the name of an asset.

    Parameters

    • asset: Expr

      An index into Txn.ForeignAssets that corresponds to the asset to check. Must evaluate to uint64.

    Returns MaybeValue

Static clawback

  • Get the clawback address for an asset.

    Parameters

    • asset: Expr

      An index into Txn.ForeignAssets that corresponds to the asset to check. Must evaluate to uint64.

    Returns MaybeValue

Static decimals

  • Get the number of decimals for an asset.

    Parameters

    • asset: Expr

      An index into Txn.ForeignAssets that corresponds to the asset to check. Must evaluate to uint64.

    Returns MaybeValue

Static defaultFrozen

  • Check if an asset is frozen by default.

    Parameters

    • asset: Expr

      An index into Txn.ForeignAssets that corresponds to the asset to check. Must evaluate to uint64.

    Returns MaybeValue

Static freeze

  • Get the freeze address for an asset.

    Parameters

    • asset: Expr

      An index into Txn.ForeignAssets that corresponds to the asset to check. Must evaluate to uint64.

    Returns MaybeValue

Static manager

  • Get the manager address for an asset.

    Parameters

    • asset: Expr

      An index into Txn.ForeignAssets that corresponds to the asset to check. Must evaluate to uint64.

    Returns MaybeValue

Static metadataHash

  • Get the arbitrary commitment for an asset.

    Parameters

    • asset: Expr

      An index into Txn.ForeignAssets that corresponds to the asset to check. Must evaluate to uint64.

    Returns MaybeValue

Static reserve

  • Get the reserve address for an asset.

    Parameters

    • asset: Expr

      An index into Txn.ForeignAssets that corresponds to the asset to check. Must evaluate to uint64.

    Returns MaybeValue

Static total

  • Get the total number of units of an asset.

    Parameters

    • asset: Expr

      An index into Txn.ForeignAssets that corresponds to the asset to check. Must evaluate to uint64.

    Returns MaybeValue

Static unitName

  • Get the unit name of an asset.

    Parameters

    • asset: Expr

      An index into Txn.ForeignAssets that corresponds to the asset to check. Must evaluate to uint64.

    Returns MaybeValue

Static url

  • Get the URL of an asset.

    Parameters

    • asset: Expr

      An index into Txn.ForeignAssets that corresponds to the asset to check. Must evaluate to uint64.

    Returns MaybeValue

Generated using TypeDoc