usdt-arrival-in-a-specific-wallet-ethereum

Streams balance updates as they happen, where currency smart contract is 0xdac1…1ec7, balance update address is 0x5baf…21e4 and balance update amount is above 0: currency name, smart contract, currency symbol, balance update address, balance update amount, amount in USD, block time and transaction hash.

By Kshitij Mahajan · saved 14 October 2024 · Bitquery API v2

What it returns

Filters

The subscription

subscription($token: String = "", $address: String = "") {
  EVM {
    BalanceUpdates(
      where: {Currency: {SmartContract: {is: $token}}, BalanceUpdate: {Amount: {gt: "0"}, Address: {is: $address}}}
    ) {
      Currency {
        Name
        SmartContract
        Symbol
      }
      BalanceUpdate {
        Address
        Amount
        AmountInUSD
      }
      Block {
        Time
      }
      Transaction {
        Hash
      }
    }
  }
}

Variables

{
  "token": "0xdac17f958d2ee523a2206206994597c13d831ec7",
  "address": "0x5baf47751b4eee90d7f9fd5eb75c3ad4162421e4"
}

Similar queries