Create Stake
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.
Required Permissions
Stakes:Create
Always Required
Parameters
Body
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
Depending on the asset kind, the body must be completed with some extra parameter identical to the Transfer Asset from Wallet
Example
Response
Response example
Last updated