From 40fb9228a268905dc7d67a95454515b2a2c2636f Mon Sep 17 00:00:00 2001 From: Rene Vergara Date: Sat, 24 Aug 2024 07:51:07 -0500 Subject: [PATCH] Add example to OpenRPC --- zenith-openrpc.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/zenith-openrpc.json b/zenith-openrpc.json index d1ec86e..377ee1a 100644 --- a/zenith-openrpc.json +++ b/zenith-openrpc.json @@ -117,7 +117,13 @@ "name": "GetNewWallet example", "summary": "Create a wallet", "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": { "name": "GetNewWallet result", "value": 1