Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsValidURL ¶
IsValidURL checks that rpcURL has an http or https scheme and a non-empty host.
func QueryEthChainID ¶
QueryEthChainID dials rpcURL and returns the chain ID from eth_chainId.
func ValidateMatchesSelector ¶
ValidateMatchesSelector verifies the RPC's eth_chainId matches expectedSelector.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.