For the complete documentation index, see llms.txt. This page is also available as Markdown.

Get symbol by asset

Example

const symbol = await client.api.getSymbolByAsset(
  'AHVV8Um6AwHY9/nsX/YMZkWSBptWdn4g9aYVhNLcUWs='
);

console.log(symbol);

Returns

'BNB'

Special case:

await client.api.getSymbolByAsset('base');
// 'GBYTE'

Last updated