Skip to content

NetworkPlugin

Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/providers/plugins-network.d.ts:6

A NetworkPlugin provides additional functionality on a [[Network]].

new NetworkPlugin(name): NetworkPlugin;

Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/providers/plugins-network.d.ts:17

Creates a new NetworkPlugin.

ParameterType
namestring

NetworkPlugin

readonly name: string;

Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/providers/plugins-network.d.ts:13

The name of the plugin.

It is recommended to use reverse-domain-notation, which permits unique names with a known authority as well as hierarchal entries.

clone(): NetworkPlugin;

Defined in: node_modules/.pnpm/ethers@6.15.0/node_modules/ethers/lib.esm/providers/plugins-network.d.ts:21

Creates a copy of this plugin.

NetworkPlugin