latest_trades_by_maker

Returns 10 DEX trades on Arbitrum, where DEX owner address is 0x1f98…f984 and DEX smart contract is 0xc6f7…396a, sorted by fee burnt, highest first: from, to, protocol name, smart contract, pair name, owner address, buy currency name and 6 more fields.

By chmodls · saved 22 November 2024 · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(dataset: archive, network: arbitrum) {
    DEXTrades(
      where: {Trade: {Dex: {OwnerAddress: {is: "0x1f98431c8ad98523631ae4a59f267346ea31f984"}, SmartContract: {is: "0xc6f780497a95e246eb9449f5e4770916dcd6396a"}}}}
      limit: {count: 10}
      orderBy: {descending: Fee_Burnt}
    ) {
      Transaction {
        From
        To
      }
      Trade {
        Dex {
          ProtocolName
          SmartContract
          Pair {
            Name
            SmartContract
          }
          OwnerAddress
        }
        Buy {
          Currency {
            Name
          }
          Price
          Amount
        }
        Sell {
          Amount
          Currency {
            Name
          }
          Price
        }
      }
      Block {
        Time
      }
    }
  }
}

Similar queries