USDT Wallet History subscription

real time transaction history for a wallet for USDT tokens on the Ethereum network using this API. It provides data on transactions made from that wallet to other wallets, amount of transaction and transaction fees for those transactions. We will use our Transfer API to get USDT transactions.

By Nikhil · saved 10 July 2023 · Bitquery API v2

What it returns

Filters

The subscription

subscription ($token: String) {
  EVM(network: eth) {
    inbound: Transfers(
      limit: {count: 10}
      where: {Transfer: {Currency: {SmartContract: {is: $token}}, Receiver: {is: "0xf6e8516ce73c290f43dd32d57f7ba9056d62d244"}}}
    ) {
      Block {
        Time
        Number
      }
      Transfer {
        Amount
        Currency {
          Name
          Symbol
          SmartContract
        }
        Receiver
        Sender
      }
      Transaction {
        From
        Hash
        To
      }
    }
    outbound: Transfers(
      limit: {count: 10}
      where: {Transfer: {Currency: {SmartContract: {is: $token}}, Sender: {is: "0xf6e8516ce73c290f43dd32d57f7ba9056d62d244"}}}
    ) {
      Block {
        Time
        Number
      }
      Transfer {
        Amount
        Currency {
          Name
          Symbol
          SmartContract
        }
        Receiver
        Sender
      }
      Transaction {
        From
        Hash
        To
      }
    }
  }
}

Variables

{
  "token": "0xdac17f958d2ee523a2206206994597c13d831ec7"
}

Similar queries