You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/index.md
+10-10
Original file line number
Diff line number
Diff line change
@@ -277,8 +277,8 @@ Name | Type | Description
277
277
---- | ---- | -----------
278
278
fee | [value](#value) | *Optional* An exact fee to pay for the transaction. See [Transaction Fees](#transaction-fees) for more information.
279
279
maxFee | [value](#value) | *Optional* The maximum fee to pay for the transaction. See [Transaction Fees](#transaction-fees) for more information.
280
-
maxLedgerVersion | integer | *Optional* The highest ledger version that the transaction can be included in.
281
-
maxLedgerVersionOffset | integer | *Optional* Offset from current legder version to highest ledger version that the transaction can be included in.
280
+
maxLedgerVersion | integer,null | *Optional* The highest ledger version that the transaction can be included in. If this option and `maxLedgerVersionOffset` are both omitted, the `maxLedgerVersion` option will default to 3 greater than the current validated ledger version (equivalent to `maxLedgerVersionOffset=3`). Use `null` to not set a maximum ledger version.
281
+
maxLedgerVersionOffset | integer | *Optional* Offset from current validated legder version to highest ledger version that the transaction can be included in.
282
282
sequence | [sequence](#account-sequence-number) | *Optional* The initiating account's sequence number for this transaction.
283
283
284
284
We recommended that you specify a `maxLedgerVersion` so that you can quickly determine that a failed transaction will never succeeed in the future. It is impossible for a transaction to succeed after the network ledger version exceeds the transaction's `maxLedgerVersion`. If you omit `maxLedgerVersion`, the "prepare*" method automatically supplies a `maxLedgerVersion` equal to the current ledger plus 3, which it includes in the return value from the "prepare*" method.
@@ -2793,7 +2793,7 @@ txJSON | string | The prepared transaction in rippled JSON format.
2793
2793
instructions | object | The instructions for how to execute the transaction after adding automatic defaults.
2794
2794
*instructions.* fee | [value](#value) | An exact fee to pay for the transaction. See [Transaction Fees](#transaction-fees) for more information.
2795
2795
*instructions.* sequence | [sequence](#account-sequence-number) | The initiating account's sequence number for this transaction.
2796
-
*instructions.* maxLedgerVersion | integer | *Optional*The highest ledger version that the transaction can be included in.
2796
+
*instructions.* maxLedgerVersion | integer,null | The highest ledger version that the transaction can be included in. Set to `null` if there is no maximum.
2797
2797
2798
2798
### Example
2799
2799
@@ -2862,7 +2862,7 @@ txJSON | string | The prepared transaction in rippled JSON format.
2862
2862
instructions | object | The instructions for how to execute the transaction after adding automatic defaults.
2863
2863
*instructions.* fee | [value](#value) | An exact fee to pay for the transaction. See [Transaction Fees](#transaction-fees) for more information.
2864
2864
*instructions.* sequence | [sequence](#account-sequence-number) | The initiating account's sequence number for this transaction.
2865
-
*instructions.* maxLedgerVersion | integer | *Optional*The highest ledger version that the transaction can be included in.
2865
+
*instructions.* maxLedgerVersion | integer,null | The highest ledger version that the transaction can be included in. Set to `null` if there is no maximum.
2866
2866
2867
2867
### Example
2868
2868
@@ -2929,7 +2929,7 @@ txJSON | string | The prepared transaction in rippled JSON format.
2929
2929
instructions | object | The instructions for how to execute the transaction after adding automatic defaults.
2930
2930
*instructions.* fee | [value](#value) | An exact fee to pay for the transaction. See [Transaction Fees](#transaction-fees) for more information.
2931
2931
*instructions.* sequence | [sequence](#account-sequence-number) | The initiating account's sequence number for this transaction.
2932
-
*instructions.* maxLedgerVersion | integer | *Optional*The highest ledger version that the transaction can be included in.
2932
+
*instructions.* maxLedgerVersion | integer,null | The highest ledger version that the transaction can be included in. Set to `null` if there is no maximum.
2933
2933
2934
2934
### Example
2935
2935
@@ -2994,7 +2994,7 @@ txJSON | string | The prepared transaction in rippled JSON format.
2994
2994
instructions | object | The instructions for how to execute the transaction after adding automatic defaults.
2995
2995
*instructions.* fee | [value](#value) | An exact fee to pay for the transaction. See [Transaction Fees](#transaction-fees) for more information.
2996
2996
*instructions.* sequence | [sequence](#account-sequence-number) | The initiating account's sequence number for this transaction.
2997
-
*instructions.* maxLedgerVersion | integer | *Optional*The highest ledger version that the transaction can be included in.
2997
+
*instructions.* maxLedgerVersion | integer,null | The highest ledger version that the transaction can be included in. Set to `null` if there is no maximum.
2998
2998
2999
2999
### Example
3000
3000
@@ -3046,7 +3046,7 @@ txJSON | string | The prepared transaction in rippled JSON format.
3046
3046
instructions | object | The instructions for how to execute the transaction after adding automatic defaults.
3047
3047
*instructions.* fee | [value](#value) | An exact fee to pay for the transaction. See [Transaction Fees](#transaction-fees) for more information.
3048
3048
*instructions.* sequence | [sequence](#account-sequence-number) | The initiating account's sequence number for this transaction.
3049
-
*instructions.* maxLedgerVersion | integer | *Optional*The highest ledger version that the transaction can be included in.
3049
+
*instructions.* maxLedgerVersion | integer,null | The highest ledger version that the transaction can be included in. Set to `null` if there is no maximum.
3050
3050
3051
3051
### Example
3052
3052
@@ -3111,7 +3111,7 @@ txJSON | string | The prepared transaction in rippled JSON format.
3111
3111
instructions | object | The instructions for how to execute the transaction after adding automatic defaults.
3112
3112
*instructions.* fee | [value](#value) | An exact fee to pay for the transaction. See [Transaction Fees](#transaction-fees) for more information.
3113
3113
*instructions.* sequence | [sequence](#account-sequence-number) | The initiating account's sequence number for this transaction.
3114
-
*instructions.* maxLedgerVersion | integer | *Optional*The highest ledger version that the transaction can be included in.
3114
+
*instructions.* maxLedgerVersion | integer,null | The highest ledger version that the transaction can be included in. Set to `null` if there is no maximum.
3115
3115
3116
3116
### Example
3117
3117
@@ -3183,7 +3183,7 @@ txJSON | string | The prepared transaction in rippled JSON format.
3183
3183
instructions | object | The instructions for how to execute the transaction after adding automatic defaults.
3184
3184
*instructions.* fee | [value](#value) | An exact fee to pay for the transaction. See [Transaction Fees](#transaction-fees) for more information.
3185
3185
*instructions.* sequence | [sequence](#account-sequence-number) | The initiating account's sequence number for this transaction.
3186
-
*instructions.* maxLedgerVersion | integer | *Optional*The highest ledger version that the transaction can be included in.
3186
+
*instructions.* maxLedgerVersion | integer,null | The highest ledger version that the transaction can be included in. Set to `null` if there is no maximum.
3187
3187
3188
3188
### Example
3189
3189
@@ -3240,7 +3240,7 @@ txJSON | string | The prepared transaction in rippled JSON format.
3240
3240
instructions | object | The instructions for how to execute the transaction after adding automatic defaults.
3241
3241
*instructions.* fee | [value](#value) | An exact fee to pay for the transaction. See [Transaction Fees](#transaction-fees) for more information.
3242
3242
*instructions.* sequence | [sequence](#account-sequence-number) | The initiating account's sequence number for this transaction.
3243
-
*instructions.* maxLedgerVersion | integer | *Optional*The highest ledger version that the transaction can be included in.
3243
+
*instructions.* maxLedgerVersion | integer,null | The highest ledger version that the transaction can be included in. Set to `null` if there is no maximum.
Copy file name to clipboardexpand all lines: src/common/schemas/objects/instructions.json
+6-3
Original file line number
Diff line number
Diff line change
@@ -18,11 +18,14 @@
18
18
"$ref": "value"
19
19
},
20
20
"maxLedgerVersion": {
21
-
"description": "The highest ledger version that the transaction can be included in.",
22
-
"$ref": "ledgerVersion"
21
+
"description": "The highest ledger version that the transaction can be included in. If this option and `maxLedgerVersionOffset` are both omitted, the `maxLedgerVersion` option will default to 3 greater than the current validated ledger version (equivalent to `maxLedgerVersionOffset=3`). Use `null` to not set a maximum ledger version.",
22
+
"oneOf": [
23
+
{"$ref": "ledgerVersion"},
24
+
{"type": "null"}
25
+
]
23
26
},
24
27
"maxLedgerVersionOffset": {
25
-
"description": "Offset from current legder version to highest ledger version that the transaction can be included in.",
28
+
"description": "Offset from current validated legder version to highest ledger version that the transaction can be included in.",
0 commit comments