EvmNetwork
to the DynamicContextProvider
’s overrides.evmNetworks
settings.
This can be done in two different ways:
EvmNetwork
, it completely overrides whatever networks were received from your dashboard configurations and uses that array instead.
(dashboardNetworks: EvmNetwork[]) => EvmNetwork[]
, you can use this callback to first
receive the array of networks that was sent from your dashboard configurations, and then return the array of networks you want the app
to use.
Note that the order of the params for mergeNetworks
matters: the first param takes precedence in case of a conflict.
Attribute | Value | Required/Optional |
---|---|---|
blockExplorerUrls | string[] | Required |
chainId | number | Required |
name | string | Required |
iconUrls | string[] | Required |
nativeCurrency | NativeCurrency | Required |
networkId | number | Required |
privateCustomerRpcUrls | string[] | Optional |
rpcUrls | string[] | Required |
vanityName | string | Optional |
Attribute | Value | Required/Optional |
---|---|---|
decimals | number | Required |
iconUrl | string | Optional |
name | string | Required |
symbol | string | Required |
denom | string | Optional |