Uniswap Cross-Chain Trading Data Query
Query retrieving Uniswap trading data simultaneously across four major blockchain networks (Ethereum, BSC, Base, and Polygon) in a single API call.
What it returns
- block time
- transaction hash
- protocol name
- amount in USD
- currency symbol
- currency name
- side type
- side currency symbol
- side amount
- side amount in USD
Filters
- DEX protocol family is Uniswap
The query
query CrossChainUniswapTrades {
ethereum: EVM(network: eth) {
DEXTradeByTokens(
orderBy: {descending: Block_Time}
limit: {count: 10}
where: {Trade: {Dex: {ProtocolFamily: {is: "Uniswap"}}}}
) {
Block {
Time
}
Transaction {
Hash
}
Trade {
Dex {
ProtocolName
}
AmountInUSD
Currency {
Symbol
Name
}
Side {
Type
Currency {
Symbol
}
Amount
AmountInUSD
}
}
}
}
binance: EVM(network: bsc) {
DEXTradeByTokens(
orderBy: {descending: Block_Time}
limit: {count: 10}
where: {Trade: {Dex: {ProtocolFamily: {is: "Uniswap"}}}}
) {
Block {
Time
}
Transaction {
Hash
}
Trade {
Dex {
ProtocolName
}
AmountInUSD
Currency {
Symbol
Name
}
Side {
Type
Currency {
Symbol
}
Amount
AmountInUSD
}
}
}
}
base: EVM(network: base) {
DEXTradeByTokens(
orderBy: {descending: Block_Time}
limit: {count: 10}
where: {Trade: {Dex: {ProtocolFamily: {is: "Uniswap"}}}}
) {
Block {
Time
}
Transaction {
Hash
}
Trade {
Dex {
ProtocolName
}
AmountInUSD
Currency {
Symbol
Name
}
Side {
Type
Currency {
Symbol
}
Amount
AmountInUSD
}
}
}
}
}
Similar queries
- CRV hourly OHLC on Curve - Ethereum · Ethereum · DEXTradeByTokens
- Top Metric liquidity pools by 24h volume on Ethereum · Ethereum · DEXTradeByTokens
- ATH of eth token · Ethereum · DEXTradeByTokens
- historical price and historical volume · Ethereum · DEXTradeByTokens
- topTraders EVM · Ethereum · DEXTradeByTokens