pair details

Returns one DEX trade on Base, where DEX smart contract is 0x82bb…aa1c: transaction hash, buy smart contract, buy currency symbol, buy currency name, sell smart contract, sell currency symbol, sell currency name and 3 more fields.

By gaurav · saved 29 June 2024 · run 7 times · Bitquery API v2

What it returns

Filters

The query

{
  EVM(dataset: combined, network: base) {
    DEXTrades(
      limit: {count: 1}
      where: {Trade: {Dex: {SmartContract: {is: "0x82bbadb9d6b2c0a59ed01809e30323f89f6faa1c"}}}}
    ) {
      Transaction {
        Hash
      }
      Trade {
        Buy {
          Currency {
            SmartContract
            Symbol
            Name
          }
        }
        Sell {
          Currency {
            SmartContract
            Symbol
            Name
          }
        }
        Dex {
          SmartContract
          Factory: OwnerAddress
        }
      }
      Block {
        Time(minimum: Block_Time)
      }
    }
  }
}

Similar queries