Create Stake

POST https://api.sfox.com/v1/staking/stake

Create a stake transaction.

Submitting a staking request will transfer the specified quantity of the specified asset from your trading wallet to your staking wallet. At that point the request will begin processing. Once processed you can view and manage this request via the staking transactions endpoint.

A successful stake request will transfer funds from your trading_wallet to your staking_wallet.Your request quantity must be greater than the min_stake_amount required for the asset your are staking.

Body Parameters

ParameterTypeDescription

currency required

string

The asset to stake e.g. avax.

quantity required

number

The amount of the currency to stake.

Response Body

KeyDescription

id

The sFOX-generated ID of this stake transaction.

Responses

200
{
    "data": {
        "id":435
    }
}

Example Request

curl -X POST \
  -H 'Content-type: application/json' \
  -H 'Authorization: Bearer <API_TOKEN>' \
  --data '{ "currency": "avax",
            "quantity": 500 }'  \
  'https://api.sfox.com/v1/staking/stake'

Last updated