data_new

Returns 10 DEX trades, where transaction hash is 0x87c0…de43: block number, nonce, block time, smart contract, pair name, pair symbol, owner address and 20 more fields.

By Oluwatomisin · saved 15 May 2023 · run 1 time · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM {
    DEXTrades(
      limit: {count: 10}
      where: {Transaction: {Hash: {is: "0x87c037bbfb48d42d4a65b4a007ad5ea06966e966d26545152f573db3bb42de43"}}}
    ) {
      Block {
        Number
        Nonce
        Time
      }
      Trade {
        Dex {
          Pair {
            SmartContract
            Name
            Symbol
          }
          OwnerAddress
          SmartContract
          ProtocolName
          ProtocolVersion
          ProtocolFamily
        }
        Buy {
          Amount
          Buyer
          Currency {
            Name
            SmartContract
            Symbol
          }
          Price
          Seller
        }
        Sell {
          Amount
          Buyer
          Currency {
            Name
            SmartContract
            Symbol
          }
          Price
          Seller
        }
      }
      Transaction {
        Hash
        From
        Index
      }
    }
  }
}

Similar queries