Add placeholders to OpenRPC spec

This commit is contained in:
Rene Vergara 2024-08-07 11:57:10 -05:00
parent b8980bd219
commit 2cfaf5959d
Signed by: pitmutt
GPG key ID: 65122AD495A7F5B2

View file

@ -97,6 +97,14 @@
{ "$ref": "#/components/errors/NoWallets" }
]
},
{
"name": "createwallet",
"summary": "Create a new wallet",
"description": "Create a new wallet for Zenith.",
"tags": [{"$ref": "#/components/tags/draft"}],
"params": [],
"result": {}
},
{
"name": "listaccounts",
"summary": "List existing accounts for a wallet ID",
@ -148,6 +156,14 @@
{ "$ref": "#/components/errors/NoAccounts" }
]
},
{
"name": "createaccount",
"summary": "Create a new account",
"description": "Create a new account in the given wallet.",
"tags": [{"$ref": "#/components/tags/draft"}],
"params": [],
"result": {}
},
{
"name": "listaddresses",
"summary": "List existing addresses for an account ID",
@ -203,6 +219,38 @@
"errors": [
{ "$ref": "#/components/errors/NoAddress" }
]
},
{
"name": "addaddress",
"summary": "Add a new address",
"description": "Derive a new address in the given account.",
"tags": [{"$ref": "#/components/tags/draft"}],
"params": [],
"result": {}
},
{
"name": "getbalance",
"summary": "Get the balance of the given account",
"description": "Get the balance of the given account, including any unconfirmed balance.",
"tags": [{"$ref": "#/components/tags/draft"}],
"params": [],
"result": {}
},
{
"name": "listreceived",
"summary": "List received transactions",
"description": "List transactions received by the given address.",
"tags": [{"$ref": "#/components/tags/draft"}],
"params": [],
"result": {}
},
{
"name": "sendmany",
"summary": "Send transaction(s)",
"description": "Send one or more transactions ",
"tags": [{"$ref": "#/components/tags/draft"}],
"params": [],
"result": {}
}
],
"components": {