Add example to OpenRPC
This commit is contained in:
parent
4ee09238d8
commit
40fb9228a2
1 changed files with 7 additions and 1 deletions
|
@ -117,7 +117,13 @@
|
||||||
"name": "GetNewWallet example",
|
"name": "GetNewWallet example",
|
||||||
"summary": "Create a wallet",
|
"summary": "Create a wallet",
|
||||||
"description": "Creates a new wallet with the given name",
|
"description": "Creates a new wallet with the given name",
|
||||||
"params": [ "Main" ],
|
"params": [
|
||||||
|
{
|
||||||
|
"name": "Wallet name",
|
||||||
|
"summary": "The user-friendly name for the wallet",
|
||||||
|
"value": "Main"
|
||||||
|
}
|
||||||
|
],
|
||||||
"result": {
|
"result": {
|
||||||
"name": "GetNewWallet result",
|
"name": "GetNewWallet result",
|
||||||
"value": 1
|
"value": 1
|
||||||
|
|
Loading…
Reference in a new issue