Create a transaction to request a deactivation on a stake

Create a transaction to request a deactivation on a stake.

Security(Ledger_API_Key and Ledger_API_User) or Ledger_API_Key and Ledger_API_User and Ledger_Store_Auth_Token) or Ledger_API_User or Ledger_API_User and Ledger_Store_Auth_Token)
Request
path Parameters
account_id
required
integer

The account's ID

stake_id
required
integer

The stake's ID

Request Body schema: application/json

attributes of the stake to deactivate

account_name
string or null
Default: null

The account's name.

stake_account
required
string

The stake public key

Responses
200

Vault stake object

400

Invalid staking parameters

post/solana/accounts/{account_id}/stakes/{stake_id}/actions/deactivate
Request samples
application/json
{
  • "account_name": "Staking Account",
  • "stake_account": "9bqA5QJnegJPC3i5YR13HJd1KDEYJVVoh2araKt448iX"
}
Response samples
application/json
{
  • "amount": 10000,
  • "blockchain_state": {
    },
  • "created_by": 42,
  • "created_on": "2023-02-01T16:37:15Z",
  • "creation_tx": 42,
  • "id": 42,
  • "last_request": 42,
  • "stake_uid": "36f0e48508f2f37e5fa15dcca43b1fa027485cf56cd974c1b67f43e82b9f121b-2cEjgbKkWASHgu6aRgxAzrGAKVfwesXvHhfQNZ7QinSD",
  • "status": "PENDING",
  • "total_reward": "10000",
  • "validator": "4QUZQ4c7bZuJ4o4L8tYAEGnePFV27SUFEVmC7BYfsXRp"
}
Copyright © Ledger Enterprise Platform 2023. All right reserved.