{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/bigone/main/json-schema/bigone-create-withdrawal-body-schema.json",
  "title": "CreateWithdrawalBody",
  "x-generated": "2026-10-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bigone-wallet-openapi.yml#/components/schemas/CreateWithdrawalBody",
  "type": "object",
  "required": [
    "symbol",
    "amount",
    "target_address"
  ],
  "properties": {
    "symbol": {
      "type": "string",
      "description": "The asset symbol (e.g., EOS, BTC)."
    },
    "amount": {
      "type": "string",
      "description": "The amount to withdraw."
    },
    "target_account": {
      "type": "string",
      "description": "The source account for withdrawal deduction.",
      "enum": [
        "SPOT",
        "FUND"
      ],
      "default": "FUND"
    },
    "target_address": {
      "type": "string",
      "description": "The destination wallet address."
    },
    "memo": {
      "type": "string",
      "description": "The memo or tag for the destination address (if required by the asset)."
    },
    "guid": {
      "type": "string",
      "description": "A unique identifier for the withdrawal request (max 36 characters)."
    },
    "gateway_name": {
      "type": "string",
      "description": "The gateway name (chain/network) identifier, e.g., \"Ethereum\", \"BinanceSmartChain\", \"Tron\", \"Mixin\".\n\nThis specifies which blockchain network to use for the withdrawal. Available gateways depend on the asset.\n"
    }
  }
}