Function
getAssetsByName
getAssetsByName( queryable: Queryable, name: string, limit?: OptionalLimit, cursor?: OptionalPageCursor, ): Promise<PaginatedEntity<Asset>>Retrieves asset information using its name. As there can be multiple assets with the same name, the information is returned as a paginated entity.
Parameters
- queryable: Queryable
object to use when querying the blockchain
- name: string
the name of the asset to fetch
- limit: OptionalLimit = null
maximum page size
- cursor: OptionalPageCursor = null
where the page should start
Returns Promise<PaginatedEntity<Asset>>
- queryable: Queryable