Skip to navigation

Create a SOL delegate request

This endpoint creates a request that will create a stake account if needed, transfer to it and delegate to a validator. Required role: RequestCreator.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
fromAddressIdstringRequiredformat: "uint64"
The ID of the source SOL address from which SOL will be delegated to the validator.
toValidatorAddressIdstringRequiredformat: "uint64"

The ID of the (whitelisted) validator address to delegate SOL to.

amountstringRequired
The amount of SOL to delegate.
feeLimitstringOptional
Fee limit. If fee limit is not provided, it's computed from the estimate and configured fee factors.
commentstringOptional
Comment to be added to the request trail.
useUnconfirmedFundsbooleanOptional

Whether to use (unreserved) unconfirmed funds for delegation.

externalRequestIdstringOptional
Identifier for the request in the user's system. This must be unique. Attempting to create a request with an existing externalRequestId will do nothing and return the originally created request.
autoMergingbooleanOptional
Allows the resulting stake account to be automatically merged into other existing accounts.

Response

A successful response.
resultobjectOptional

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error
503
Service Unavailable Error