getInitTokenBalance
Returns one balance update on Base, where balance update address is 0x5dC7…5db2 and currency smart contract is 0x50c5…b0cb, sorted by block time: balance update amount and amount in USD.
What it returns
- balance update amount
- amount in USD
Filters
- balance update address is 0x5dC7…5db2
- currency smart contract is 0x50c5…b0cb
The query
query getInitTokenBalance(
$dataset: dataset_arg_enum!
$network: evm_network
$wallet: String!
$tokenAddress: String!
) {
EVM(dataset: $dataset, network: $network) {
BalanceUpdates(
limit: { count: 1 }
orderBy: { ascending: Block_Time }
where: { BalanceUpdate: { Address: { is: $wallet } }, Currency: { SmartContract: { is: $tokenAddress } } }
) {
BalanceUpdate {
Amount
AmountInUSD
}
}
}
}
Variables
{
"dataset": "combined",
"network": "base",
"tokenAddress": "0x50c5725949a6f0c72e6c4a641f24049a917db0cb",
"wallet": "0x5dC76A02C49d6f15FBdE0506e0d7cc630CEe5db2"
}
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