Small Trades Token pair USDC (USD Coin (Arb1)) vs WETH (Wrapped Ether)

amount gt: 0.0001

Returns 10 DEX trades by token on Arbitrum, where side currency smart contract is 0xff97…5cc8, currency smart contract is 0x82af…bab1 and block date since 2021-01-14, sorted by block time: chain ID, block time, transaction hash, trade price, trade amount, side amount, side currency symbol and 2 more fields.

By Aleksey · saved 20 July 2023 · run 4 times · Bitquery API v2

What it returns

Filters

The query

query ($network: evm_network,  $from: String, $till: String, $baseCurrency: String, $quoteCurrency: String) {
  EVM(network: $network, dataset: combined) {
    DEXTradeByTokens(
      orderBy: {ascendingByField: "Block_Time"}
      where: {Trade: {Side: {Currency: {SmartContract: {is: $baseCurrency}, Symbol: {}}}, Currency: {SmartContract: {is: $quoteCurrency}}}, Block: {Date: {since: $from, till: $till}}}
      limit: {count: 10}
    ) {
      ChainId
      Block {
        Time
      }
      
      Transaction {
        Hash
      }
      
      Trade {
        Price
        Amount
        Side {
        Amount
          Currency {
            Symbol
          }
        }
        Currency {
          
          Symbol
        }
      }
      count
    }
  }
}

Variables

{
  "network": "arbitrum",
  "interval": 15,
  "from": "2021-01-14",
  "till": "2023-06-20",
  "baseCurrency": "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8",
  "quoteCurrency": "0x82af49447d8a07e3bd95bd0d56f35241523fbab1"
}

Similar queries