Unstake Assets via Service Provider

Unstakes assets using configured service provider

Validates the asset_code, resolves the Ethereum network
from the asset configuration, builds an unstake contract, and submits
it for processing via the transaction manager.

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

Carries the information required to initiate a validator exit and issue unstaked funds.

string
required

Asset code for the staking asset.

service_provider_unstaking_data
object
required
Responses

400

Possible reasons:

  • asset_code not found
  • network needs to be configured for this asset_code
401

Not authenticated

422

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

500

Possible reasons:

  • could not begin transactional query
  • failed to build unstake contract
  • failed to commit database transaction
  • failed to get treasury user
  • failed to save contract
  • failed to submit unstake transaction
  • treasury user is not configured
  • unable to connect to database
Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json