Skip to main content

0.01 credits per call

getStakeActivation on Solana: Returns epoch activation information for a stake account (deprecated).
This method is deprecated in the upstream RPC API and may be removed by node operators. Use getAccountInfo instead.

Endpoint

https://rpc.goldrushdata.com/v1/solana-mainnet
Authenticate with Authorization: Bearer <GOLDRUSH_API_KEY>. See authentication.

Parameters

NameTypeRequiredDescriptionExample
addressstringyesBase-58 encoded stake account address."CYRJWqiSjLitBAcRxPvWpgX3s5TvmN2SuRY3eEYypFvT"
configobjectno{commitment?, epoch?, minContextSlot?}.{"commitment":"finalized"}

Returns

object: {state, active, inactive}.
{"state":"active","active":42000000000,"inactive":0}

Examples

curl https://rpc.goldrushdata.com/v1/solana-mainnet \
  -H "Authorization: Bearer $GOLDRUSH_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "getStakeActivation",
    "params": ["CYRJWqiSjLitBAcRxPvWpgX3s5TvmN2SuRY3eEYypFvT", {"commitment":"finalized"}]
  }'

Errors

Standard JSON-RPC errors: -32600 invalid request, -32601 method not found, -32602 invalid params.