Good evening and sorry, I’ve tried several times to be autonomous, but I’m not good at using GraphQL.
With a single call, I need the first 200 tokens on BSC, as information on the latter,
I need the name, the symbol, the address,
current price and marketcap.
is it possible to do such a thing or am I asking too much?
thank you all
i am currently using this code, but it does not give me the marketcap.
and the volume comparing poocoin does not seem exact to me
{
ethereum(network: bsc) {
list1: dexTrades(
options: {limitBy: {each: "baseCurrency.symbol", limit: 1}, desc: ["block.timestamp.time", "tradeIndex"]}
exchangeName: {in: ["Pancake","Pancake v2"]},
quoteCurrency: {in: ["0x55d398326f99059ff775485246999027b3197955"]}
time: {since: "2022-05-12T00:00:00"}
) {
baseCurrency {
address
symbol
name
}
block {
height
timestamp {
time(format: "%Y-%m-%d %H:%M:%S")
}
}
tradeIndex
trades: count
tradeAmount(in: USD)
quoteAmount
quotePrice
quoteCurrency {
address
symbol
name
}
}
}
}
many tokens are missing coinmarketcap
Continuing the discussion from One call for all bsc tokens and prices:
This text will be blurred
Please refer to the following link
Getting token related data such as Marketcap, price, volume, price change - GraphQL Tutorials - Bitquery
You can get this information using this GraphQL query
To obtain the marketcap you would need to multiply the latest price with the total circulating suppy of a token.