Skip to main content
POST
/
stakeAsset
Stake Asset
curl --request POST \
  --url https://gateway.varchev.com/crypto/stakeAsset \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'tenantId: <tenantid>' \
  --data '
{
  "nonce": 58258880,
  "asset": "XBT",
  "amount": "ipsum in",
  "method": "sint"
}
'
{
  "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
integer

(Required) Nonce used in construction of API-Sign header

Example:

58258880

asset
string

(Required) Asset to stake (asset ID or altname)

Example:

"XBT"

amount
string

(Required) Amount of the asset to stake

Example:

"ipsum in"

method
string

(Required) Name of the staking option to use (refer to the Staking Assets endpoint for the correct method names for each asset)

Example:

"sint"

Response

200 - application/json

OK

The response is of type object.