[Ethereum] [v2] Latest USDT Trades

Returns the latest 10 DEX trades by token on Ethereum, where currency smart contract is 0xdAC1…1ec7, currency smart contract is not 0x and trade seller is not 0x: chain ID, block number, block time, seller, buyer, trade amount, smart contract and 7 more fields.

By Nikhil · saved 6 September 2023 · run 1 time · Bitquery API v2

What it returns

Filters

The query

{
  EVM(network: eth) {
    DEXTradeByTokens(
      orderBy: {descending: Block_Number}
      limit: {count: 10}
      where: {Trade: {Currency: {SmartContract: {is: "0xdAC17F958D2ee523a2206206994597C13D831ec7", not: "0x"}}, Seller: {not: "0x"}, Side: {Currency: {SmartContract: {not: "0x"}}}, Buyer: {not: "0x"}}}
    ) {
      ChainId
      Block {
        Number
        Time
      }
      Trade {
        Seller
        Buyer
        Amount
        Currency {
          SmartContract
          Symbol
        }
        Price
        Side {
          Amount
          Currency {
            SmartContract
            Symbol
          }
        }
        Dex {
          Pair {
            Name
            SmartContract
          }
          SmartContract
        }
      }
      Transaction {
        Hash
      }
    }
  }
}

Similar queries