---
title: "Post Deactivation Intent"
method: POST
path: "/v1/solana/{network}/deactivation-intents"
tags: ["Solana"]
---

# Post Deactivation Intent

`POST /v1/solana/{network}/deactivation-intents`

This endpoint is used to request deactivation transactions that will be executed against available addresses. The API will automatically select which stake addresses need to be deactivated in order to satisfy the request.

This operation may split some of the stakes in order to ensure that the exact amount will be deactivated. If there are not enough available funds, the API will produce an error response.

The API returns two sets of transactions – splitting transactions and deactivation transactions. You must sign and broadcast the splitting transactions before the deactivation transactions.

## Request body

- NewDeactivateIntentSolana — Request object to create a new deactivation intent for Solana.
  - `amount` string, required — Denomination of the cryptocurrency Solana.
  - `delegator_address` string, base58 — Public Key of an asymmetric key-pair.
  - `staking_authority` string, base58 — Public Key of an asymmetric key-pair.
  - `withdrawal_authority` string, base58 — Public Key of an asymmetric key-pair.

## Response `200`

Created

- SolanaDeactivationIntentResponse — Response to a new deactivation intent request.
  - `deactivate_intent_id` string, uuid, required — Unique idenifier for deactivate intent.
  - `customer_id` string, required — Unique identifier for a customer
  - `protocol` 'solana', required — Solana protocol
  - `network` 'mainnet' | 'testnet', required — Solana network
  - `solana` DeactivateIntentSolana, required — Result of the new Deactivate Intent request.
    - `deactivates` DeactivateStakeSolana[], required
      - `unsigned_transaction` string, base64, required — Generated unsigned transaction smart contract call data.
      - `stake_account_authority` string, base58, required — Public Key of an asymmetric key-pair.
      - `stake_account_address` string, base58, required — Public Key of an asymmetric key-pair.
      - `withdrawal_authority` string, base58, required — Public Key of an asymmetric key-pair.
      - `stake_id` string, base58, required — Unique stake identifier.
      - `amount` string, required — Denomination of the cryptocurrency Solana.
      - `expiration_time` integer, required — Transaction expiration time
    - `splits` SplitStakeSolana[], required
      - `unsigned_transaction` string, base64, required — Generated unsigned transaction smart contract call data.
      - `stake_account_authority` string, base58, required — Public Key of an asymmetric key-pair.
      - `new_stake_account_address` string, base58, required — Public Key of an asymmetric key-pair.
      - `new_stake_id` string, base58, required — Unique stake identifier.
      - `splitted_stake_account_address` string, base58, required — Public Key of an asymmetric key-pair.
      - `splitted_stake_id` string, base58, required — Unique stake identifier.
      - `amount` string, required — Denomination of the cryptocurrency Solana.
    - `total_deactivated_amount` string, required — Denomination of the cryptocurrency Solana.

## Other responses

- `400` — Invalid request.
- `401` — Unauthorized
- `500` — Internal server error

---

[API](https://skmtc.dev/blockdaemon/apis/staking-api.md) · [All operations](https://skmtc.dev/blockdaemon/apis/staking-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/blockdaemon/staking-api/revisions/f94e296a08a3/schema)
