usdt token transfer events subscription template

This API gives you transfer events emitted by USDT smart contract in real time

Streams the latest 10 events on Ethereum as they happen, where log smart contract is 0xdac1…1ec7 and signature signature is Transfer(address,address,uint256): from, to, transaction hash, enter index, exit index, signature name, signature signature and 3 more fields.

By Nikhil · saved 7 July 2023 · Bitquery API v2

What it returns

Filters

The subscription

subscription ($token: String!) {
  EVM( network: eth) {
    Events(
      limit: {count: 10}
      where: {Log: {Signature: {Signature: {is: "Transfer(address,address,uint256)"}}, SmartContract: {is: $token}}}
      orderBy: {descending: Block_Time}
    ) {
      Transaction {
        From
        To
        Hash
      }
      Log {
        EnterIndex
        ExitIndex
        Signature {
          Name
          Signature
          SignatureHash
        }
        SmartContract
      }
      Block {
        Time
      }
    }
  }
}

Variables

{
  "token": "0xdac17f958d2ee523a2206206994597c13d831ec7"
}

Similar queries