v2
latestOpenAPI 3.0.12026-07-26334612609.5 KBEnvironments
Updates the environment settings
put/environments/{environmentId}
Path parameters
environmentIdstring required
Example:95b11417-f18f-457f-8804-68e361f9164f
ID of the environment
Request body
Example request
{
"chains": [
{
"networks": [
{
"chainName": "Ethereum Mainnet"
}
]
}
],
"customFields": [
{
"validationRules": {
"regex": "^0x",
"validOptions": [
{
"label": "small"
},
{
"label": "medium"
},
{
"label": "large"
}
],
"checkboxText": "Agree to the terms and conditions"
}
}
],
"kyc": [
{
"validationRules": {
"regex": "^0x",
"validOptions": [
{
"label": "small"
},
{
"label": "medium"
},
{
"label": "large"
}
],
"checkboxText": "Agree to the terms and conditions"
}
}
],
"general": {
"displayName": "An example name",
"supportUrls": {
"slack": "https://dynamic.xyz",
"twitter": "https://dynamic.xyz"
},
"emailCompanyName": "An example name"
},
"providers": [
{
"id": "95b11417-f18f-457f-8804-68e361f9164f",
"defaultChain": "eip155:1",
"termsAcceptedByUser": {
"userId": "95b11417-f18f-457f-8804-68e361f9164f"
},
"enabledCountries": [
{
"isoCountryCode": "US",
"phoneCountryCode": "An example name"
}
]
}
],
"exchanges": [
{
"id": "95b11417-f18f-457f-8804-68e361f9164f"
}
],
"sdk": {
"disabledWalletConnectors": [
"metamask"
]
},
"security": {
"externalAuth": {
"iss": "An example name",
"aud": "An example name",
"jwksUrl": "https://website-sample.com",
"cookieName": "An example name"
}
},
"networks": [
{
"networks": [
{
"lcdUrl": "https://lcd.osmosis.zone",
"chainName": "Ethereum Mainnet",
"key": "ethereum",
"name": "Ethereum Mainnet",
"shortName": "ETH",
"chain": "ETH",
"chainId": "1",
"nameService": {
"registry": "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"
},
"networkId": "1",
"nativeCurrency": {
"name": "Ether",
"symbol": "ETH",
"denom": "uatom"
},
"rpcUrls": [
"https://mainnet.infura.io/v3/"
],
"privateCustomerRpcUrls": [
"https://mainnet.infura.io/v3/"
],
"blockExplorerUrls": [
"https://etherscan.io/"
],
"vanityName": "Ethereum",
"bech32Prefix": "cosmos",
"genesisHash": "5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"cluster": "mainnet, devnet, etc"
}
]
}
]
}Response
Project settings response
Example response
{
"chains": [
{
"networks": [
{
"chainName": "Ethereum Mainnet"
}
]
}
],
"customFields": [
{
"validationRules": {
"regex": "^0x",
"validOptions": [
{
"label": "small"
},
{
"label": "medium"
},
{
"label": "large"
}
],
"checkboxText": "Agree to the terms and conditions"
}
}
],
"kyc": [
{
"validationRules": {
"regex": "^0x",
"validOptions": [
{
"label": "small"
},
{
"label": "medium"
},
{
"label": "large"
}
],
"checkboxText": "Agree to the terms and conditions"
}
}
],
"general": {
"displayName": "An example name",
"supportUrls": {
"slack": "https://dynamic.xyz",
"twitter": "https://dynamic.xyz"
},
"emailCompanyName": "An example name"
},
"providers": [
{
"id": "95b11417-f18f-457f-8804-68e361f9164f",
"defaultChain": "eip155:1",
"termsAcceptedByUser": {
"userId": "95b11417-f18f-457f-8804-68e361f9164f"
},
"enabledCountries": [
{
"isoCountryCode": "US",
"phoneCountryCode": "An example name"
}
]
}
],
"exchanges": [
{
"id": "95b11417-f18f-457f-8804-68e361f9164f"
}
],
"sdk": {
"disabledWalletConnectors": [
"metamask"
]
},
"security": {
"externalAuth": {
"iss": "An example name",
"aud": "An example name",
"jwksUrl": "https://website-sample.com",
"cookieName": "An example name"
}
},
"networks": [
{
"networks": [
{
"lcdUrl": "https://lcd.osmosis.zone",
"chainName": "Ethereum Mainnet",
"key": "ethereum",
"name": "Ethereum Mainnet",
"shortName": "ETH",
"chain": "ETH",
"chainId": "1",
"nameService": {
"registry": "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e"
},
"networkId": "1",
"nativeCurrency": {
"name": "Ether",
"symbol": "ETH",
"denom": "uatom"
},
"rpcUrls": [
"https://mainnet.infura.io/v3/"
],
"privateCustomerRpcUrls": [
"https://mainnet.infura.io/v3/"
],
"blockExplorerUrls": [
"https://etherscan.io/"
],
"vanityName": "Ethereum",
"bech32Prefix": "cosmos",
"genesisHash": "5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"cluster": "mainnet, devnet, etc"
}
]
}
]
}