cURL
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" } }
Unstake an asset from your staking wallet. This operation requires an API key with Withdraw funds permission.
Withdraw funds
The access token received from the authorization server in the OAuth 2.0 flow.
Tenant/Owner id
(Required)
"-51296282"
(Required) Asset to unstake (asset ID or altname). Must be a valid staking asset (e.g. XBT.M, XTZ.S, ADA.S)
altname
XBT.M
XTZ.S
ADA.S
"XBT.M"
(Required) Amount of the asset to stake
"Duis consequat"
OK
The response is of type object.
object