base dex trade

Returns DEX trades on Base, where transaction hash is 0x2285…1d3f: transaction hash, from, protocol name, owner address, protocol version, smart contract, pair name and 9 more fields.

By gaurav · saved 16 April 2024 · run 8 times · Bitquery API v2

What it returns

Filters

The query

{
  EVM(network: base) {
    DEXTrades(
      where: {Transaction: {Hash: {is: "0x22857170439debb7edc154a3cf6544fce12e0084f6afe09b0e2c640bfd9c1d3f"}}}
    ) {
      Transaction {
        Hash
        From
      }
      Trade {
        Dex {
          ProtocolName
          OwnerAddress
          ProtocolVersion
          Pair {
            SmartContract
            Name
            Symbol
          }
        }
        Buy {
          Amount
          Buyer
          Seller
          Currency {
            Name
            SmartContract
          }
        }
        Sell {
          Amount
          Currency {
            Name
            SmartContract
          }
        }
      }
    }
  }
}

Similar queries