Function
getAssetsBySymbol
getAssetsBySymbol( queryable: Queryable, symbol: string, limit?: OptionalLimit, cursor?: OptionalPageCursor, ): Promise<PaginatedEntity<Asset>>Retrieves asset information using its symbol. As there can be multiple assets with the same symbol, the information is returned as a paginated entity.
Parameters
- queryable: Queryable
object to use when querying the blockchain
- symbol: string
the symbol 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