curl --request POST \
--url https://nd-326-444-187.p2pify.com/9de47db917d4f69168e3fed02217d15b \
--header 'Content-Type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "getStakeActivation",
"params": [
"6D2jqw9hyVCpppZexquxa74Fn33rJzzBx38T58VucHx9",
{
"epoch": 554
}
]
}'
{
"jsonrpc": "<string>",
"id": 123,
"result": {}
}
curl --request POST \
--url https://nd-326-444-187.p2pify.com/9de47db917d4f69168e3fed02217d15b \
--header 'Content-Type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "getStakeActivation",
"params": [
"6D2jqw9hyVCpppZexquxa74Fn33rJzzBx38T58VucHx9",
{
"epoch": 554
}
]
}'
{
"jsonrpc": "<string>",
"id": 123,
"result": {}
}
getStakeActivation
methodgetStakeActivation
method returns the stake activation state for a given stake account.
This method provides the stake activation state, which indicates whether the stake is active, inactive, or in a state of activation or deactivation. It is useful for tracking the state of a stake account.
stakePubkey
— the public key of the stake account to retrieve the activation state for.options
— (optional) additional options:
epoch
— the epoch for which to retrieve the stake activation state.value
— the stake activation state:
state
— the state of the stake (can be “active”, “inactive”, “activating”, or “deactivating”).active
— the amount of active stake.inactive
— the amount of inactive stake.getStakeActivation
is to track the state of a stake account. This can be useful for wallets or other applications that need to display or make use of this information.Stake activation details
The response is of type object
.
Was this page helpful?