SparkWallet.
Method Signature
Parameters
string
required
The transaction ID of the original deposit
number
The index of the output (auto-detected if not provided)
string
required
The Bitcoin address to send the refund to
number
required
The fee rate in sats per vbyte (must be less than 150)
Returns
string
required
The refund transaction as a hex string that needs to be broadcast