API v2 - Balance of Fartcoin of a wallet
Returns balance updates on Base, where balance update address is 0x45D4…fb45 and currency smart contract is 0x2f6c…62ae: currency name, currency symbol, smart contract, decimals, sum of balance update amount and sum of balance update amount in USD.
What it returns
- currency name
- currency symbol
- smart contract
- decimals
- sum of balance update amount
- sum of balance update amount in USD
Filters
- balance update address is 0x45D4…fb45
- currency smart contract is 0x2f6c…62ae
The query
query MyQuery($network: evm_network, $walletAddress: String) {
EVM(dataset: combined, network: $network) {
BalanceUpdates(
where: {BalanceUpdate: {Address: {is: $walletAddress}}, Currency: {SmartContract: {is: "0x2f6c17fa9f9bc3600346ab4e48c0701e1d5962ae"}}}
) {
Currency {
Name
Symbol
SmartContract
Decimals
}
balance: sum(of: BalanceUpdate_Amount)
balance_in_usd: sum(of: BalanceUpdate_AmountInUSD)
}
}
}
Variables
{"network": "base", "walletAddress": "0x45D4778a5ad57fa9d102aD47005757fE7640fb45"}
Similar queries
- base token holder · Base · BalanceUpdates
- base real time token holder · Base · BalanceUpdates
- Top 10 holders of multiple tokens on Base · Base · BalanceUpdates
- balances of wallets test2 base · Base · BalanceUpdates
- search address v2 · Ethereum · BalanceUpdates