Skip to main content
POST
/
unstakeAsset
Unstake Asset
curl --request POST \
  --url https://gateway.varchev.com/crypto/unstakeAsset \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'tenantId: <tenantid>' \
  --data '
{
  "nonce": "-51296282",
  "asset": "XBT.M",
  "amount": "Duis consequat"
}
'
{
  "error": [],
  "result": {
    "refid": "BOG5AE5-KSCNR4-VPNPEV"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.varchev.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

tenantId
string
required

Tenant/Owner id

Content-Type
string

Body

application/json
nonce
string

(Required)

Example:

"-51296282"

asset
string

(Required) Asset to unstake (asset ID or altname). Must be a valid staking asset (e.g. XBT.M, XTZ.S, ADA.S)

Example:

"XBT.M"

amount
string

(Required) Amount of the asset to stake

Example:

"Duis consequat"

Response

200 - application/json

OK

The response is of type object.