EVM chain currency details
Returns the latest DEX trade by token, where currency smart contract is Your Token Address: currency name, decimals, has URI, fungible, protocol name, currency symbol, smart contract and chain ID.
What it returns
- currency name
- decimals
- has URI
- fungible
- protocol name
- currency symbol
- smart contract
- chain ID
Filters
- currency smart contract is Your Token Address
The query
query MyQuery($address: String!) {
EVM(dataset: realtime) {
DEXTradeByTokens(
where: {Trade: {Currency: {SmartContract: {is: $address}}}, TransactionStatus: {Success: true}}
orderBy: {descending: Block_Time}
limit: {count: 1}
) {
Trade {
Currency {
Name
Decimals
HasURI
Fungible
ProtocolName
Symbol
SmartContract
}
}
ChainId
}
}
}
Variables
{
"address": "Your Token Address"
}
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