Add placeholders for OpenRPC

This commit is contained in:
Rene Vergara 2024-08-08 09:31:34 -05:00
parent 473192e34b
commit d4fd7c5044
Signed by: pitmutt
GPG key ID: 65122AD495A7F5B2

View file

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