Solana Staking
Last updated
Last updated
Instructions: https://help.allnodes.com/en/articles/6612209-solana-staking-api
POST
https://www.allnodes.com/api/v1/staking
This endpoint allows you to get list of all your stake accounts.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
POST
http://www.allnodes.com/api/v1/staking
This endpoint allows you to get serialized unsigned transaction for creating stake account.
POST
https://www.allnodes.com/api/v1/staking
This endpoint allows you to get serialized unsigned transaction for delegating staked coins to Allnodes validator.
POST
http://www.allnodes.com/api/v1/staking
This endpoint allows you to get serialized unsigned transaction for unbonding coins (deactivating your stake account).
POST
https://www.allnodes.com/api/v1/staking
This endpoint allows you to get serialized unsigned transaction for withdraw stake.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Authorization*
string
Bearer TOKEN
currencySymbol*
string
Must be "SOL"
action*
string
Must be "get-stake-accounts"
address*
string
Your wallet address
Authorization*
string
Bearer TOKEN
currencySymbol*
string
Must be "SOL"
action*
string
Must be "create-stake-account"
address*
string
Your wallet address
amount*
string
Amount to stake
Authorization*
string
Bearer TOKEN
currencySymbol*
string
Must be "SOL"
action*
string
Must be "stake"
address*
string
Your wallet address
stakeAccountPublicKey*
string
Public key of your stake account. Public key can be extracted from "Create stake account" call
Authorization*
string
Bearer TOKEN
currencySymbol*
string
Must be "SOL"
action*
string
Must be "unbond-stake"
address*
string
Your wallet address
stakeAccountPublicKey*
string
Public key of your stake account. Public key can be extracted from "Create stake account" call
Authorization*
string
Bearer TOKEN
currencySymbol*
string
Must be "SOL"
action*
string
Must be "withdraw-stake"
address*
string
Your wallet address
stakeAccountPublicKey*
string
Public key of your stake account. Public key can be extracted from "Create stake account" call
amount*
string
Amount to withdraw