All Pairs on a Specific Arbitrum DEX

Returns 10 DEX trades on Arbitrum, where buy currency smart contract is 0x912C…6548 and DEX owner address is 0x1f98…f984: protocol name, owner address, buy currency name, buy smart contract, sell currency name and sell smart contract.

By Maroti Patre · saved 19 February 2024 · run 3 times · Bitquery API v2

What it returns

Filters

The query

{
  EVM(dataset: combined, network: arbitrum) {
    DEXTrades(
      where: {
        Trade: {
          Buy: {
            Currency: {
              SmartContract: {
                is: "0x912CE59144191C1204E64559FE8253a0e49E6548"
              }
            }
          }
          Dex: {
            OwnerAddress: { is: "0x1f98431c8ad98523631ae4a59f267346ea31f984" }
          }
        }
      }
      limit: { count: 10 }
      limitBy: { by: Trade_Sell_Currency_SmartContract, count: 1 }
    ) {
      Trade {
        Dex {
          ProtocolName
          OwnerAddress
        }
        Buy {
          Currency {
            Name
            SmartContract
          }
        }
        Sell {
          Currency {
            Name
            SmartContract
          }
        }
      }
    }
  }
}

Similar queries