Skip to main content
Glama

getDecimals

Retrieve the decimal precision of ERC20 tokens by providing the token address and optional chain ID for accurate cryptocurrency calculations and research.

Instructions

Gets the number of decimals of an ERC20 token

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tokenYesThe token address
chainIdNoIf not specified, returns decimals for all supported chains.

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/NaniDAO/agentek'

If you have feedback or need assistance with the MCP directory API, please join our Discord server