Refunds a deposit made to a static deposit address back to a specified Bitcoin address for theDocumentation Index
Fetch the complete documentation index at: https://docs.spark.money/llms.txt
Use this file to discover all available pages before exploring further.
SparkWallet.
Method Signature
Parameters
The transaction ID of the original deposit
The index of the output (auto-detected if not provided)
The Bitcoin address to send the refund to
Deprecated. Total fee in sats for the refund transaction. Use
satsPerVbyteFee instead.The fee rate in sats per vbyte (must be less than 150)
Returns
The refund transaction as a hex string that needs to be broadcast