WEMIX3.0
Search…
Tokens APIs

GET /tokens/{contract_address}/total-supply

  • HEADER
key
value
required
api-key
api-key
true

GET https://microscopeapi.test.wemix.com/tokens/0x1b7aCAc0EA9956e1d238973Fc65e9945ddcebe4D/total-supply
api-key: 1ba5e446edf1997f67b51bf9e60b3fbba6fa1bf84301115292805d7e24f43539

key
type
value
status
String
Status of request
message
String
Response Message of request
results
Json
Results of request
results.data
List<Object>
List of data
results.data.total_supply
String
Total supply of token

{
"status": "200",
"message": "success",
"results": {
"data": {
"total_supply": "1000000000000000000000000000"
}
}
}

GET /tokens/{contract_address}/balance/{address_hash}

  • HEADER
key
value
required
api-key
api-key
true

GET https://microscopeapi.test.wemix.com/tokens/0x7C80162516590571eb4FA1d6c1A94E1914949Bff/balance/0x1a00dCd8c9fae46884c9c199081451Bdc8FAB2f9
api-key: 1ba5e446edf1997f67b51bf9e60b3fbba6fa1bf84301115292805d7e24f43539RESPONSE DATA

key
type
value
status
String
Status of request
results.data.balance
String
Balance of address with ERC-20 contract
results.data
List<Object>
List of data
results
Json
Results of request
message
String
Response Message of request

{
"status": "200",
"message": "success",
"results": {
"data": {
"balance": "5001300000000000000"
}
}
}
Copy link
On this page
Get ERC20-Token total supply by contract's address
Get ERC20-Token Account Balance