Milestone 3: RPC server, ZIP-320 #104
1 changed files with 48 additions and 0 deletions
|
@ -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": {
|
||||
|
|
Loading…
Reference in a new issue