Function getAssetData

Retrieves data about an asset.

If asset not found (in mainnet only)

  • Parameters

    • contract: string

      The address of the asset's contract.

    Returns Promise<Asset>

    A promise that resolves to the data about the asset.