From e91fe22473492c4d63dc90f06373d98ab47a4d5f Mon Sep 17 00:00:00 2001 From: Rene Vergara Date: Mon, 9 Dec 2024 08:47:32 -0600 Subject: [PATCH] docs(rpc): add params and result to `shieldnotes` --- zenith-openrpc.json | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/zenith-openrpc.json b/zenith-openrpc.json index cf25263..8a8c638 100644 --- a/zenith-openrpc.json +++ b/zenith-openrpc.json @@ -675,18 +675,28 @@ "summary": "Shield all transparent notes into the Orchard pool for the given account", "description": "Creates one or more transactions, grouping all the unspent transparent notes for the given account by their transparent address to avoid associating different transparent addresses. These notes are sent to the given account's internal change address as shielded Orchard notes.", "tags": [{ "$ref": "#/components/tags/draft"}, { "$ref": "#/components/tags/wip"}], - "params": [], + "params": [ + { "$ref": "#/components/contentDescriptors/AccountId"} + ], "paramStructure": "by-position", "result": { + "name": "Operation ID(s)", + "schema": { + "type": "array", + "items": { "$ref": "#/components/contentDescriptors/OperationId"} + } }, "errors": [ + { "$ref": "#/components/errors/ZebraNotAvailable" }, + { "$ref": "#/components/errors/ZenithBusy" }, + { "$ref": "#/components/errors/InvalidAccount" } ] }, { "name": "deshieldfunds", "summary": "De-shield the given amount of ZEC from the given account", "description": "", - "tags": [], + "tags": [{ "$ref": "#/components/tags/draft"}], "params": [], "paramStructure": "by-position", "result": {