# ValidationStream | xrpl
Documentation for xrpl

# Interface ValidationStream

The validations stream sends messages whenever it receives validation messages, also called validation votes, regardless of whether or not the validation message is from a trusted validator.

#### Hierarchy

- BaseStream
  - ValidationStream

- Defined in packages/xrpl/src/models/methods/subscribe.ts:182

#####
Index

### Properties

amendments?
base_fee?
cookie?
data?
flags
full
ledger_hash
ledger_index
load_fee?
master_key?
reserve_base?
reserve_inc?
signature
signing_time
type
validation_public_key

## Properties

### `Optional` amendments

amendments?: string[]

The value validationReceived indicates this is from the validations Stream.

- Defined in packages/xrpl/src/models/methods/subscribe.ts:188

### `Optional` base_fee

base_fee?: number

The amendments this server wants to be added to the protocol.

- Defined in packages/xrpl/src/models/methods/subscribe.ts:190

### `Optional` cookie

cookie?: string

An arbitrary value chosen by the server at startup.

If the same validation key pair signs validations with different cookies concurrently, that usually indicates that multiple servers are incorrectly configured to use the same validation key pair.

- Defined in packages/xrpl/src/models/methods/subscribe.ts:198

### `Optional` data

data?: string

The contents of the validation message in its canonical binary form

- Defined in packages/xrpl/src/models/methods/subscribe.ts:202

### flags

flags: number

The unscaled transaction cost (reference_fee value) this server wants to set by Fee voting.

- Defined in packages/xrpl/src/models/methods/subscribe.ts:207

### full

full: boolean

Bit-mask of flags added to this validation message. The flag 0x80000000 indicates that the validation signature is fully-canonical. The flag 0x00000001 indicates that this is a full validation; otherwise it's a partial validation. Partial validations are not meant to vote for any particular ledger. A partial validation indicates that the validator is still online but not keeping up with consensus.

- Defined in packages/xrpl/src/models/methods/subscribe.ts:216

### ledger_hash

ledger_hash: string

If true, this is a full validation. Otherwise, this is a partial validation. Partial validations are not meant to vote for any particular ledger. A partial validation indicates that the validator is still online but not keeping up with consensus.

- Defined in packages/xrpl/src/models/methods/subscribe.ts:223

### ledger_index

ledger_index: string

The ledger index of the proposed ledger.

- Defined in packages/xrpl/src/models/methods/subscribe.ts:225

### `Optional` load_fee

load_fee?: number

The local load-scaled transaction cost this validator is currently enforcing, in fee units.

- Defined in packages/xrpl/src/models/methods/subscribe.ts:230

### `Optional` master_key

master_key?: string

The validator's master public key, if the validator is using a validator token, in the XRP Ledger's base58 format.

- Defined in packages/xrpl/src/models/methods/subscribe.ts:235

### `Optional` reserve_base

reserve_base?: number

The minimum reserve requirement (`account_reserve` value) this validator wants to set by fee voting.

- Defined in packages/xrpl/src/models/methods/subscribe.ts:240

### `Optional` reserve_inc

reserve_inc?: number

The increment in the reserve requirement (owner_reserve value) this validator wants to set by fee voting.

- Defined in packages/xrpl/src/models/methods/subscribe.ts:245

### signature

signature: string

The signature that the validator used to sign its vote for this ledger.

- Defined in packages/xrpl/src/models/methods/subscribe.ts:247

### signing_time

signing_time: number

When this validation vote was signed, in seconds since the Ripple Epoch.

- Defined in packages/xrpl/src/models/methods/subscribe.ts:249

### type

type: "validationReceived"

Overrides BaseStream.type

- Defined in packages/xrpl/src/models/methods/subscribe.ts:183

### validation_public_key

validation_public_key: string

The public key from the key-pair that the validator used to sign the message, in the XRP Ledger's base58 format. This identifies the validator sending the message and can also be used to verify the signature. If the validator is using a token, this is an ephemeral public key.

- Defined in packages/xrpl/src/models/methods/subscribe.ts:256

Generated using TypeDoc