alloy_rpc_types_engine/
version.rs

1//! Versions for the engine api.
2
3/// The version of the engine api.
4#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
5#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
6#[repr(u32)]
7pub enum ForkchoiceUpdateVersion {
8    /// Version 1 of the engine api.
9    V1 = 1,
10    /// Version 2 of the engine api.
11    V2 = 2,
12    /// Version 3 of the engine api.
13    V3 = 3,
14    /// Version 4 of the engine api.
15    V4 = 4,
16}