TotalSupply
get
Retrieves the total supply of an ERC20 token.
Authorizations
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
200
A promise that resolves to an `ERC20APIResponse` containing the total supply of the token as a string.
application/json
get
GET //erc20/{account}/totalSupply HTTP/1.1
Host: beta.usemoon.ai
Authorization: text
Accept: */*
200
A promise that resolves to an ERC20APIResponse
containing the total supply of the token as a string.
{
"success": true,
"message": "text",
"data": "text"
}