Post Stake Intent
Structure of the Stake Intent Request
Parameters
network
- type:
string - required: yes
- description: The target Solana network (allowed 'mainnet' or 'testnet').
- type:
amount
- type:
int64 - required: yes
- description: The amount of funds you want to stake (in Lamports).
- type:
delegator_address
- type:
string - required: yes
- pattern:
^[1-9A-HJ-NP-Za-km-z]{43,44}$ - description: The address of the account that will pay the transaction fee.
- type:
validator_vote_pubkey
- type:
string - required: yes
- pattern:
^[1-9A-HJ-NP-Za-km-z]{43,44}$ - description: The public address of the validator node that you intend to delegate your tokens to.
- type:
Response Status Codes
200
- description: OK
400
- description: Invalid request.
401
- description: Header 'X-API-Key' missing.
500
- description: Internal server error.
Example
curl --request POST \
--url https://svc.blockdaemon.com/sia/v2/solana/network/stake-intent \
--header 'accept: application/json' \
--header 'content-type: application/json'