Staking

Build unsigned withdraw transaction

Creates an unsigned transaction to withdraw SOL from a deactivated stake account. Only works after cooldown is complete. Omit amountSol to withdraw the full balance.

post/api/v1/withdraw/transaction

Request

  • Base URL: https://solentic.theblueprint.xyz
  • URL: https://solentic.theblueprint.xyz/api/v1/withdraw/transaction
  • Auth: none required

Request body

walletAddressstring required

Solana wallet address (base58 public key) — must be the withdraw authority

stakeAccountAddressstring required

Stake account address to withdraw from (base58). Must be deactivated (cooldown complete).

amountSolnumber nullable

Amount to withdraw in SOL (omit or null for full balance)

Response

Unsigned transaction

transactionstring

Base64 encoded unsigned transaction

stakeAccountAddressstring

New stake account address (only for create stake)

messagestring

Human/agent-readable instruction

signersstring[]

Public keys that need to sign

estimatedFeeSolnumber

Estimated network fee in SOL (0.00001 for stake, 0.000005 for unstake/withdraw)

expiresAtstring date-time

ISO 8601 timestamp when this transaction expires (~60s after creation). Solana blockhashes are short-lived — sign and submit before this time or request a new transaction.

warningsstring[]

Warnings including blockhash expiry and balance checks

Changes

No recorded changes to this operation across all 1 revision of this API.