githubEdit

TotalSupply

get

Retrieves the total supply of an ERC20 token.

Authorizations
AuthorizationstringRequired
Path parameters
accountstringRequired
  • The account address.
Query parameters
chainIdstringRequired
  • The blockchain chain ID.
addressstringRequired
  • The ERC20 token contract address.
Header parameters
AuthorizationstringRequired
  • The authorization token.
Responses
chevron-right
200

A promise that resolves to an ERC20APIResponse containing the total supply of the token as a string.

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.

datastringOptional

Optional data payload returned by the API.

get
/erc20/{account}/totalSupply
200

A promise that resolves to an ERC20APIResponse containing the total supply of the token as a string.