Milestone 3: RPC server, ZIP-320 #104
1 changed files with 30 additions and 3 deletions
|
@ -291,14 +291,23 @@
|
||||||
"name": "getnewaddress",
|
"name": "getnewaddress",
|
||||||
"summary": "Add a new address",
|
"summary": "Add a new address",
|
||||||
"description": "Derive a new address in the given account.",
|
"description": "Derive a new address in the given account.",
|
||||||
"tags": [{"$ref": "#/components/tags/draft"}],
|
"tags": [{"$ref": "#/components/tags/wip"}, {"$ref": "#/components/tags/draft"}],
|
||||||
"params": [],
|
"params": [
|
||||||
|
{ "$ref": "#/components/contentDescriptors/AccountId"},
|
||||||
|
{ "$ref": "#/components/contentDescriptors/Name"},
|
||||||
|
{ "$ref": "#/components/contentDescriptors/ExcludeSapling"},
|
||||||
|
{ "$ref": "#/components/contentDescriptors/ExcludeTransparent"}
|
||||||
|
],
|
||||||
"result": {
|
"result": {
|
||||||
"name": "Address",
|
"name": "Address",
|
||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/components/schemas/ZcashAddress"
|
"$ref": "#/components/schemas/ZcashAddress"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"errors": [
|
||||||
|
{ "$ref": "#/components/errors/InvalidAccount" },
|
||||||
|
{ "$ref": "#/components/errors/DuplicateName" }
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "getbalance",
|
"name": "getbalance",
|
||||||
|
@ -505,6 +514,24 @@
|
||||||
"schema": {
|
"schema": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"ExcludeSapling": {
|
||||||
|
"name": "ExcludeSapling",
|
||||||
|
"summary": "Setting that indicates that the new address requested should not contain a Sapling component",
|
||||||
|
"description": "When this parameter is present, Zenith will generate an address with no Sapling receiver",
|
||||||
|
"required": false,
|
||||||
|
"schema" : {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ExcludeTransparent": {
|
||||||
|
"name": "ExcludeTransparent",
|
||||||
|
"summary": "Setting that indicates that the new address requested should not contain a Transparent component",
|
||||||
|
"description": "When this parameter is present, Zenith will generate an address with no Transparent receiver",
|
||||||
|
"required": false,
|
||||||
|
"schema" : {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"schemas": {
|
"schemas": {
|
||||||
|
|
Loading…
Reference in a new issue