Create Stake

POST /staking/stakes

Creates a new stake.

Required Permissions

Name
Conditions

Stakes:Create

Always Required

Parameters

Body

Property
Required/Optional
Description
Type

walletId *

Required

Id of the Dfns wallet making the deposit.

String

amount *

Required

Transaction amount denominated in min units

String

provider

Optional

Staking Provider, Eg "Figment"

String

protocol *

Required

Staking Protocol, Eg "Babylon", "Iota",..

String

Currently, only two kind are possible: LockedNative for vested staking on IOTA and Native otherwise.

Depending on the protocol, some arguments are required when creating a stake:\

Babylon

fields
Type

duration*

number

Iota

fields
Type
Remarks

validator*

string

amount

string

lockedIotas

string[]

for vested staking

Example

Response

Response example

Remarks

When creating a stake it will implicitly create a StakeAction with kind Stake

Last updated