From 9cbeb5fbb01f1e8e3ec120d41926cd50ba7e52c9 Mon Sep 17 00:00:00 2001 From: Rene Vergara Date: Wed, 7 Aug 2024 12:10:44 -0500 Subject: [PATCH] Add `getoperationstatus` to OpenRPC spec --- zenith-openrpc.json | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/zenith-openrpc.json b/zenith-openrpc.json index abfe5c3..1ca7b4f 100644 --- a/zenith-openrpc.json +++ b/zenith-openrpc.json @@ -98,7 +98,7 @@ ] }, { - "name": "createwallet", + "name": "getnewwallet", "summary": "Create a new wallet", "description": "Create a new wallet for Zenith.", "tags": [{"$ref": "#/components/tags/draft"}], @@ -157,7 +157,7 @@ ] }, { - "name": "createaccount", + "name": "getnewaccount", "summary": "Create a new account", "description": "Create a new account in the given wallet.", "tags": [{"$ref": "#/components/tags/draft"}], @@ -221,7 +221,7 @@ ] }, { - "name": "addaddress", + "name": "getnewaddress", "summary": "Add a new address", "description": "Derive a new address in the given account.", "tags": [{"$ref": "#/components/tags/draft"}], @@ -251,6 +251,14 @@ "tags": [{"$ref": "#/components/tags/draft"}], "params": [], "result": {} + }, + { + "name": "getoperationstatus", + "summary": "Get the status of a Zenith operation", + "description": "Get the status of the given operation", + "tags": [{"$ref": "#/components/tags/draft"}], + "params": [], + "result": {} } ], "components": {