Skip to main content
Gets a fee quote for a cooperative exit (on-chain withdrawal) for the SparkWallet. The quote includes options for different speeds and an expiry time.

Method Signature

Parameters

number
required
The amount in satoshis to withdraw
string
required
The Bitcoin address where the funds should be sent

Returns

CoopExitFeeQuote | null
required
A fee quote for the withdrawal, or null if not available

CoopExitFeeQuote Fields

CurrencyAmount has originalValue (number in satoshis) and originalUnit fields.

Example