GetKongTrades

Returns the latest 10 DEX trades: 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 · Bitquery API v2

What it returns

The query

  query {
    EVM(dataset: realtime) {
      DEXTrades(
        limit: { offset: 0, count: 10 }
        orderBy: { descendingByField: "Block_Time" }
        where: {
          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