arbitrum data-1

arbitrum data

Returns the latest 5 DEX trades on Arbitrum, where transaction to is 0xec8b…03e4 and transaction from is 0x29b5…963e: block time, from, to, transaction hash, transaction value, buy amount, buy buyer and 16 more fields.

By linda · saved 11 January 2024 · run 90 times · Bitquery API v2

What it returns

Filters

The query

query MyQueryWithVariables($from: String!, $to: String!) {
  EVM(dataset: combined, network: arbitrum) {
    buyside: DEXTrades(
      orderBy: {descending: Block_Time}
      where: {TransactionStatus: {Success: true}, Transaction: {To: {is: $to}, From: {is: $from}}}
      limit: {count: 5}
    ) {
      Block {
        Time
      }
      Transaction {
        From
        To
        Hash
        Value
      }
      Trade {
        Buy {
          Amount
          Buyer
          Currency {
            Name
            Symbol
            SmartContract
            Decimals
          }
          Price
          Seller
        }
        Sell {
          Amount
          Buyer
          Currency {
            Name
            SmartContract
            Symbol
            Decimals
          }
          Seller
          Price
        }
        Sender
        Dex {
          ProtocolVersion
        }
      }
    }
  }
}

Variables

{
  "from":"0x29b5319C1e1d1d4F709bfd85191EB15846fe963e",
  "to":"0xec8b0f7ffe3ae75d7ffab09429e3675bb63503e4"
}

Similar queries