Get USDT Approval Events Template

Returns all the approval events from USDT in descending order.

Returns 10 smart contract events on Ethereum, where smart contract address is 0xdac1…1ec7 and smart contract event is Approval, sorted by block timestamp iso8601, highest first: smart contract event name, smart contract event signature, address address, annotation, transaction hash and iso8601.

By Nikhil · saved 7 July 2023 · run 4 times · Bitquery API v1

What it returns

Filters

The query

query ($token: String) {
  ethereum {
    smartContractEvents(
      smartContractAddress: {is: $token}
      smartContractEvent: {is: "Approval"}
      options: {limit: 10, desc: "block.timestamp.iso8601"}
    ) {
      smartContractEvent {
        name
        signature
      }
      smartContract {
        address {
          address
          annotation
        }
      }
      transaction {
        hash
      }
      block {
        timestamp {
          iso8601
        }
      }
    }
  }
}

Variables

{
  "token": "0xdac17f958d2ee523a2206206994597c13d831ec7"
}

Similar queries