# getAssetById · FT4 TypeScript client · Chromia Docs (concept)

> getAssetById(queryable: Queryable, id: BufferId): Promise< Asset | null> Retrieves asset information using its id Parameters queryable: Queryable object to

Source: https://docs.chromia.com/pages/ft4-ts-client/functions/asset.getAssetById/

Function

# getAssetById

* ```signature
  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](https://docs.chromia.com/pages/ft4-ts-client/types/asset.Asset/) | null>

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

[View this page on docs.chromia.com](https://docs.chromia.com/pages/ft4-ts-client/functions/asset.getAssetById.html)Generated API reference, mirrored from the live docs
