RPC Server #103
1 changed files with 6 additions and 1 deletions
|
@ -192,7 +192,8 @@
|
||||||
"description": "Create a new account in the given wallet.",
|
"description": "Create a new account in the given wallet.",
|
||||||
"tags": [{"$ref": "#/components/tags/draft"}, {"$ref": "#/components/tags/wip"}],
|
"tags": [{"$ref": "#/components/tags/draft"}, {"$ref": "#/components/tags/wip"}],
|
||||||
"params": [
|
"params": [
|
||||||
{ "$ref": "#/components/contentDescriptors/Name"}
|
{ "$ref": "#/components/contentDescriptors/Name"},
|
||||||
|
{ "$ref": "#/components/contentDescriptors/WalletId"}
|
||||||
],
|
],
|
||||||
"paramStructure": "by-position",
|
"paramStructure": "by-position",
|
||||||
"result": {
|
"result": {
|
||||||
|
@ -599,6 +600,10 @@
|
||||||
"DuplicateName": {
|
"DuplicateName": {
|
||||||
"code": -32007,
|
"code": -32007,
|
||||||
"message": "Entity with that name already exists."
|
"message": "Entity with that name already exists."
|
||||||
|
},
|
||||||
|
"InvalidWallet": {
|
||||||
|
"code": -32008,
|
||||||
|
"message": "Wallet does not exist."
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue