Class FungibleAssetClient

Hierarchy

  • FungibleAssetClient

Constructors

Properties

assetType: string = "0x1::fungible_asset::Metadata"
provider: Provider

Methods

  • Get the balance of a fungible asset from the account's primary fungible store.

    Returns

    Promise that resolves to the balance

    Parameters

    • account: MaybeHexString

      Account that you want to get the balance of.

    • fungibleAssetMetadataAddress: MaybeHexString

      The fungible asset address you want to check the balance of

    Returns Promise<bigint>

Generated using TypeDoc