Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit 07c2e6f

Browse files
authored
add net to web3 eth interface (#5217)
1 parent d6c6bba commit 07c2e6f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/web3/src/types.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ import {
4040
} from 'web3-eth-accounts';
4141
import Contract, { ContractInitOptions } from 'web3-eth-contract';
4242
import { ENS } from 'web3-eth-ens';
43+
import Net from 'web3-net';
4344
import { Iban } from 'web3-eth-iban';
4445
import { Address, Bytes } from 'web3-utils';
4546

@@ -66,6 +67,7 @@ export interface Web3EthInterface extends Eth {
6667
*/
6768
Contract: Web3ContractConstructor<any>;
6869
Iban: typeof Iban;
70+
net: Net;
6971
ens: ENS;
7072
abi: {
7173
encodeEventSignature: typeof encodeFunctionSignature;

0 commit comments

Comments
 (0)