Onchain.RPC.Configuration (onchain v0.16.0)

Copy Markdown View Source

Deserialized eth_config fork configuration report defined by EIP-7910.

Fields are nilable because clients may omit configuration added by newer revisions of the method.

Summary

Functions

Decodes an eth_config result while ignoring unknown fields.

Types

t()

@type t() :: %Onchain.RPC.Configuration{
  current: Onchain.RPC.Configuration.Fork.t() | nil,
  last: Onchain.RPC.Configuration.Fork.t() | nil,
  next: Onchain.RPC.Configuration.Fork.t() | nil
}

Functions

deserialize(params)

@spec deserialize(map()) :: t()

Decodes an eth_config result while ignoring unknown fields.