---
title: "Changes to Get the maximum spendable Bitcoin amount for the given address (v2)."
method: GET
path: "/v2/get-max-spendable/{address}"
---

# Changes to Get the maximum spendable Bitcoin amount for the given address (v2).

`GET /v2/get-max-spendable/{address}`

> Every recorded change to this endpoint, newest first.

## Timeline

Changed in 2 of 19 revisions.

- **2026-05-26** `ca0ef15d5879` — 3 breaking, 26 info
- **2026-05-06** `162bab886181` — 1 info

## Changes

- **2026-05-26** `ca0ef15d5879` — 3 breaking, 26 info
  - added `#/components/schemas/GatewayErrorCode, #/components/schemas/GatewayErrorCodeV2Variants` to the `code` response property `oneOf` list for the response status `400`
  - added `#/components/schemas/GatewayErrorDetailsV2` to the `details` response property `oneOf` list for the response status `400`
  - the `code` response's property type changed from `string` to no type for status `400`
  - api operation id `get_max_spendable` removed and replaced with `get_max_spendable_v2`
  - removed the `DISABLED_CHAIN` enum value from the `code` response property for the response status `400`
  - removed the `DUPLICATE_ORDER` enum value from the `code` response property for the response status `400`
  - removed the `EXCEEDED_LIMIT` enum value from the `code` response property for the response status `400`
  - removed the `GAS_ESTIMATE_FAILED` enum value from the `code` response property for the response status `400`
  - removed the `GLOBAL_LIMIT_EXCEEDED` enum value from the `code` response property for the response status `400`
  - removed the `INSUFFICIENT_AMOUNT` enum value from the `code` response property for the response status `400`
  - removed the `INSUFFICIENT_CONFIRMED_FUNDS` enum value from the `code` response property for the response status `400`
  - removed the `INSUFFICIENT_PAYMENT_AMOUNT` enum value from the `code` response property for the response status `400`
  - removed the `INSUFFICIENT_SOLVER_BALANCE` enum value from the `code` response property for the response status `400`
  - removed the `INSUFFICIENT_SWAP_AMOUNT` enum value from the `code` response property for the response status `400`
  - removed the `INTERNAL_ERROR` enum value from the `code` response property for the response status `400`
  - removed the `INVALID_AFFILIATE_FEE` enum value from the `code` response property for the response status `400`
  - removed the `INVALID_DESTINATION_CHAIN_ID` enum value from the `code` response property for the response status `400`
  - removed the `INVALID_ORDER_ARGS` enum value from the `code` response property for the response status `400`
  - removed the `INVALID_REQUEST` enum value from the `code` response property for the response status `400`
  - removed the `NO_ROUTE` enum value from the `code` response property for the response status `400`
  - removed the `ORDER_EXPIRED` enum value from the `code` response property for the response status `400`
  - removed the `ORDER_NOT_FOUND` enum value from the `code` response property for the response status `400`
  - removed the `PER_ACCOUNT_LIMIT_EXCEEDED` enum value from the `code` response property for the response status `400`
  - removed the `QUOTE_AMOUNT_TOO_LOW` enum value from the `code` response property for the response status `400`
  - removed the `SIMULATION_FAILED` enum value from the `code` response property for the response status `400`
  - removed the `SLIPPAGE_TOO_HIGH` enum value from the `code` response property for the response status `400`
  - removed the `SLIPPAGE_TOO_LOW` enum value from the `code` response property for the response status `400`
  - removed the `UNABLE_TO_COVER_FEES` enum value from the `code` response property for the response status `400`
  - removed `#/components/schemas/GatewayErrorDetails` from the `details` response property `oneOf` list for the response status `400`
- **2026-05-06** `162bab886181` — 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/bob-collective/apis/bob-gateway-api/docs/v2/get-max-spendable/:address/get.md) · [API](https://skmtc.dev/bob-collective/apis/bob-gateway-api.md) · [Page](https://skmtc.dev/bob-collective/apis/bob-gateway-api/changes/v2/get-max-spendable/:address/get)
