pancake-smart-contracts
pancake-smart-contracts copied to clipboard
Access the history.
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!