You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"\nBumps the fee of an opt-in-RBF transaction T, replacing it with a new transaction B.\n"
3252
+
+ std::string(want_psbt ? "Returns a PSBT instead of creating and signing a new transaction.\n" : "") +
3250
3253
"An opt-in RBF transaction with the given txid must be in the wallet.\n"
3251
3254
"The command will pay the additional fee by reducing change outputs or adding inputs when necessary. It may add a new change output if one does not already exist.\n"
3252
3255
"All inputs in the original transaction will be included in the replacement transaction.\n"
{RPCResult::Type::STR, "psbt", "The base64-encoded unsigned PSBT of the new transaction." + std::string(want_psbt ? "" : " Only returned when wallet private keys are disabled. (DEPRECATED)")},
3286
+
},
3287
+
want_psbt ? std::vector<RPCResult>{} : std::vector<RPCResult>{{RPCResult::Type::STR_HEX, "txid", "The id of the new transaction. Only returned when wallet private keys are enabled."}}
3288
+
),
3289
+
{
3283
3290
{RPCResult::Type::STR_AMOUNT, "origfee", "The fee of the replaced transaction."},
3284
3291
{RPCResult::Type::STR_AMOUNT, "fee", "The fee of the new transaction."},
3285
3292
{RPCResult::Type::ARR, "errors", "Errors encountered during processing (may be empty).",
3286
3293
{
3287
3294
{RPCResult::Type::STR, "", ""},
3288
3295
}},
3289
-
}
3296
+
})
3290
3297
},
3291
3298
RPCExamples{
3292
-
"\nBump the fee, get the new transaction\'stxid\n" +
3293
-
HelpExampleCli("bumpfee", "<txid>")
3299
+
"\nBump the fee, get the new transaction\'s" + std::string(want_psbt ? "psbt" : "txid") + "\n" +
0 commit comments