Create Stake Action

POST /staking/stakes/:stakeId/actions

Creates a new stake action.

Required Permissions

Name
Conditions

Stakes:Update

Always Required

Path Parameters

Name
Conditions

stakeId*

Id of the stake to update

Body

Babylon

Property
Required/Optional
Description
Type

protocol *

Required

Staking Protocol: Babylon

String

kind *

Required

The action to perform: Either Unbond or Withdraw

String

Example

{
  "protocol": "Babylon",
  "kind": "Withdraw",
}

Ethereum

Property
Required/Optional
Description
Type

protocol *

Required

Staking Protocol: Ethereum

String

kind *

Required

The action to perform: Only Withdraw available

String

Example

Iota

Property
Required/Optional
Description
Type

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

Response

Response example

Last updated