You can get the current epoch & account values on Solscan > Validators.
Solana getStakeActivation
method
getStakeActivation
methodThe 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
getStakeActivation
RPC method yourself