/api/v2/{coin}/wallet/{walletId}/maximumSpendable
Returns the maximum amount that can be spent with a single transaction on the wallet.
The maximum spendable amount can differ from a wallet’s total balance. A transaction can only use up to 200 unspents. Wallets that have more than 200 unspents cannot spend the full balance in one transaction. Additionally, the value returned for the maximum spendable amount accounts for the current fee level by deducting the estimated fees. The amount will only be calculated based on the unspents that fit the parameters passed.
coin
stringRequiredbtc
walletId
stringRequired59cd72485007a239fb00282ed480da1f
^[0-9a-f]{32}$
enforceMinConfirmsForChange
booleanfeeRate
integer>= 0
limit
integerDefault: 25
>= 1
<= 500
maxFeeRate
integer>= 0
maxValue
string or integerminConfirms
integer>= 0
minHeight
number>= 0
minValue
string or integernumBlocks
integerDefault: 2
>= 1
<= 1000
unspentIds
array[string]003f688cc349f1fca8ac5ffa21671ca911b6ef351085c60733ed8c2ebf162cb8:2
coin
string btc
maximumSpendable
string 19948310
error
string required requestId
string required context
object name
string required error
string required requestId
string required context
object name
string required