stream_pair_price_arb_usdc

Latest BSC PancakeSwap v3 dextrades - Stream

Streams DEX trades by token on Arbitrum as they happen, where currency smart contract is 0x912c…6548, side currency smart contract is 0xff97…5cc8 and block time after 2025-08-27, sorted by amount, highest first: protocol family, protocol name, price in USD and sum of trade side amount in USD.

By Horse Dragon · saved 30 August 2025 · run 1 time · Bitquery API v2

What it returns

Filters

The subscription

subscription ($network: evm_network, $token: String, $base: String, $time_ago: DateTime) {
  EVM(network: $network) {
    DEXTradeByTokens(
      orderBy: {descendingByField: "amount"}
      where: {TransactionStatus: {Success: true}, Trade: {Currency: {SmartContract: {is: $base}}, Side: {Amount: {gt: "0"}, Currency: {SmartContract: {is: $token}}}}, Block: {Time: {after: $time_ago}}}
    ) {
      Trade {
        Dex {
          ProtocolFamily
          ProtocolName
        }
        price_last: PriceInUSD(maximum: Block_Number)
      }
      amount: sum(of: Trade_Side_AmountInUSD)
    }
  }
}

Variables

{
  "network": "arbitrum",
  "base": "0x912ce59144191c1204e64559fe8253a0e49e6548",
  "token": "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8",
  "time_ago": "2025-08-27T08:48:34Z"
}

Similar queries