docs: correct sendmany schemas in OpenRPC

This commit is contained in:
Rene Vergara 2024-09-14 06:54:00 -05:00
parent 932d79ad57
commit c9a42572d3
Signed by: pitmutt
GPG key ID: 65122AD495A7F5B2

View file

@ -597,8 +597,11 @@
"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"},
{ "type": "array", { "name": "Transaction requests",
"items": { "$ref": "#/components/contentDescriptors/TxRequest"} "schema": {
"type": "array",
"items": { "$ref": "#/components/contentDescriptors/TxRequest"}
}
} }
], ],
"paramStructure": "by-position", "paramStructure": "by-position",
@ -739,8 +742,8 @@
"properties": { "properties": {
"address": { "type": "string", "description": "Recipient's address (unified, Sapling or transparent)" }, "address": { "type": "string", "description": "Recipient's address (unified, Sapling or transparent)" },
"amount": { "type": "number", "description": "The amount to send in ZEC"}, "amount": { "type": "number", "description": "The amount to send in ZEC"},
"memo": { "type": "string", "description": "The shielded memo to include, if applicable", "required": false}, "memo": { "type": "string", "description": "The shielded memo to include, if applicable"},
"privacy": { "type": "string", "enum": ["None", "Medium", "Full"], "description": "The privacy policy to use for the transaction. `Full` policy allows shielded funds to be transferred within their shielded pools. `Medium` policy allows shielded funds to cross shielded pools and deshielding transactions. `None` allows for transparent funds to be spent.", "required": false } "privacy": { "type": "string", "enum": ["None", "Medium", "Full"], "description": "The privacy policy to use for the transaction. `Full` policy allows shielded funds to be transferred within their shielded pools. `Medium` policy allows shielded funds to cross shielded pools and deshielding transactions. `None` allows for transparent funds to be spent."}
} }
} }
} }