Reading blockchain data

Reading blockchain data is equally important as writing transactions to the chain. That’s why we’re indexing all transactions conducted through the OPENFORMAT smart contracts. These are accessible via a user-friendly GraphQL API, known as a Subgraph. To simplify the process, we’ve established dedicated GET endpoints. These are specifically designed for retrieving Leaderboard data for XP and on-chain profile information for individual users.

Leaderboard

curl --request GET \
  --url https://api.openformat.tech/v1/leaderboard \
  --header 'X-API-KEY: <x-api-key>'

Profile

curl --request GET \
  --url https://api.openformat.tech/v1/profile \
  --header 'X-API-KEY: <x-api-key>'

Data Transparency

Data transparency is a key priority for us and a major reason behind our adoption of blockchain technology. Our software is open-source, and we’re committed to utilising as much open-source software as possible. Our entire stack is accessible on Github. For a deeper understanding of how we store and manage on-chain data, we recommend exploring our smart contracts, API, and graph-node.