base_magpie_router

Returns 100 DEX trades by token on Base, where DEX protocol name is magpie_router and block time since 2025-11-27: block time, transaction hash, trade amount, protocol name, currency symbol, currency name, smart contract and 8 more fields.

By alex · saved 28 November 2025 · run 9 times · Bitquery API v2

What it returns

Filters

The query

query pairs {
  EVM(network: base) {
    DEXTradeByTokens(
      limit: {count: 100}
      where: {TransactionStatus: {Success: true}, 
        Trade: {Dex: {ProtocolName: {is: "magpie_router"}}}, 
        Block: {Time: {since: "2025-11-27T15:22:05Z"}}}
    ) {
      Block {
        Time(maximum: Block_Time)
      }
      Transaction {
        Hash
      }
      Trade {
        Amount
        Dex {
          ProtocolName
        }
        Currency {
          Symbol
          Name
          SmartContract
          ProtocolName
          Decimals
        }
        Side {
          Amount
          Currency {
            Symbol
            Name
            SmartContract
            ProtocolName
            Decimals
          }
        }
        price_last: PriceInUSD(maximum: Block_Number)
      }
    }
  }
}

Similar queries