Function
getAssetOriginById
getAssetOriginById( connection: Connection, id: BufferId, ): Promise<Buffer<ArrayBufferLike> | null>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<ArrayBufferLike> | null>
brid of the origin chain, or null if it was not found
- connection: Connection