Summary
This utility function merges two arrays ofGenericNetwork objects, with the first array taking precedence in case of a conflict. It is imported from @dynamic-labs/sdk-react-core.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
🚀 Stablecoin Accounts are live! Learn more
GenericNetwork objects, with the first array taking precedence in case of a conflict. It is imported from @dynamic-labs/sdk-react-core.
export declare const mergeNetworks: (priorityNetworks: GenericNetwork[], secondaryNetworks: GenericNetwork[]) => GenericNetwork[];
import { mergeNetworks } from "@dynamic-labs/sdk-react-core";
const myEvmNetworks = [
...
]
const mySolNetworks = [
...
]
const DynamicSettings = {
overrides: {
evmNetworks: (networks) => mergeNetworks(myEvmNetworks, networks),
solNetworks: (networks) => mergeNetworks(mySolNetworks, networks),
}
};
Was this page helpful?