Cartouche.RPC.Configuration (Cartouche v0.8.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() :: %Cartouche.RPC.Configuration{
  current: Cartouche.RPC.Configuration.Fork.t() | nil,
  last: Cartouche.RPC.Configuration.Fork.t() | nil,
  next: Cartouche.RPC.Configuration.Fork.t() | nil
}

Functions

deserialize(params)

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

Decodes an eth_config result while ignoring unknown fields.