Matic_trade

Returns 5 DEX trades on Ethereum, where buy currency smart contract is 0x7D1A…eBB0, sorted by trade buy amount, highest first: buy buyer, buy currency name, buy protocol name, buy amount and transaction hash.

By Omkar_BQ · saved 10 August 2023 · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(dataset: combined, network: eth) {
    DEXTrades(
      limit: {count: 5}
      orderBy: {descending: Trade_Buy_Amount}
      where: {Trade: {Buy: {Currency: {SmartContract: {is: "0x7D1AfA7B718fb893dB30A3aBc0Cfc608AaCfeBB0"}}}}}
    ) {
      Trade {
        Buy {
          Buyer
          Currency {
            Name
            ProtocolName
          }
          Amount
        }
      }
      Transaction {
        Hash
      }
    }
  }
}

Similar queries