Add getoperationstatus to OpenRPC spec

This commit is contained in:
Rene Vergara 2024-08-07 12:10:44 -05:00
parent 2cfaf5959d
commit 9cbeb5fbb0
Signed by: pitmutt
GPG key ID: 65122AD495A7F5B2

View file

@ -98,7 +98,7 @@
] ]
}, },
{ {
"name": "createwallet", "name": "getnewwallet",
"summary": "Create a new wallet", "summary": "Create a new wallet",
"description": "Create a new wallet for Zenith.", "description": "Create a new wallet for Zenith.",
"tags": [{"$ref": "#/components/tags/draft"}], "tags": [{"$ref": "#/components/tags/draft"}],
@ -157,7 +157,7 @@
] ]
}, },
{ {
"name": "createaccount", "name": "getnewaccount",
"summary": "Create a new account", "summary": "Create a new account",
"description": "Create a new account in the given wallet.", "description": "Create a new account in the given wallet.",
"tags": [{"$ref": "#/components/tags/draft"}], "tags": [{"$ref": "#/components/tags/draft"}],
@ -221,7 +221,7 @@
] ]
}, },
{ {
"name": "addaddress", "name": "getnewaddress",
"summary": "Add a new address", "summary": "Add a new address",
"description": "Derive a new address in the given account.", "description": "Derive a new address in the given account.",
"tags": [{"$ref": "#/components/tags/draft"}], "tags": [{"$ref": "#/components/tags/draft"}],
@ -251,6 +251,14 @@
"tags": [{"$ref": "#/components/tags/draft"}], "tags": [{"$ref": "#/components/tags/draft"}],
"params": [], "params": [],
"result": {} "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": { "components": {