Find latest balance of an address for a token using Balances
Returns the latest balance on Polygon, where balance address is 0x821d…6948 and currency smart contract is 0xe50f…28c8: currency symbol, smart contract and balance amount.
What it returns
- currency symbol
- smart contract
- balance amount
Filters
- balance address is 0x821d…6948
- currency smart contract is 0xe50f…28c8
The query
{
EVM(network: matic, dataset: realtime) {
Balances(
where: {Balance: {Address: {is: "0x821d0DeFD76Ecbf9C44E4fBAb4ff41F590Bd6948"}}, Currency: {SmartContract: {is: "0xe50fa9b3c56ffb159cb0fca61f5c9d750e8128c8"}}}
orderBy: {descending: Block_Date}
limit: {count: 1}
) {
Currency {
Symbol
SmartContract
}
Balance {
Amount
}
}
}
}
Similar queries
- Polygon — Current balance of an address · Polygon · Balances
- matic-balances-specific-token · Polygon · Balances
- matic-historical-balances-address · Polygon · Balances
- matic-balances-address · Polygon · Balances
- matic-balances-history · Polygon · Balances