Docs

defineChain

Defines a chain with the given options.

Example

const chain = defineChain({
id: 1,
nativeCurrency: {
name: "Ether",
symbol: "ETH",
decimals: 18,
},
});

Parameters

Returns

The defined chain.