docs: add new RPC methods to spec
This commit is contained in:
parent
34dfbb3be2
commit
9e3eeee78e
1 changed files with 25 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"openrpc": "1.0.0-rc1",
|
"openrpc": "1.0.0-rc1",
|
||||||
"info": {
|
"info": {
|
||||||
"version": "0.7.0.0-beta",
|
"version": "0.8.0.0-beta",
|
||||||
"title": "Zenith RPC",
|
"title": "Zenith RPC",
|
||||||
"description": "The RPC methods to interact with the Zenith Zcash wallet",
|
"description": "The RPC methods to interact with the Zenith Zcash wallet",
|
||||||
"license": {
|
"license": {
|
||||||
|
@ -669,6 +669,30 @@
|
||||||
"errors": [
|
"errors": [
|
||||||
{ "$ref": "#/components/errors/OpNotFound" }
|
{ "$ref": "#/components/errors/OpNotFound" }
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "shieldnotes",
|
||||||
|
"summary": "Shield all transparent notes into the Orchard pool for the given account",
|
||||||
|
"description": "Creates one or more transactions, grouping all the unspent transparent notes for the given account by their transparent address to avoid associating different transparent addresses. These notes are sent to the given account's internal change address as shielded Orchard notes.",
|
||||||
|
"tags": [{ "$ref": "#/components/tags/draft"}, { "$ref": "#/components/tags/wip"}],
|
||||||
|
"params": [],
|
||||||
|
"paramStructure": "by-position",
|
||||||
|
"result": {
|
||||||
|
},
|
||||||
|
"errors": [
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "deshieldfunds",
|
||||||
|
"summary": "De-shield the given amount of ZEC from the given account",
|
||||||
|
"description": "",
|
||||||
|
"tags": [],
|
||||||
|
"params": [],
|
||||||
|
"paramStructure": "by-position",
|
||||||
|
"result": {
|
||||||
|
},
|
||||||
|
"errors": [
|
||||||
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"components": {
|
"components": {
|
||||||
|
|
Loading…
Reference in a new issue