trades

Returns 100 DEX trades by token on Polygon, where side currency smart contract is 0x2791…4174 and transaction hash is 0x0000…9f12: transaction hash, transaction index, buyer, seller, trade amount, amount in USD, currency symbol and 8 more fields.

By gaurav · saved 16 February 2026 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(network: matic) {
    DEXTradeByTokens(
      limit: {count: 100}
      where: {
        Trade:{
          Side:{
            Currency:{
              SmartContract:{is:"0x2791bca1f2de4661ed88a30c99a7a9449aa84174"}
            }
          }
        }
        Transaction: {Hash: {is: "0x000017ceffce1a0e51679ec59d7bd56984fe8a41ba66bb2d594d95e662309f12"}}}
    ) {
      Transaction {
        Hash
        Index
      }
      Trade {
        Buyer
        Seller
        Amount
        AmountInUSD
        Currency {
          Symbol
          SmartContract
          Name
        }
        Side {
          Amount
          Currency {
            Symbol
            SmartContract
            Name
          }
          Ids
        }
        Ids
      }
    }
  }
}

Similar queries