volume_per_transaction

Returns the latest DEX trades by token on Ethereum, where currency smart contract is 0x4b34…61e5, signature name is OrderFulfilled and call index is 0: transaction hash and average of trade side amount.

By Omkar_BQ · saved 27 September 2024 · run 5 times · Bitquery API v2

What it returns

Filters

The query

query MyQuery {
  EVM(dataset: combined, network: eth) {
    DEXTradeByTokens(
      where: {Trade: {Currency: {SmartContract: {is: "0x4b3406a41399c7FD2BA65cbC93697Ad9E7eA61e5"}}}, Call: {Index: {eq: 0}}, Log: {Signature: {Name: {is: "OrderFulfilled"}}, Index: {eq: 0}}}
      orderBy: {descending: Block_Number}
    ) {
      Transaction {
        Hash
      }
      average(of: Trade_Side_Amount)
    }
  }
}

Similar queries