Defi Integrations
Native Staking
Learn how to stake SUI - native staking
Stake your SUI tokens with native staking to earn staking rewards. This creates liquid staking positions using SUI token.
Usage
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
amount | number | Yes | Amount to be staked |
poolId | string | Yes | Pool address to stake to |
Example Prompts
Natural Language Prompts
LangChain Tool Prompts
Example Implementation
Implementation Details
- Uses
sui system
for staking - Automatically handles transaction versioning
- Includes proper transaction confirmation
- Provides liquid staking position
Response Format
Error Handling
Best Practices
- Balance Verification
- Check SUI 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
Important Notes
- Minimum staking amount: 1 SUI
- Staking rewards auto-compound
- No unbonding period required
Related Functions
- get_holding: Check token balances