Skip to main content
BETA
HomeIntegration BuilderAPI ReferenceGuides
View Mirror World on Github
Join the Discord server

Language:

clusterEnv

Get instance's environment.


_8
const mirrorworld = new MirrorWorld(/* ... */)
_8
const clusterEnv: ClusterEnvironment = mirrorworld.clusterEnv
_8
_8
export enum ClusterEnvironment {
_8
mainnet = 'mainnet',
_8
testnet = 'testnet',
_8
local = 'local',
_8
}

Edit this page on GitHub

Copyright © Mirror World, Inc. 2023
On this page

    Home

    Tutorials

    Guides

    API Reference