POST
/
unstakeAsset
curl --request POST \
  --url https://gateway.finhub.cloud/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"
  }
}

Authorizations

Authorization
string
headerrequired

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)

asset
string

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

amount
string

(Required) Amount of the asset to stake

Response

200 - application/json

The response is of type object.