> For the complete documentation index, see [llms.txt](https://obytejs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://obytejs.com/api/token-registry/get-decimals-by-symbol-or-asset.md).

# Get decimals by symbol or asset

### Example

```js
const decimalsBySymbol = await client.api.getDecimalsBySymbolOrAsset('BNB');
const decimalsByAsset = await client.api.getDecimalsBySymbolOrAsset('AHVV8Um6AwHY9/nsX/YMZkWSBptWdn4g9aYVhNLcUWs=');

console.log(decimalsBySymbol);
```

### Returns

```js
8
```

{% embed url="<https://tokens.ooo/>" %}
