diff --git a/zenith-openrpc.json b/zenith-openrpc.json index 43f30be..dee9bc2 100644 --- a/zenith-openrpc.json +++ b/zenith-openrpc.json @@ -103,7 +103,12 @@ "description": "Create a new wallet for Zenith.", "tags": [{"$ref": "#/components/tags/draft"}], "params": [], - "result": {} + "result": { + "name": "Wallet", + "schema": { + "$ref": "#/components/contentDescriptors/WalletID" + } + } }, { "name": "listaccounts", @@ -162,7 +167,12 @@ "description": "Create a new account in the given wallet.", "tags": [{"$ref": "#/components/tags/draft"}], "params": [], - "result": {} + "result": { + "name": "Account", + "schema": { + "$ref": "#/components/contentDescriptors/AccountID" + } + } }, { "name": "listaddresses", @@ -226,7 +236,12 @@ "description": "Derive a new address in the given account.", "tags": [{"$ref": "#/components/tags/draft"}], "params": [], - "result": {} + "result": { + "name": "Address", + "schema": { + "$ref": "#/components/schemas/ZcashAddress" + } + } }, { "name": "getbalance", @@ -234,7 +249,11 @@ "description": "Get the balance of the given account, including any unconfirmed balance.", "tags": [{"$ref": "#/components/tags/draft"}], "params": [], - "result": {} + "result": { + "name": "Balance", + "schema": { + } + } }, { "name": "listreceived", @@ -259,7 +278,11 @@ "description": "Send one or more transactions ", "tags": [{"$ref": "#/components/tags/draft"}], "params": [], - "result": {} + "result": { + "name": "Operation ID", + "schema": { + } + } }, { "name": "getoperationstatus", @@ -267,7 +290,11 @@ "description": "Get the status of the given operation", "tags": [{"$ref": "#/components/tags/draft"}], "params": [], - "result": {} + "result": { + "name": "Operation status", + "schema": { + } + } } ], "components": {