{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/blockdaemon/main/json-schema/blockdaemon-solana-withdraw-transaction-request-schema.json",
  "title": "solanaWithdrawTransactionRequest",
  "x-generated": "2026-10-14",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/blockdaemon-staking-api-2-0-0-openapi.yml#/components/schemas/solanaWithdrawTransactionRequest",
  "properties": {
    "amount": {
      "description": "The amount of funds you want to withdraw (in Lamports).",
      "format": "int64",
      "type": "integer"
    },
    "delegator_address": {
      "description": "Wallet that will pay the transaction fee.",
      "pattern": "^[1-9A-HJ-NP-Za-km-z]{43,44}$",
      "type": "string"
    },
    "network": {
      "description": "The target Solana network (allowed 'mainnet' or 'testnet').",
      "readOnly": true,
      "type": "string"
    },
    "stake_account_pubkey": {
      "description": "The address of the stake account.",
      "pattern": "^[1-9A-HJ-NP-Za-km-z]{43,44}$",
      "type": "string"
    }
  },
  "required": [
    "delegator_address",
    "stake_account_pubkey",
    "amount"
  ],
  "type": "object"
}