Usage
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
amount | number | Yes | Amount of SOL to stake |
Example Prompts
Natural Language Prompts
LangChain Tool Prompts
Example Implementation
Implementation Details
- Uses Jupiter’s validator for staking
- Converts SOL to jupSOL tokens
- Automatically handles transaction versioning
- Includes proper transaction confirmation
- Provides liquid staking position
Response Format
Error Handling
Best Practices
-
Balance Verification
- Check SOL balance before staking
- Account for transaction fees
- Consider minimum stake amounts
-
Transaction Management
- Monitor transaction status
- Implement proper error handling
- Use appropriate commitment levels
-
Security
- Verify transaction details
- Double-check amounts
- Keep private keys secure
-
User Experience
- Show transaction progress
- Display staking rewards
- Explain jupSOL conversion
Important Notes
- Minimum staking amount: 0.1 SOL
- jupSOL token address:
jupSoLaHXQiZZTSfEWMTRRgpnyFm8f6sZdosWBjx93v
- Returns liquid staking token (jupSOL)
- Staking rewards auto-compound
- No unbonding period required
Related Functions
getBalance
: Check SOL/jupSOL balancestransfer
: Send SOL/jupSOL tokenstrade
: Swap between SOL and jupSOL