Function getAssetById

  • Retrieves asset information using its id

    Parameters

    • queryable: Queryable

      object to use when querying the blockchain

    • id: BufferId

      the id of the asset to fetch

    Returns Promise<Asset | null>

    The asset details, or null if no asset with the specified id was found