We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 333d265 commit 9660ba6Copy full SHA for 9660ba6
client/src/client.rs
@@ -282,6 +282,19 @@ pub trait RpcApi: Sized {
282
self.call("bumpfee", handle_defaults(&mut args, &[null()])).await
283
}
284
285
+ async fn psbt_bump_fee(
286
+ &self,
287
+ txid: &bitcoin::Txid,
288
+ options: Option<&json::BumpFeeOptions>,
289
+ ) -> Result<json::BumpFeeResult> {
290
+ let opts = match options {
291
+ Some(options) => Some(options.to_serializable(self.version().await?)),
292
+ None => None,
293
+ };
294
+ let mut args = [into_json(txid)?, opt_into_json(opts)?];
295
+ self.call("psbtbumpfee", handle_defaults(&mut args, &[null()])).await
296
+ }
297
+
298
async fn load_wallet(&self, wallet: &str) -> Result<json::LoadWalletResult> {
299
self.call("loadwallet", &[wallet.into()]).await
300
0 commit comments