Array includes example
Returns the latest 10 DEX trades, where transaction to is 0x39da…D541 and DEX protocol name is seaport_v1.4: protocol name, buy price, buy seller, buy buyer, buy currency symbol, buy has URI, buy currency name and 12 more fields.
What it returns
- protocol name
- buy price
- buy seller
- buy buyer
- buy currency symbol
- buy has URI
- buy currency name
- buy fungible
- buy smart contract
- buy ids
- buy order ID
- buy uris
- sell price
- sell amount
- sell currency name
- sell buyer
- sell seller
- transaction hash
- block time
Filters
- transaction to is 0x39da…D541
- DEX protocol name is seaport_v1.4
The query
query MyQuery {
EVM {
DEXTrades(
limit: {offset: 0, count: 10}
orderBy: {descendingByField: "Block_Time"}
where: {Trade: {
Buy: {Ids: {includes: [{eq: "5559"}]}}
Dex: {ProtocolName: {is: "seaport_v1.4"}}}, Transaction: {To: {is: "0x39da41747a83aeE658334415666f3EF92DD0D541"}}}
) {
Trade {
Dex {
ProtocolName
}
Buy {
Price
Seller
Buyer
Currency {
Symbol
HasURI
Name
Fungible
SmartContract
}
Ids
OrderId
URIs
}
Sell {
Price
Amount
Currency {
Name
}
Buyer
Seller
}
}
Transaction {
Hash
}
Block {
Time
}
}
}
}
Similar queries
- Latest Curve DEX swaps on Ethereum · Ethereum · DEXTrades
- Top Curve liquidity pools by 24h volume on Ethereum · Ethereum · DEXTrades
- STRN_TOKEN_MULTIPLE_DECIMALS_DEX_TRADES · Ethereum · DEXTrades
- USDT DECIMAL SHOWING 0 · Ethereum · DEXTrades
- Trades - 0xEE61159E8A72A08371c52D62c19Efd0C7914f917 · Ethereum · DEXTrades