Function
getAssetById
getAssetById(queryable: Queryable, id: BufferId): Promise<Asset | null>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
- queryable: Queryable