Staking

Split a staking position

Splits a staking position by creating a new stake account with the requested amount, while keeping the original account with the remaining balance. Supported chains: Solana (SOL).

post/staking/chains/{chainDescriptor}/split

Request

Path parameters

chainDescriptor'SOL' | 'SOL_TEST' required

Protocol identifier for the staking operation (e.g., SOL).

Headers

Idempotency-Keystring

A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.

Request body

idstring required

id of position to split

amountstring required

Amount of tokens to be transferred to the new stake account.

feestring

Represents the fee for a transaction, which can be specified as a percentage value. Only one of fee/feeLevel is required.

feeLevel'LOW' | 'MEDIUM' | 'HIGH'

Represents the fee level for a transaction, which can be set as slow, medium, or fast. Only one of fee/feeLevel is required.

txNotestring

The note to associate with the split transactions.

Example request

{
  "id": "b70701f4-d7b1-4795-a8ee-b09cdb5b850d",
  "amount": "20",
  "txNote": "split 20 SOL out of 100 SOL, created on 02.04.23",
  "feeLevel": "MEDIUM"
}

Response

Split request accepted and created.

idstring required

The unique identifier of the new staking position

Example response

{
  "id": "afedfd2e4-e3c9-4b70-90d6-eb0f74bfd4sd8"
}

Changes

No recorded changes to this operation across all 1 revision of this API.