Files
stacks-blockchain-api/docs/api/rosetta/rosetta-construction-preprocess-response.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

18 lines
957 B
JSON

{
"type": "object",
"title": "RosettaConstructionPreprocessResponse",
"additionalProperties": false,
"description": "RosettaConstructionPreprocessResponse contains options that will be sent unmodified to /construction/metadata. If it is not necessary to make a request to /construction/metadata, options should be omitted. Some blockchains require the PublicKey of particular AccountIdentifiers to construct a valid transaction. To fetch these PublicKeys, populate required_public_keys with the AccountIdentifiers associated with the desired PublicKeys. If it is not necessary to retrieve any PublicKeys for construction, required_public_keys should be omitted.",
"properties": {
"options": {
"$ref": "./../../entities/rosetta/rosetta-construction-options.schema.json"
},
"required_public_keys": {
"type": "array",
"items": {
"$ref": "./../../entities/rosetta/rosetta-account.schema.json"
}
}
}
}