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

# Post Withdrawal Intent

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

This endpoint is used to request withdrawal transactions that will be executed against available deactivated accounts. If you request more funds than are currently unlocked, the API will return an error indicating the maximum possible withdrawal.

You will receive at least one unsigned transaction (potentially multiple) that needs to be signed in order to complete the withdrawal.

## Request body

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

## Response `200`

Created

- SolanaWithdrawalIntentResponse — Result of a new withdrawal intent request.
  - `withdraw_intent_id` string, uuid, required — Unique idenifier for a withdrawal intent.
  - `customer_id` string, required — Unique identifier for a customer
  - `protocol` 'solana', required — Solana protocol
  - `network` 'mainnet' | 'testnet', required — Solana network
  - `solana` WithdrawalIntentSolana, required
    - `withdraws` WithdrawSolana[], required
      - `unsigned_transaction` string, base64, required — Generated unsigned transaction smart contract call data.
      - `withdrawal_authority_public_key` string, base58, required — Public Key of an asymmetric key-pair.
      - `stake_account_address` 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
    - `total_withdraw_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)
