Create Stake Action
Last updated
Last updated
POST /staking/stakes/:stakeId/actions
Creates a new stake action.
Stakes:Update
Always Required
stakeId
*
Id of the stake to update
protocol
*
Required
Staking Protocol: Babylon
String
kind
*
Required
The action to perform: Either Unbond or Withdraw
String
Example
protocol
*
Required
Staking Protocol: Ethereum
String
kind
*
Required
The action to perform: Only Withdraw available
String
Example
protocol
*
Required
Staking Protocol: "Iota"
String
kind
*
Required
The action to perform: Either Withdraw or Deposit
String
amount
Required for Withdraw / Deposit
Amount to withdraw or add to the stake.
String
lockedIotas
Required for Deposit (Timelocked Stake only)
Locked Iotas to add to the stake.
String[]
Example