Crate reth_node_core::rpc::types::serde_helpers
Expand description
Modules§
- num
Deprecated Numeric serde helpers. - Serde functions for encoding primitive numbers using the Ethereum JSON-RPC “quantity” format.
- quantity_
bool Deprecated - Storage related helpers.
- Json U256 serde helpers.
Structs§
- A storage key type that can be serialized to and from a hex string up to 32 bytes. Used for
eth_getStorageAt
andeth_getProof
RPCs. - Generic type for capturing additional fields when deserializing structs.
- An extension to a struct that allows to capture additional fields when deserializing.
Functions§
- Supports parsing the TTD as an
Option<u64>
, orOption<f64>
specifically for the mainnet TTD (5.875e22). - For use with serde’s
deserialize_with
on a sequence that must be deserialized as a single but optional (i.e. possiblynull
) value. - Serialize a B256 as a hex string without the “0x” prefix.
- Serialize a byte vec as a hex string without the “0x” prefix.