# Native Staking

Going through our <mark style="color:yellow;">getting started</mark> section will help you understand few basics first.

{% content-ref url="../graphql-apis/getting-started" %}
[getting-started](https://docs.shyft.to/solana-indexers/graphql-apis/getting-started)
{% endcontent-ref %}

TLDR:  Understanding Native Stake program's schema is essential to figure out what fields are stored and how you can efficiently query them. To see the schema and start querying, follow these steps:

* Get an [<mark style="color:red;">API key</mark>](https://shyft.to/get-api-key) if you don't have one.
* Head to any GraphQL client of your choice, for example [<mark style="color:red;">Hasura</mark>](https://cloud.hasura.io/public/graphiql)<mark style="color:red;">.</mark>
* Enter the GraphQL endpoint for your preferred network
  * Mainnet: <mark style="color:yellow;"><https://programs.shyft.to/v0/graphql/?api\\_key={api-key}\\&network=mainnet-beta></mark>
  * Devnet: <mark style="color:yellow;"><https://programs.shyft.to/v0/graphql/?api\\_key={api-key}\\&network=devnet></mark>
* Scroll down to **Stake\_Program\_accountName** to see the schema.
