pancake-smart-contracts icon indicating copy to clipboard operation
pancake-smart-contracts copied to clipboard

Access the history.

Open arthurwolf opened this issue 1 year ago • 1 comments

Hello.

I'd like some hints as to how to get the full history of rounds and bets (including amounts) from the blockchain. Any information would be helpful.

I'm currently using https://thegraph.com/hosted-service/subgraph/pancakeswap/prediction-v2 but it's broken (things don't add up correctly).

I have my own BSC node so I can query that if needed, or I can call any API.

I just don't know exactly what to query and how.

Any help would be welcome (and rewarded).

Thanks!

arthurwolf avatar Sep 30 '22 21:09 arthurwolf