Skip to main content

Function: getEnvironmentConfig()

Gala Launchpad SDK 9.0.0-rc.5


Gala Launchpad SDK 9.0.0-rc.5 / index / getEnvironmentConfig

Function: getEnvironmentConfig()

getEnvironmentConfig(env): EnvironmentConfig

Defined in: packages/launchpad-sdk/dist/config/environments.d.ts:39

Resolve the URLs for a deployment.

Parameters​

env​

GalaChainEnv

Returns​

EnvironmentConfig

Example​

const config = getEnvironmentConfig('stage');
console.log(config.gatewayBaseUrl);