mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-30 09:05:50 +00:00
38 lines
1.5 KiB
JSON
38 lines
1.5 KiB
JSON
{
|
|
"$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": "The fee to pay for the transaction. See [Transaction Fees](#transaction-fees) for more information. For multi-signed transactions, this fee will be multiplied by (N+1), where N is the number of signatures you plan to provide."
|
|
},
|
|
"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. If not null, this must be an integer greater than 0, or one of the following strings: 'validated', 'closed', 'current'."
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"required": ["fee", "sequence", "maxLedgerVersion"]
|
|
}
|
|
},
|
|
"additionalProperties": false,
|
|
"required": ["txJSON", "instructions"]
|
|
}
|