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

Decimals

get

Retrieves the number of decimals for the provided ERC20 token.

Authorizations
AuthorizationstringRequired
Path parameters
accountstringRequired
  • The account address for the ERC20 token.
Query parameters
chainIdstringRequired
  • The chain ID for the ERC20 token.
addressstringRequired
  • The contract address for the ERC20 token.
Header parameters
AuthorizationstringRequired
  • The authorization token for accessing the ERC20 token.
Responses
200

A promise that resolves to an ERC20APIResponse object containing the number of decimals for the ERC20 token.

application/json

Interface representing the structure of an API response for ERC20 operations.

successbooleanRequired

Indicates whether the API request was successful.

messagestringRequired

A message providing additional information about the API response.

datanumber · doubleOptional

Optional data payload returned by the API.

get
/erc20/{account}/decimals
200

A promise that resolves to an ERC20APIResponse object containing the number of decimals for the ERC20 token.