From c9a42572d395cc0fecf6b74cb93ba9faa5c49b9c Mon Sep 17 00:00:00 2001 From: Rene Vergara Date: Sat, 14 Sep 2024 06:54:00 -0500 Subject: [PATCH] docs: correct `sendmany` schemas in OpenRPC --- zenith-openrpc.json | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/zenith-openrpc.json b/zenith-openrpc.json index 6242a05..9f1ef37 100644 --- a/zenith-openrpc.json +++ b/zenith-openrpc.json @@ -597,8 +597,11 @@ "tags": [{"$ref": "#/components/tags/draft"},{"$ref": "#/components/tags/wip"}], "params": [ { "$ref": "#/components/contentDescriptors/AccountId"}, - { "type": "array", - "items": { "$ref": "#/components/contentDescriptors/TxRequest"} + { "name": "Transaction requests", + "schema": { + "type": "array", + "items": { "$ref": "#/components/contentDescriptors/TxRequest"} + } } ], "paramStructure": "by-position", @@ -739,8 +742,8 @@ "properties": { "address": { "type": "string", "description": "Recipient's address (unified, Sapling or transparent)" }, "amount": { "type": "number", "description": "The amount to send in ZEC"}, - "memo": { "type": "string", "description": "The shielded memo to include, if applicable", "required": false}, - "privacy": { "type": "string", "enum": ["None", "Medium", "Full"], "description": "The privacy policy to use for the transaction. `Full` policy allows shielded funds to be transferred within their shielded pools. `Medium` policy allows shielded funds to cross shielded pools and deshielding transactions. `None` allows for transparent funds to be spent.", "required": false } + "memo": { "type": "string", "description": "The shielded memo to include, if applicable"}, + "privacy": { "type": "string", "enum": ["None", "Medium", "Full"], "description": "The privacy policy to use for the transaction. `Full` policy allows shielded funds to be transferred within their shielded pools. `Medium` policy allows shielded funds to cross shielded pools and deshielding transactions. `None` allows for transparent funds to be spent."} } } }