Staking & Voting
getStakeMinimumDelegation
Returns the minimum stake delegation amount
Parameters
Configuration object containing:
Commitment level (processed, confirmed, finalized)
Response
Minimum stake delegation amount in lamports
Code Examples
Basic Request
Using web3.js
Notes
- Returns the minimum stake delegation amount in lamports
- The minimum delegation amount is set by the network
- The response is immediate as it reads from the current state
- The minimum delegation amount can change with network upgrades
- This value is important for determining valid stake amounts
Best Practices
- Use appropriate commitment level based on your needs
- Cache results when appropriate to reduce RPC load
- Monitor for changes in the minimum delegation amount
- Consider using websocket subscription for real-time updates
- Handle network errors and retry when appropriate
Common Errors
Code | Message | Solution |
---|---|---|
-32601 | Method not found | Verify you’re connected to a Solana RPC node |
-32602 | Invalid params | Check configuration parameters |
-32007 | Minimum delegation information unavailable | Node may be bootstrapping or syncing |
Use Cases
-
Stake Delegation Analysis
-
Stake Delegation Monitoring
-
Stake Delegation Planning