Skip to main content
POST
/
organizations
/
{organizationId}
/
customNetworks
Create a custom network for an organization
curl --request POST \
  --url https://app.dynamicauth.com/api/v0/organizations/{organizationId}/customNetworks \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "networkType": "ETH",
  "chainName": "Base Mainnet",
  "chainId": "8453",
  "rpcUrl": "https://website-sample.com",
  "blockExplorerUrl": "https://website-sample.com",
  "iconUrl": "https://website-sample.com",
  "nativeCurrencyName": "Ethereum",
  "nativeCurrencySymbol": "ETH",
  "nativeCurrencyIconUrl": "https://website-sample.com",
  "nativeCurrencyDecimals": 18
}'
{
  "customNetwork": {
    "id": "95b11417-f18f-457f-8804-68e361f9164f",
    "networkType": "ETH",
    "chainName": "<string>",
    "chainId": "<string>",
    "rpcUrl": "https://website-sample.com",
    "blockExplorerUrl": "https://website-sample.com",
    "iconUrl": "https://website-sample.com",
    "nativeCurrencyName": "<string>",
    "nativeCurrencySymbol": "<string>",
    "nativeCurrencyIconUrl": "https://website-sample.com",
    "nativeCurrencyDecimals": 9
  }
}

Authorizations

Authorization
string
header
required

Path Parameters

organizationId
string
required
Required string length: 36
Example:

Body

application/json
networkType
enum<string>
required
Available options:
ETH,
EVM,
FLOW,
SOL,
ALGO,
STARK,
COSMOS,
BTC,
ECLIPSE,
SUI,
SPARK,
TRON,
APTOS,
TON
chainName
string
required
Maximum length: 100
Example:
chainId
string
required
Maximum length: 100
Example:
rpcUrl
string
required
Maximum length: 255
Example:
blockExplorerUrl
string
required
Maximum length: 255
Example:
iconUrl
string
required
Maximum length: 255
Example:
nativeCurrencyName
string
required
Maximum length: 100
Example:
nativeCurrencySymbol
string
required
Maximum length: 100
Example:
nativeCurrencyIconUrl
string
required
Maximum length: 255
Example:
nativeCurrencyDecimals
number
required
Required range: 0 <= x <= 18
Example:

Response

customNetwork
object