Pool Address Trade Example

Returns the latest 10 DEX trades on Ethereum, where DEX smart contract is 0xaeca…4e77: block time, buy amount, buy buyer, buy seller, buy price, buy smart contract and transaction hash.

By Divyasshree N · saved 31 October 2023 · run 3 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(dataset: combined, network: eth) {
    DEXTrades(
      limit: {count: 10}
      where: {Trade: {Dex: {SmartContract: {is: "0xaeca06cd3948e8c28a50f0520202c59f639f4e77"}}}}
      orderBy: {descending: Block_Time}
    ) {
      Block {
        Time
      }
      Trade {
        Buy {
          Amount
          Buyer
          Seller
          Price
          Currency {
            SmartContract
          }
        }
      }
      Transaction {
        Hash
      }
    }
  }
}

Similar queries