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

# Post Withdrawal Intent

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

Returns an unsigned transaction to withdraw a specified amount of SOL from an deactivated stake account

## Path parameters

- `network` string, required

## Request body

- SolanaWithdrawTransactionRequest
  - `amount` integer, required — The amount of funds you want to withdraw (in Lamports).
  - `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 — The address of the stake account.

## Response `200`

OK

- SolanaWithdrawTransactionResponse
  - `estimated_fee` integer, required — The estimated fee for the transaction.
  - `instruction_count` integer, required — The number of instructions in the transaction.
  - `metadata` SolanaWithdrawMetadata
    - `available_withdraw_amount` integer — Available withdrawable amount before transaction
    - `remaining_balance` integer — Remaining stake account balance after withdrawal
    - `will_close_account` boolean — Whether the stake account will be closed after withdrawal
  - `network` string — The target Solana network (allowed 'mainnet' or 'testnet').
  - `stake_account_pubkey` string, required — The address of the stake account.
  - `unsigned_transaction` string, required — Base64-encoded, serialized Solana transaction to be signed and submitted.
  - `withdraw_authority_pubkey` string, required — Address of the account authorized to withdraw stake and receive withdrawn funds.

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