RPC Server #103
1 changed files with 9 additions and 10 deletions
|
@ -597,8 +597,8 @@
|
||||||
"tags": [{"$ref": "#/components/tags/draft"},{"$ref": "#/components/tags/wip"}],
|
"tags": [{"$ref": "#/components/tags/draft"},{"$ref": "#/components/tags/wip"}],
|
||||||
"params": [
|
"params": [
|
||||||
{ "$ref": "#/components/contentDescriptors/AccountId"},
|
{ "$ref": "#/components/contentDescriptors/AccountId"},
|
||||||
{ "$ref": "#/components/contentDescriptors/TxRequestArray"},
|
{ "$ref": "#/components/contentDescriptors/PrivacyPolicy"},
|
||||||
{ "$ref": "#/components/contentDescriptors/PrivacyPolicy"}
|
{ "$ref": "#/components/contentDescriptors/TxRequestArray"}
|
||||||
],
|
],
|
||||||
"paramStructure": "by-position",
|
"paramStructure": "by-position",
|
||||||
"result": {
|
"result": {
|
||||||
|
@ -611,14 +611,19 @@
|
||||||
"examples": [
|
"examples": [
|
||||||
{
|
{
|
||||||
"name": "Send a transaction",
|
"name": "Send a transaction",
|
||||||
"summary": "Send one transaction",
|
"summary": "Send a transaction",
|
||||||
"description": "Send a single transaction",
|
"description": "Send a transaction with one output",
|
||||||
"params": [
|
"params": [
|
||||||
{
|
{
|
||||||
"name": "Account index",
|
"name": "Account index",
|
||||||
"summary": "The index for the account to use",
|
"summary": "The index for the account to use",
|
||||||
"value": "1"
|
"value": "1"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "Privacy Policy",
|
||||||
|
"summary": "The selected privacy policy",
|
||||||
|
"value": "Full"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "Transaction request",
|
"name": "Transaction request",
|
||||||
"summary": "The transaction to attempt",
|
"summary": "The transaction to attempt",
|
||||||
|
@ -629,11 +634,6 @@
|
||||||
"memo": "Simple transaction"
|
"memo": "Simple transaction"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Privacy Policy",
|
|
||||||
"summary": "The selected privacy policy",
|
|
||||||
"value": "Full"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"result": {
|
"result": {
|
||||||
|
@ -646,7 +646,6 @@
|
||||||
],
|
],
|
||||||
"errors": [
|
"errors": [
|
||||||
{ "$ref": "#/components/errors/ZebraNotAvailable" },
|
{ "$ref": "#/components/errors/ZebraNotAvailable" },
|
||||||
{ "$ref": "#/components/errors/InvalidRecipient" },
|
|
||||||
{ "$ref": "#/components/errors/InvalidAccount" }
|
{ "$ref": "#/components/errors/InvalidAccount" }
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue