GetKongTrades

Returns the latest 50 DEX trades on Ethereum, where block time since 2023-01-01: protocol name, smart contract, buy price, buy seller, buy buyer, buy currency symbol, buy currency name and 7 more fields.

By Kongtroller · saved 17 May 2025 · run 1 time · Bitquery API v2

What it returns

Filters

The query

  query {
    EVM(dataset: realtime, network: ethereum) {
      DEXTrades(
        limit: { offset: 0, count: 50 }
        orderBy: { descendingByField: "Block_Time" }
        where: {
          Block: {
            Time: { since: "2023-01-01T00:00:00Z" }
          }
          Trade: {
            Buy: {
              Currency: { 
                Fungible: false
              }
            }
          }
        }
      ) {
        Trade {
          Dex {
            ProtocolName
            SmartContract
          }
          Buy {
            Price
            Seller
            Buyer
            Currency {
              Symbol
              Name
              SmartContract
            }
            Ids
            URIs
          }
          Sell {
            Amount
            Currency {
              Name
            }
          }
        }
        Transaction {
          Hash
        }
        Block {
          Time
        }
      }
    }
  }

Similar queries