mirror of https://github.com/bitcoin/bitcoin
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
498 B
17 lines
498 B
2 years ago
|
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}'
|
||
|
```
|