Add example to OpenRPC

This commit is contained in:
Rene Vergara 2024-08-24 07:51:07 -05:00
parent 4ee09238d8
commit 40fb9228a2
Signed by: pitmutt
GPG key ID: 65122AD495A7F5B2

View file

@ -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