USDT Balance API Subscription
The query retrieves the balance of USDT (Tether) tokens in realtime for a specific Ethereum wallet address. It searches for the wallet address provided and returns the value of USDT tokens held in that address.
What it returns
- sum of balance update amount
- currency name
- currency symbol
Filters
- currency smart contract is 0xdAC1…1ec7
- balance update address is 0x06d3…dCB6
The subscription
subscription ($network: evm_network, $token_address: String, $wallet_address: String) {
EVM(network: $network) {
BalanceUpdates(
where: {
Currency: {
SmartContract: {
is: $token_address
}
},
BalanceUpdate: {
Address: {
is: $wallet_address
}
}
}
) {
sum(of: BalanceUpdate_Amount)
Currency {
Name
Symbol
}
}
}
}
Variables
{
"network": "eth",
"wallet_address": "0x06d3a30cBb00660B85a30988D197B1c282c6dCB6",
"token_address": "0xdAC17F958D2ee523a2206206994597C13D831ec7"
}
Similar queries
- whale balance update tracking · Ethereum · BalanceUpdates
- usdt balance history subscription api template · Ethereum · BalanceUpdates
- Mempool balance updates on Ethereum, Arbitrum, BNB subscription · Ethereum · BalanceUpdates
- Mempool balance updates on Ethereum, Arbitrum, BNB · Ethereum · BalanceUpdates
- Price Alert · Ethereum · BalanceUpdates