Skip to main content

index/functions/getEnvironmentConfig.md

getEnvironmentConfig(env): EnvironmentConfig

Resolve the URLs for a deployment.

Parameters​

ParameterType
envGalaChainEnv

Returns​

EnvironmentConfig

Example​

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