getStakeMinimumDelegation
Returns the stake minimum delegation in lamports.
This method will use 30 Compute Units.
Parameters
objectoptional. Configuration object containing the following fields:commitmentstring. The level of commitment required for the query. The options include:finalizedstring. The node will query the most recent block confirmed by the supermajority of the cluster as having reached maximum lockout, meaning the cluster has recognized this block as finalized.confirmedstring. The node will query the most recent block that has been voted on by the supermajority of the cluster.processedstring. The node will query its most recent block. Note that the block may not be complete.recentstring. The node will query the minimum delegation commitment status for recent transactions.singlestring. The node will query the minimum delegation commitment status for a single transaction.singleGossipstring. The node will query the minimum delegation commitment status for a single transaction via gossip.rootstring. The node will query the minimum delegation commitment status at the root.maxstring. The node will query the maximum commitment status for minimum delegation.
Returns
value The stake minimum delegation in lamports.
// Result
{
"jsonrpc": "2.0",
"result": {
"context": {
"apiVersion": "2.1.11",
"slot": 320164068
},
"value": 1
},
"id": 1
}curl https://mainnet.solana.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc": "2.0","id":1,"method":"getStakeMinimumDelegation","params":[]}'
curl https://mainnet.solana.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc": "2.0","id":1,"method":"getStakeMinimumDelegation","params":[]}'
Last updated
Was this helpful?