Shared EVM JSON-RPC helpers used by hash, authorization, and transaction paths.
Summary
Functions
Normalize a 0x-prefixed transaction hash to lowercase.
Require a non-negative integer chain_id in method config.
Build Onchain.RPC options from an RPC URL and optional Req overrides.
Functions
Normalize a 0x-prefixed transaction hash to lowercase.
@spec require_chain_id(map()) :: {:ok, non_neg_integer()} | {:error, MPP.Errors.t()}
Require a non-negative integer chain_id in method config.
Build Onchain.RPC options from an RPC URL and optional Req overrides.