Files
stacks-blockchain-api/docs/api/rosetta/rosetta-construction-parse-response.schema.json
Lola Dam 2e8ff92245 fix: change rosetta construction parse api (#22)
metadata in reponse not required on the /construction/parse endpoint.

Closes #11
2021-03-08 15:25:48 +01:00

37 lines
1.1 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "rosetta-construction-parse-response",
"type": "object",
"title": "RosettaConstructionParseResponse",
"description": "RosettaConstructionParseResponse contains an array of operations that occur in a transaction blob. This should match the array of operations provided to /construction/preprocess and /construction/payloads.",
"required": ["operations"],
"properties": {
"operations": {
"type": "array",
"items": {
"$ref": "./../../entities/rosetta/rosetta-operation.schema.json"
}
},
"signers": {
"type": "array",
"description": "[DEPRECATED by account_identifier_signers in v1.4.4] All signers (addresses) of a particular transaction. If the transaction is unsigned, it should be empty.",
"items": {
"anyOf": [
{
"type": "string"
}
]
}
},
"account_identifier_signers": {
"type": "array",
"items": {
"$ref": "./../../entities/rosetta/rosetta-account-identifier.schema.json"
}
},
"metadata": {
"type": "object"
}
}
}