basic details of a token.. balance,, price change .. volume etc
Returns address details and DEX trades on Ethereum, where address is 0x5149…86ca, base currency is 0x5149…86ca and quote currency is 0xdac1…1ec7: annotation, address, contract type, attributes name, attributes value, currency symbol, currency name and 6 more fields.
What it returns
- annotation
- address
- contract type
- attributes name
- attributes value
- currency symbol
- currency name
- decimals
- token type
- balances value
- day
- trade amount
- quote price
Filters
- address is 0x5149…86ca
- base currency is 0x5149…86ca
- quote currency is 0xdac1…1ec7
- time since 2021-06-01
- time till 2021-06-03
The query
{
ethereum(network: ethereum) {
details: address(address: {is: "0x514910771af9ca656af840dff83e8264ecf986ca"}) {
annotation
address
smartContract {
contractType
attributes {
name
value
}
currency {
symbol
name
decimals
tokenType
}
}
balances {
currency {
name
symbol
}
value
}
}
otherinfo: dexTrades(
baseCurrency: {is: "0x514910771af9ca656af840dff83e8264ecf986ca"}
quoteCurrency: {is: "0xdac17f958d2ee523a2206206994597c13d831ec7"}
time: {since: "2021-06-01T00:00:00", till: "2021-06-03T00:00:00"}
) {
timeInterval{
day(count: 1)
}
tradeAmount(in: USD)
quotePrice
}
}
}
Similar queries
- ETH_BALANCES · Ethereum · Address
- Balance of a ETH address · Ethereum · Address
- 13406-eth-enhanced_address_stats_p1 · Ethereum · Address
- Total Circulating Supply of a USDT Template · Ethereum · Address
- eth enhanced address stats · Ethereum · Address