diff --git a/zenith-openrpc.json b/zenith-openrpc.json index 93656a5..2845728 100644 --- a/zenith-openrpc.json +++ b/zenith-openrpc.json @@ -597,8 +597,8 @@ "tags": [{"$ref": "#/components/tags/draft"},{"$ref": "#/components/tags/wip"}], "params": [ { "$ref": "#/components/contentDescriptors/AccountId"}, - { "$ref": "#/components/contentDescriptors/TxRequestArray"}, - { "$ref": "#/components/contentDescriptors/PrivacyPolicy"} + { "$ref": "#/components/contentDescriptors/PrivacyPolicy"}, + { "$ref": "#/components/contentDescriptors/TxRequestArray"} ], "paramStructure": "by-position", "result": { @@ -611,14 +611,19 @@ "examples": [ { "name": "Send a transaction", - "summary": "Send one transaction", - "description": "Send a single transaction", + "summary": "Send a transaction", + "description": "Send a transaction with one output", "params": [ { "name": "Account index", "summary": "The index for the account to use", "value": "1" }, + { + "name": "Privacy Policy", + "summary": "The selected privacy policy", + "value": "Full" + }, { "name": "Transaction request", "summary": "The transaction to attempt", @@ -629,11 +634,6 @@ "memo": "Simple transaction" } ] - }, - { - "name": "Privacy Policy", - "summary": "The selected privacy policy", - "value": "Full" } ], "result": { @@ -646,7 +646,6 @@ ], "errors": [ { "$ref": "#/components/errors/ZebraNotAvailable" }, - { "$ref": "#/components/errors/InvalidRecipient" }, { "$ref": "#/components/errors/InvalidAccount" } ] },