Stake Assets via Service Provider

Stakes assets using configured service provider

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

Vault ID for the custody vendor used to provide staking assets.

string
required

Asset code for the staking asset.

string
required

Address that will receive unstaked assets and staking rewards.

string
required

Amount to stake (denominated in ETH).

Responses

400

Possible reasons:

  • amount has sub-Gwei precision; provide at most 9 decimal places
  • asset_code not found
  • incorrect address format
  • incorrect amount
  • network needs to be configured for this asset_code
  • unable to parse vault_id
401

Not authenticated

422

The request body is valid JSON but does not match the expected schema.

500

Possible reasons:

  • bd post stake intent failed
  • configured network is not supported
  • could not begin transactional query
  • failed to build stake contract
  • failed to commit database transaction
  • failed to get treasury user
  • failed to save contract
  • failed to save staking position
  • failed to submit stake transaction
  • service not configured to support staking
  • treasury user is not configured
  • unable to connect to database
  • unable to create contract call data
  • unable to obtain vault info
  • unable to parse available amount
  • unable to parse staked amount
  • vault does not contain asset_code
Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json