Create a new delegation

Returns the delegation transaction that should be signed and broadcasted on the client. The transaction will initialize a new stake account and delegate the staked SOL to Stakefish.

Body Params

Provide the amountToStake in lamports. The fromPubkey is the account that should sign the transaction, it will default to the provided stakeAuthority.

string
required
string
string
required
string
required

Message associated with the customer using the API/SDK. Is used to identify delegations from a given customer.

Responses

Language
Credentials
Header
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json