Last updated

UNLModify

(Added by the NegativeUNL amendment.)

A UNLModify pseudo-transaction marks a change to the Negative UNL, indicating that a trusted validator has gone offline or come back online.

Note: You cannot send a pseudo-transaction, but you may find one when processing ledgers.

Example UNLModify JSON

{
  "Account": "",
  "Fee": "0",
  "LedgerSequence": 1600000,
  "Sequence": 0,
  "SigningPubKey": "",
  "TransactionType": "UNLModify",
  "UNLModifyDisabling": 1,
  "UNLModifyValidator": "ED6629D456285AE3613B285F65BBFF168D695BA3921F309949AFCD2CA7AFEC16FE",
}

UNLModify Fields

In addition to the common fields, UNLModify pseudo-transactions use the following fields:

NameJSON TypeInternal TypeDescription
TransactionTypeStringUInt16The value 0x0066, mapped to the string UNLModify, indicates that this object is an UNLModify pseudo-transaction.
LedgerSequenceNumberUInt32The ledger index where this pseudo-transaction appears. This distinguishes the pseudo-transaction from other occurrences of the same change.
UNLModifyDisablingNumberUInt8If 1, this change represents adding a validator to the Negative UNL. If 0, this change represents removing a validator from the Negative UNL. (No other values are allowed.)
UNLModifyValidatorStringBlobThe validator to add or remove, as identified by its master public key.