Type Alias AddEthereumChainRequest

AddEthereumChainRequest: {
    blockExplorerUrls?: string[];
    chainId: Numbers;
    chainName?: string;
    iconUrls?: string[];
    nativeCurrency?: NativeCurrencyData;
    rpcUrls?: string[];
}

Request to add a new blockchain network to the user's wallet.

See EIP-3085 for more details.

Type declaration

  • OptionalblockExplorerUrls?: string[]

    URLs for block explorers associated with this chain.

  • chainId: Numbers

    Unique identifier for the chain, as per EIP-155.

  • OptionalchainName?: string

    The name of the chain (e.g., "Ethereum Mainnet").

  • OptionaliconUrls?: string[]

    URLs to icons representing the chain.

  • OptionalnativeCurrency?: NativeCurrencyData

    Details of the native currency used on this chain.

  • OptionalrpcUrls?: string[]

    URLs of the RPC nodes for this chain.