diff options
author | Ryan Ofsky <ryan@ofsky.org> | 2022-11-10 12:04:07 -0500 |
---|---|---|
committer | Ryan Ofsky <ryan@ofsky.org> | 2023-05-03 11:27:51 -0500 |
commit | 96233146dd31c1d99fd1619be4449944623ef750 (patch) | |
tree | 2935a99142df1d8b870a01a32ac2bdb347ff471b /doc/release-notes-26485.md | |
parent | 702b56d2a8ce48bc3b66a2867d09fa11dcf12fc5 (diff) | |
download | bitcoin-96233146dd31c1d99fd1619be4449944623ef750.tar.xz |
RPC: Allow RPC methods accepting options to take named parameters
Co-authored-by: Andrew Chow <github@achow101.com>
Diffstat (limited to 'doc/release-notes-26485.md')
-rw-r--r-- | doc/release-notes-26485.md | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/release-notes-26485.md b/doc/release-notes-26485.md new file mode 100644 index 0000000000..c8df3d22fb --- /dev/null +++ b/doc/release-notes-26485.md @@ -0,0 +1,16 @@ +JSON-RPC +--- + +For RPC methods which accept `options` parameters ((`importmulti`, `listunspent`, `fundrawtransaction`, `bumpfee`, `send`, `sendall`, `walletcreatefundedpsbt`, `simulaterawtransaction`), it is now possible to pass the options as named parameters without the need for a nested object. (#26485) + +This means it is possible make calls like: + +```sh +src/bitcoin-cli -named bumpfee txid fee_rate=100 +``` + +instead of + +```sh +src/bitcoin-cli -named bumpfee txid options='{"fee_rate": 100}' +``` |