Build seamless Solana staking experiences with the Helius SDK. Complete guide from setup to withdrawal with 0% commission validator integration.
How Solana Staking Works
Why Choose Helius Validator
Timing & Epochs
1.5
parameter is the amount in SOL you want to stake.createStakeTransaction(owner, amount)
owner
(PublicKey): The wallet that will own the stake accountamount
(number): Amount of SOL to stakegetStakeInstructions(owner, amount)
getHeliusStakeAccounts(wallet)
createUnstakeTransaction(owner, stakeAccount)
getWithdrawableAmount(stakeAccount, includeRent?)
includeRent
(boolean): Whether to include rent-exempt amountcreateWithdrawTransaction(owner, stakeAccount, destination, amount)
Create and Delegate
Monitor Your Stakes
Deactivate (Start Unstaking)
Withdraw SOL