index/functions/getEnvironmentConfig.md
getEnvironmentConfig(
env):EnvironmentConfig
Resolve the URLs for a deployment.
environment config
Parameters
| Parameter | Type |
|---|---|
env | GalaChainEnv |
gala chain env
Returns
environment config
Example
const config = getEnvironmentConfig('stage');
console.log(config.gatewayBaseUrl);