usdt token approval events subscription

This is subscription api that gives you Approval events emitted by USDT smart contract in real time

By Nikhil · saved 7 July 2023 · run 7 times · Bitquery API v2

What it returns

Filters

The subscription

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

Variables

{
  "address": "0xdac17f958d2ee523a2206206994597c13d831ec7",
  "network": "eth"
}

Similar queries