listening to usdt transfer for an address in mempool

Streams transfers on Ethereum as they happen, where currency smart contract is 0xdac1…1ec7 and transfer amount is above 1: log index, transaction time, transaction type, to, gas, from, cost and 9 more fields.

By gaurav · saved 29 October 2024 · Bitquery API v2

What it returns

Filters

The subscription

subscription {
  EVM(mempool: true, network: eth) {
    Transfers(
      where: {any: [{Transfer: 
        {Sender: {is: "0x8A9974360855260f1F148519f0a401C225958d98"}}},
        {Transfer: {Receiver: {is: "0x8A9974360855260f1F148519f0a401C225958d98"}}}], 
        Transfer: {Currency: 
          {SmartContract: {is: "0xdac17f958d2ee523a2206206994597c13d831ec7"}},
          Amount: {gt: "1"}}}
    ) {
      Log {
        Index
      }
      Transaction {
        Time
        Type
        To
        Gas
        From
        Cost
        Hash
        GasPrice
      }
      Transfer {
        Amount
        Currency {
          Name
        }
        Type
      }
      TransactionStatus {
        FaultError
        EndError
        Success
      }
      Block {
        Time
      }
    }
  }
}

Similar queries