Websocket - USDT token transactions - V2 API

Streams the latest 10 transactions on Ethereum as they happen, where transaction to is 0xdac1…1ec7 and block date after 2023-07-01: from, data, gas, gas fee cap, gas price, gas tip cap, transaction hash and 8 more fields.

By gaurav · saved 19 July 2023 · run 1 time · Bitquery API v2

What it returns

Filters

The subscription

subscription ($token: String!) {
  EVM(network: eth, trigger_on: head) {
    Transactions(
      limit: {count: 10}
      orderBy: {descending: Block_Time}
      where: {Transaction: {To: {is: $token}}, Block: {Date: {after: "2023-07-01"}}}
    ) {
      Transaction {
        From
        Data
        Gas
        GasFeeCap
        GasPrice
        GasTipCap
        Hash
        Index
        Nonce
        Protected
        To
        ToCode {
          Hash
          Suicided
        }
        Type
        Value
      }
    }
  }
}

Variables

{
  "token": "0xdac17f958d2ee523a2206206994597c13d831ec7"
}

Similar queries