{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/hitbtc/json-schema/hitbtc-wallet-estimated-fee-schema.json",
  "title": "Estimated fee",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hitbtc-network-fees-api-openapi.yml#/components/schemas/wallet_EstimatedFee",
  "type": "array",
  "items": {
    "allOf": [
      {
        "$ref": "#/$defs/wallet_Fee"
      },
      {
        "$ref": "#/$defs/wallet_Amount"
      },
      {
        "$ref": "#/$defs/wallet_Currency"
      },
      {
        "type": "object",
        "required": [
          "fee",
          "networkFee",
          "amount",
          "currency"
        ],
        "properties": {
          "networkFee": {
            "type": "string",
            "description": "Network fee."
          },
          "networkCode": {
            "$ref": "#/$defs/wallet_NetworkCommon"
          }
        }
      }
    ]
  },
  "$defs": {
    "wallet_Amount": {
      "title": "Amount",
      "type": "object",
      "properties": {
        "amount": {
          "$ref": "#/$defs/wallet_AmountCommon"
        }
      }
    },
    "wallet_AmountCommon": {
      "title": "Amount",
      "type": "string",
      "description": "The amount of the operation.\n\nFormat: currency precision\n\nValues: > 0\n\nℹ️ Call `GET /public/currency/{currency}` to get the currency precision.\n"
    },
    "wallet_Currency": {
      "title": "Currency",
      "properties": {
        "currency": {
          "$ref": "#/$defs/wallet_CurrencyCommon"
        }
      }
    },
    "wallet_CurrencyCommon": {
      "title": "Cryptocurrency",
      "type": "string",
      "description": "Cryptocurrency code."
    },
    "wallet_Fee": {
      "title": "Withdrawal fee",
      "type": "object",
      "properties": {
        "fee": {
          "type": "string",
          "description": "Fee amount.\n\nFormat: currency precision\n"
        }
      }
    },
    "wallet_NetworkCommon": {
      "title": "Network",
      "type": "string",
      "description": "Network code."
    }
  }
}