Files
stacks-blockchain-api/docs/api/rosetta/rosetta-construction-parse-request.schema.json
Rafael Cárdenas 666b8a60fb chore: fix openapi schema validation errors, clean up type definitions (#1170)
* fix: openapi lint validator

* fix: balances schema

* fix: add title to all entities

* fix: some additionalProperties and duplicate names

* fix: remove additional properties for rosetta

* fix: rosetta tests

* style: remove empty description
2022-05-13 15:25:11 -05:00

21 lines
926 B
JSON

{
"type": "object",
"title": "RosettaConstructionParseRequest",
"description": "Parse is called on both unsigned and signed transactions to understand the intent of the formulated transaction. This is run as a sanity check before signing (after /construction/payloads) and before broadcast (after /construction/combine).",
"required": ["network_identifier", "signed", "transaction"],
"additionalProperties": false,
"properties": {
"network_identifier": {
"$ref": "./../../entities/rosetta/rosetta-network-identifier.schema.json"
},
"signed": {
"type": "boolean",
"description": "Signed is a boolean indicating whether the transaction is signed."
},
"transaction": {
"type": "string",
"description": "This must be either the unsigned transaction blob returned by /construction/payloads or the signed transaction blob returned by /construction/combine."
}
}
}