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."} } } }