diff --git a/zenith-openrpc.json b/zenith-openrpc.json index bd2afbb..7adc277 100644 --- a/zenith-openrpc.json +++ b/zenith-openrpc.json @@ -192,7 +192,8 @@ "description": "Create a new account in the given wallet.", "tags": [{"$ref": "#/components/tags/draft"}, {"$ref": "#/components/tags/wip"}], "params": [ - { "$ref": "#/components/contentDescriptors/Name"} + { "$ref": "#/components/contentDescriptors/Name"}, + { "$ref": "#/components/contentDescriptors/WalletId"} ], "paramStructure": "by-position", "result": { @@ -599,6 +600,10 @@ "DuplicateName": { "code": -32007, "message": "Entity with that name already exists." + }, + "InvalidWallet": { + "code": -32008, + "message": "Wallet does not exist." } } }