trade_

Returns DEX trades on Ethereum, where transaction from is 0xc886…dd7a or 0xca0d…bad3 and transaction hash is 0xd599…9b20: block time, base fee, priority fee per gas, from, to, transaction hash, sell amount and 13 more fields.

By Omkar_BQ · saved 13 December 2024 · run 2 times · Bitquery API v2

What it returns

Filters

The query

query{
  confirmed: EVM(mempool: false, network: eth, dataset: combined) {
    buyside: DEXTrades(
      where: {Transaction: {From: {in: ["0xc886a15f637981d1cda9fe70860c7d78095add7a", "0xca0d261106df198119d494523bed20e4a32dbad3"]}, Hash: {is: "0xd599e8d5ae2428df50e859ff17bf64879a953683b28eaf298628fc4e30109b20"}}}
    ) {
      Block {
        Time
        BaseFee
      }
      Fee {
        PriorityFeePerGas
      }
      Transaction {
        From
        To
        Hash
      }
      Trade {
        Sell {
          Amount
          Buyer
          Currency {
            Symbol
            SmartContract
            Decimals
          }
          Seller
        }
        Buy {
          Amount
          Buyer
          Currency {
            Symbol
            SmartContract
            Decimals
          }
          Seller
        }
        Success
      }
      Receipt {
        GasUsed
      }
    }
  }
}

Similar queries