dev talk 1inchv5 error

Returns DEX trades on Base, where transaction hash is 0x155c…2a9f: block time, protocol name, protocol family, smart contract, buy amount, buy buyer, buy seller and 17 more fields.

By Divyasshree · saved 3 December 2024 · run 2 times · Bitquery API v2

What it returns

Filters

The query

{
  EVM(network: base, dataset: realtime) {
    DEXTrades(
      where: {Transaction: {Hash: {is: "0x155ce1a507ba5d08f10616e34187fc9997223badec929f427abeaec341ae2a9f"}}}
    ) {
      Block {
        Time
      }
      Trade {
        Dex {
          ProtocolName
          ProtocolFamily
          SmartContract
        }
        Buy {
          Amount
          Buyer
          Seller
          Currency {
            Decimals
            Fungible
            HasURI
            Name
            ProtocolName
            SmartContract
            Symbol
          }
          OrderId
        }
        Sell {
          Buyer
          Seller
          Currency {
            Decimals
            Fungible
            HasURI
            Name
            ProtocolName
            SmartContract
            Symbol
          }
        }
      }
    }
  }
}

Similar queries