Stake Tx
API Documentation for Vaulta Stake
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
address |
string | Yes | User's own Vaulta account address |
amount |
integer | Yes | Amount to stake |
network |
string | Yes | Network stake is on. Allowed: mainnet, testnet |
proxy_account_address |
string | No | EOS voting proxy account |
Responses
Success (HTTP 201)
{
"data": {
"network": "string",
"unsigned_transaction_serialized": "string",
"signing_payload": "string"
}
}
Bad Request (HTTP 400)
Sample cURL Request
curl --request POST \
--url https://api.figment.io/vaulta/stake \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'x-api-key: your-api-key-here' \
--data '{
"network": "mainnet"
}'
Notes
- Ensure that the
networkparameter is set correctly to eithermainnetortestnet. - Replace
your-api-key-herewith your actual API key.