{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "prepare",
"description": "Result of prepare function",
"type": "object",
"properties": {
"txJSON": {
"type": "string",
"description": "The prepared transaction in rippled JSON format."
},
"instructions": {
"description": "The instructions for how to execute the transaction after adding automatic defaults.",
"type": "object",
"properties": {
"fee": {
"$ref": "value",
"description": "An exact fee to pay for the transaction. See [Transaction Fees](#transaction-fees) for more information."
},
"sequence": {
"$ref": "sequence",
"description": "The initiating account's sequence number for this transaction."
},
"maxLedgerVersion": {
"oneOf": [
{"$ref": "ledgerVersion"},
{"type": "null"}
],
"description": "The highest ledger version that the transaction can be included in. Set to `null` if there is no maximum."
}
},
"additionalProperties": false,
"required": ["fee", "sequence", "maxLedgerVersion"]
}
},
"additionalProperties": false,
"required": ["txJSON", "instructions"]
}