diff --git a/interfaces.go b/interfaces.go index cfa51ca2e6..5267c9ad99 100644 --- a/interfaces.go +++ b/interfaces.go @@ -298,6 +298,11 @@ type ChainIDReader interface { ChainID(ctx context.Context) (*big.Int, error) } +// NetworkIDReader provides access to the network ID. +type NetworkIDReader interface { + NetworkID(ctx context.Context) (*big.Int, error) +} + // OverrideAccount specifies the state of an account to be overridden. type OverrideAccount struct { // Nonce sets nonce of the account. Note: the nonce override will only