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.
20 lines
549 B
20 lines
549 B
4 years ago
|
JSON-RPC
|
||
|
---
|
||
|
|
||
|
All JSON-RPC methods accept a new [named
|
||
|
parameter](JSON-RPC-interface.md#parameter-passing) called `args` that can
|
||
|
contain positional parameter values. This is a convenience to allow some
|
||
|
parameter values to be passed by name without having to name every value. The
|
||
|
python test framework and `bitcoin-cli` tool both take advantage of this, so
|
||
|
for example:
|
||
|
|
||
|
```sh
|
||
|
bitcoin-cli -named createwallet wallet_name=mywallet load_on_startup=1
|
||
|
```
|
||
|
|
||
|
Can now be shortened to:
|
||
|
|
||
|
```sh
|
||
|
bitcoin-cli -named createwallet mywallet load_on_startup=1
|
||
|
```
|