Staking

Claim accrued rewards

Claims available staking rewards for the specified chain and vault. Supported chains: Solana and Polygon (POL/Matic). Behavior depends on protocol reward distribution.

post/staking/chains/{chainDescriptor}/claim_rewards

Request

Path parameters

chainDescriptor'SOL' | 'SOL_TEST' | 'MATIC' | 'POL' | 'POL_TEST' required

Protocol identifier for the claim rewards staking operation (e.g., POL/MATIC/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 withdraw rewards from

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 transactions.

Example request

{
  "id": "b70701f4-d7b1-4795-a8ee-b09cdb5b850d",
  "txNote": "claim rewards request id b70701f4-d7b1-4795-a8ee-b09cdb5b850d",
  "feeLevel": "MEDIUM"
}

Response

Claim-rewards request accepted and created.

Changes

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