matic_empty_tokens
Returns the latest 100 DEX trades by token on Polygon, where block time after 2025-11-26: block time, transaction hash, protocol name, currency symbol, currency name, smart contract, decimals and 9 more fields.
What it returns
- block time
- transaction hash
- protocol name
- currency symbol
- currency name
- smart contract
- decimals
- side currency symbol
- side currency name
- side smart contract
- side protocol name
- side decimals
- price in USD
- sum of trade side amount
- sum of trade side amount in USD
- count
Filters
- block time after 2025-11-26
The query
query pairs($network: evm_network) {
EVM(network: $network) {
DEXTradeByTokens(
where: {TransactionStatus: {Success: true}, any: [{Trade: {Side: {Currency: {Decimals: {ne: 0}, Fungible: true, Name: {is: ""}}}}}, {Trade: {Currency: {Decimals: {ne: 0}, Fungible: true, Name: {is: ""}}}}], Block: {Time: {after: "2025-11-26T13:45:35Z"}}}
orderBy: {descending: Block_Time}
limit: {count: 100}
) {
Block {
Time(maximum: Block_Time)
}
Transaction {
Hash
}
Trade {
Dex {
ProtocolName
}
Currency {
Symbol
Name
SmartContract
ProtocolName
Decimals
}
Side {
Currency {
Symbol
Name
SmartContract
ProtocolName
Decimals
}
}
price_last: PriceInUSD(maximum: Block_Number)
}
amount: sum(of: Trade_Side_Amount)
usd: sum(of: Trade_Side_AmountInUSD)
buy: count(if: {Trade: {Side: {Type: {is: sell}}}})
sell: count(if: {Trade: {Side: {Type: {is: buy}}}})
}
}
}
Variables
{
"network": "matic"
}
Similar queries
- polymarket trades api for specific asset id · Polygon · DEXTradeByTokens
- polymarket trades · Polygon · DEXTradeByTokens
- AfricaCryptoChainx · Ethereum · DEXTradeByTokens
- UniversalSearch EVM · Ethereum · DEXTradeByTokens
- top assets on polymarket · Polygon · DEXTradeByTokens