Kusama Staking
Instructions: https://help.allnodes.com/en/articles/6730086-kusama-staking-api
Bond coins (initial)
POST
https://www.allnodes.com/api/v1/staking
This endpoint allows you to get serialized unsigned transaction for initial bond coins.
Headers
Authorization*
string
Bearer TOKEN
Request Body
currencySymbol*
string
Must be "KSM"
action*
string
Must be "initial-bond"
address*
string
Your wallet address (will be used as stash account)
controller*
string
Your wallet address (will be used as controller account)
payee*
string
"stash-reinvest" | "stash-save" | "controller"
amount*
string
Amount to stake (in KSM)
Bond extra coins
POST
https://www.allnodes.com/api/v1/staking
This endpoint allows you to get serialized unsigned transaction for bonding extra coins.
Headers
Authorization*
string
Bearer TOKEN
Request Body
currencySymbol*
string
Must be "KSM"
action*
string
Must be "bond-extra"
address*
string
Your wallet address (stash account)
amount*
string
Amount to bond (in KSM)
Nominate validators
POST
https://www.allnodes.com/api/v1/staking
This endpoint allows you to get serialized unsigned transaction for nominate validators.
Headers
Authorization*
string
Bearer TOKEN
Request Body
currencySymbol*
string
Must be "KSM"
action*
string
Must be "nominate"
address*
string
Your wallet address (stash account)
validators*
string[]
Addresses of validators to nominate (up to 16 unique addresses)
Unbond coins
POST
https://www.allnodes.com/api/v1/staking
This endpoint allows you to get serialized unsigned transaction for unbonding coins.
Headers
Authorization*
string
Bearer TOKEN
Request Body
currencySymbol*
string
Must be "KSM"
action*
string
Must be "unbond"
address*
string
Your wallet address (stash account)
amount*
string
Amount to unbond (in KSM)
Withdraw stake (after unbonding period finished)
POST
https://www.allnodes.com/api/v1/staking
This endpoint allows you to get serialized unsigned transaction for withdraw stake. Unbonding period: 7 days
Headers
Authorization*
string
Bearer TOKEN
Request Body
currencySymbol*
string
Must be "KSM"
action*
string
Must be "withdraw-stake"
address*
string
Your wallet address (stash account)
Last updated