getStakeActivation | Solana

You can get the current epoch & account values on Solscan > Validators.

Solana getStakeActivation method

The Solana getStakeActivation method returns the stake activation state for a given stake account.

This method provides the stake activation state, which indicates whether the stake is active, inactive, or in a state of activation or deactivation. It is useful for tracking the state of a stake account.

๐Ÿ‘

Get you own node endpoint today

Start for free and get your app to production levels immediately. No credit card required.

You can sign up with your GitHub, X, Google, or Microsoft account.

Parameters

  • stakePubkey โ€” the public key of the stake account to retrieve the activation state for.
  • options โ€” (optional) additional options:
    • epoch โ€” the epoch for which to retrieve the stake activation state.

Response

  • value โ€” the stake activation state:
    • state โ€” the state of the stake (can be "active", "inactive", "activating", or "deactivating").
    • active โ€” the amount of active stake.
    • inactive โ€” the amount of inactive stake.

Use case

A practical use case for getStakeActivation is to track the state of a stake account. This can be useful for wallets or other applications that need to display or make use of this information.

Try the getStakeActivation RPC method yourself

Language
Click Try It! to start a request and see the response here!