Function getAssetId

Generates a unique identifier for an asset

  • Parameters

    • Optionalasset: Asset

      The asset to generate an ID for

    Returns undefined | string

    A string in the format "chainShortName/contractAddress/assetTokenId" or undefined if required fields are missing