usdt balance history subscription api template
The subscription retrieves real time balance history of USDT (Tether) tokens in a specific Ethereum wallet address. It searches for the wallet address provided and returns the balance history of USDT tokens held by that address.
What it returns
- currency name
- currency symbol
- smart contract
- balance update amount
- block date
- block time
- transaction hash
Filters
- currency smart contract is 0xdAC1…1ec7
- balance update address is 0xF6A4…2c4F
- block date after 2023-06-01
The subscription
subscription ($token: String) {
EVM(network: eth) {
BalanceUpdates(
where: {Currency: {SmartContract: {is: $token}}, BalanceUpdate: {Address: {is: "0xF6A4d0405afF4f0e981817C996A5Cf7F75682c4F"}}, Block: {Date: {after: "2023-06-01"}}}
limit: {count: 10}
orderBy: {descending: Block_Time}
) {
Currency {
Name
Symbol
SmartContract
}
BalanceUpdate {
Amount
}
Block {
Date
Time
}
Transaction {
Hash
}
}
}
}
Variables
{
"token": "0xdAC17F958D2ee523a2206206994597C13D831ec7"
}
Similar queries
- whale balance update tracking · 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
- tdata-req · Ethereum · BalanceUpdates