---
title: "Post Deactivation Intent"
method: POST
path: "/v2/solana/{network}/deactivate-intent"
tags: ["Solana"]
---

# Post Deactivation Intent

`POST /v2/solana/{network}/deactivate-intent`

Returns an unsigned transaction to deactivate SOL from an active stake account

## Path parameters

- `network` string, required

## Request body

- SolanaDeactivateTransactionRequest — Request to build a deactivate transaction
  - `delegator_address` string, required — Wallet that will pay the transaction fee.
  - `network` string — The target Solana network (allowed 'mainnet' or 'testnet').
  - `stake_account_pubkey` string, required — Stake account to deactivate.

## Response `200`

OK

- SolanaDeactivateTransactionResponse — Response for a deactivate transaction intent
  - `estimated_fee` integer, required — The estimated fee for the transaction.
  - `instruction_count` integer, required — The number of instructions in the transaction.
  - `metadata` SolanaDeactivateMetadata
    - `current_epoch` integer — Current epoch at build time
    - `deactivation_epoch` integer — Epoch when deactivation will take effect
    - `was_active` boolean — Whether the stake account was active at build time
  - `network` string — The target Solana network (allowed 'mainnet' or 'testnet').
  - `stake_account_pubkey` string, required — The address of the stake account to be deactivated.
  - `stake_authority_pubkey` string, required — The address of the account with the authority to deactivate.
  - `unsigned_transaction` string, required — Base64-encoded, serialized Solana transaction to be signed and submitted.

## 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)
