@metamask-previews/multichain-network-controller
Version:
Multichain network controller
39 lines • 1.57 kB
text/typescript
import type { MultichainNetworkConfiguration, MultichainNetworkControllerState, MultichainNetworkMetadata, SupportedCaipChainId } from "./types.cjs";
export declare const BTC_NATIVE_ASSET = "bip122:000000000019d6689c085ae165831e93/slip44:0";
export declare const SOL_NATIVE_ASSET = "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp/token:EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v";
/**
* Supported networks by the MultichainNetworkController
*/
export declare const AVAILABLE_MULTICHAIN_NETWORK_CONFIGURATIONS: Record<SupportedCaipChainId, MultichainNetworkConfiguration>;
/**
* Metadata for the supported networks.
*/
export declare const NETWORKS_METADATA: Record<string, MultichainNetworkMetadata>;
/**
* Default state of the {@link MultichainNetworkController}.
*
* @returns The default state of the {@link MultichainNetworkController}.
*/
export declare const getDefaultMultichainNetworkControllerState: () => MultichainNetworkControllerState;
/**
* {@link MultichainNetworkController}'s metadata.
*
* This allows us to choose if fields of the state should be persisted or not
* using the `persist` flag; and if they can be sent to Sentry or not, using
* the `anonymous` flag.
*/
export declare const MULTICHAIN_NETWORK_CONTROLLER_METADATA: {
multichainNetworkConfigurationsByChainId: {
persist: true;
anonymous: true;
};
selectedMultichainNetworkChainId: {
persist: true;
anonymous: true;
};
isEvmSelected: {
persist: true;
anonymous: true;
};
};
//# sourceMappingURL=constants.d.cts.map