Files
stacks-blockchain-api/docs/api/rosetta/rosetta-construction-preprocess-response.schema.json

20 lines
1.0 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "rosetta-construction-preprocess-response",
"type": "object",
"title": "RosettaConstructionPreprocessResponse",
"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.",
"required": [],
"properties": {
"options": {
"$ref": "./../../entities/rosetta/rosetta-construction-options.schema.json"
},
"required_public_keys": {
"type": "array",
"items": {
"$ref": "./../../entities/rosetta/rosetta-account.schema.json"
}
}
}
}