Staking

Merge staking positions

Merges the source stake account into the destination, consolidating the balance into the destination and closing the source account once complete. Both accounts must be from the same validator provider and of same vault account.. Supported chains: Solana (SOL). Endpoint Permission: Owner, Admin, Non-Signing Admin, Signer, Approver, Editor.

post/staking/chains/{chainDescriptor}/merge

Request

Path parameters

chainDescriptor'SOL' | 'SOL_TEST' required

Protocol identifier for the merge 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

sourceIdstring uuid required

Id of the source position to merge from

destinationIdstring uuid required

Id of the destination position to merge into

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 merge transaction.

Example request

{
  "sourceId": "b70701f4-d7b1-4795-a8ee-b09cdb5b850d",
  "destinationId": "f3432f4-34d1-43495-a8ee-jfdjnfj34i3",
  "txNote": "Merging stake for optimization",
  "feeLevel": "MEDIUM"
}

Response

Merge request accepted and created.

idstring required

The unique identifier of the merge position (the id of the destination position)

Example response

{
  "id": "b70701f4-d7b1-4795-a8ee-b09cdb5b850d"
}

Changes

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