From 6079245af775ae1bdba3a4bd8d5144793ce88a9b Mon Sep 17 00:00:00 2001 From: Rene Vergara Date: Fri, 20 Dec 2024 08:19:20 -0600 Subject: [PATCH] docs(rpc): update OpenRPC for sendmany --- zenith-openrpc.json | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/zenith-openrpc.json b/zenith-openrpc.json index bba9550..1df12a8 100644 --- a/zenith-openrpc.json +++ b/zenith-openrpc.json @@ -605,10 +605,9 @@ ], "paramStructure": "by-position", "result": { - "name": "Operation ID(s)", + "name": "Operation ID", "schema": { - "type": "array", - "items": { "$ref": "#/components/contentDescriptors/OperationId"} + "$ref": "#/components/contentDescriptors/OperationId"} } }, "examples": [ @@ -620,7 +619,7 @@ { "name": "Account index", "summary": "The index for the account to use", - "value": "1" + "value": 1 }, { "name": "Privacy Policy", @@ -738,10 +737,15 @@ "tags": [{ "$ref": "#/components/tags/draft"}, { "$ref": "#/components/tags/wip"}], "params": [ { "$ref": "#/components/contentDescriptors/AccountId"}, - { "$ref": "#/components/contentDescriptors/Address"} + { "$ref": "#/components/contentDescriptors/Amount"} ], "paramStructure": "by-position", "result": { + "name": "Operation ID(s)", + "schema": { + "type": "array", + "items": { "$ref": "#/components/contentDescriptors/OperationId"} + } }, "errors": [ { "$ref": "#/components/errors/ZebraNotAvailable" },