BalanceOf
get
Retrieves the balance of a specified ERC20 token for a given account.
Authorizations
Path parameters
accountstringRequired
- The address of the account to retrieve the balance for.
Query parameters
chainIdstringRequired
- The ID of the blockchain network.
addressstringRequired
- The address of the ERC20 token contract.
Header parameters
AuthorizationstringRequired
- The authorization token for accessing the ERC20 instance.
Responses
200
A promise that resolves to an `ERC20APIResponse` containing the balance as a string.
application/json
get
GET //erc20/{account}/balanceOf HTTP/1.1
Host: beta.usemoon.ai
Authorization: text
Accept: */*
200
A promise that resolves to an ERC20APIResponse
containing the balance as a string.
{
"success": true,
"message": "text",
"data": "text"
}