Function getAssetOriginById

  • Retrieves the brid of the origin chain for the specified asset

    Parameters

    • connection: Connection

      the connection to use to query the blockchain

    • id: BufferId

      the id of the asset to fetch the origin for

    Returns Promise<Buffer | null>

    brid of the origin chain, or null if it was not found