Create Stake
Last updated
Last updated
POST /staking/stakes
Creates a new stake.
User action signature required. See User Action Signing for more information.
Request headers required. See Request Headers for more information.
Authentication required. See Authentication Headers for more information.
Name | Conditions |
---|---|
Property | Required/Optional | Description | Type |
---|---|---|---|
Depending on the asset kind, the body must be completed with some extra parameter identical to the Transfer Asset from Wallet
Example
Stakes:Create
Always Required
walletId
*
Required
Id of the Dfns wallet making the deposit.
String
kind
*
Required
Enum for the type of asset. Eg "Native" or "ERC20".
String
amount
*
Required
Transaction amount denominated in min units
String
provider
*
Required
Staking Provider, Eg "Figment"
String
protocol
*
Required
Staking Protocol, Eg "Babylon"
String
duration
*
Required
Duration of staking in Bitcoin block for Babylon
Number