GetKongTrades

Returns the latest 10 DEX trades, where buy currency smart contract is 0x6E3a…4328 and block time since 2024-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 2 times · Bitquery API v2

What it returns

Filters

The query

  query {
    EVM(dataset: realtime) {
      DEXTrades(
        limit: { offset: 0, count: 10 }
        orderBy: { descendingByField: "Block_Time" }
        where: {
          Block: {
            Time: { since: "2024-01-01T00:00:00Z" }  # Look back to start of 2024
          }
          Trade: {
            Buy: {
              Currency: { 
                Fungible: false,
                SmartContract: { is: "0x6E3a2e08A88186f41ECD90E0683d9cA0983a4328" }
              }
            }
          }
        }
      ) {
        Trade {
          Dex {
            ProtocolName
            SmartContract
          }
          Buy {
            Price
            Seller
            Buyer
            Currency {
              Symbol
              Name
              SmartContract
            }
            Ids
            URIs
          }
          Sell {
            Amount
            Currency {
              Name
            }
          }
        }
        Transaction {
          Hash
        }
        Block {
          Time
        }
      }
    }
  }

Similar queries