v2

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

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

Path parameters

addressstring required

Bitcoin address to calculate the maximum spendable amount for

Response

Get the maximum spendable Bitcoin amount for the given address after accounting for estimated transaction fees

userAddressstring required

Changes

Changed in 2 of the 19 revisions of this API.327

  • ca0ef15d5879326See the full diff
    • added to the response property oneOf list for the response status

      response-property-one-of-added

    • added to the response property oneOf list for the response status

      response-property-one-of-added

    • the response's property type changed from string to no type for status

      response-property-type-changed

    • api operation id get_max_spendable removed and replaced with get_max_spendable_v2

      api-operation-id-removed

    • removed the DISABLED_CHAIN enum value from the response property for the response status

      response-property-enum-value-removed

    • removed the DUPLICATE_ORDER enum value from the response property for the response status

      response-property-enum-value-removed

    • removed the EXCEEDED_LIMIT enum value from the response property for the response status

      response-property-enum-value-removed

    • removed the GAS_ESTIMATE_FAILED enum value from the response property for the response status

      response-property-enum-value-removed

    • removed the GLOBAL_LIMIT_EXCEEDED enum value from the response property for the response status

      response-property-enum-value-removed

    • removed the INSUFFICIENT_AMOUNT enum value from the response property for the response status

      response-property-enum-value-removed

    • removed the INSUFFICIENT_CONFIRMED_FUNDS enum value from the response property for the response status

      response-property-enum-value-removed

    • removed the INSUFFICIENT_PAYMENT_AMOUNT enum value from the response property for the response status

      response-property-enum-value-removed

    • removed the INSUFFICIENT_SOLVER_BALANCE enum value from the response property for the response status

      response-property-enum-value-removed

    • removed the INSUFFICIENT_SWAP_AMOUNT enum value from the response property for the response status

      response-property-enum-value-removed

    • removed the INTERNAL_ERROR enum value from the response property for the response status

      response-property-enum-value-removed

    • removed the INVALID_AFFILIATE_FEE enum value from the response property for the response status

      response-property-enum-value-removed

    • removed the INVALID_DESTINATION_CHAIN_ID enum value from the response property for the response status

      response-property-enum-value-removed

    • removed the INVALID_ORDER_ARGS enum value from the response property for the response status

      response-property-enum-value-removed

    • removed the INVALID_REQUEST enum value from the response property for the response status

      response-property-enum-value-removed

    • removed the NO_ROUTE enum value from the response property for the response status

      response-property-enum-value-removed

    • removed the ORDER_EXPIRED enum value from the response property for the response status

      response-property-enum-value-removed

    • removed the ORDER_NOT_FOUND enum value from the response property for the response status

      response-property-enum-value-removed

    • removed the PER_ACCOUNT_LIMIT_EXCEEDED enum value from the response property for the response status

      response-property-enum-value-removed

    • removed the QUOTE_AMOUNT_TOO_LOW enum value from the response property for the response status

      response-property-enum-value-removed

    • removed the SIMULATION_FAILED enum value from the response property for the response status

      response-property-enum-value-removed

    • removed the SLIPPAGE_TOO_HIGH enum value from the response property for the response status

      response-property-enum-value-removed

    • removed the SLIPPAGE_TOO_LOW enum value from the response property for the response status

      response-property-enum-value-removed

    • removed the UNABLE_TO_COVER_FEES enum value from the response property for the response status

      response-property-enum-value-removed

    • removed from the response property oneOf list for the response status

      response-property-one-of-removed

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • endpoint added

      endpoint-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog