v2

latestOpenAPI 3.0.12026-07-26334612609.5 KB
Custom Networks

Update a custom network

put/organizations/{organizationId}/customNetworks/{networkId}

Path parameters

organizationIdstring required
Example:95b11417-f18f-457f-8804-68e361f9164f

ID of organization

networkIdstring required
Example:95b11417-f18f-457f-8804-68e361f9164f

The unique identifier of the custom network

Request body

networkType'ETH' | 'EVM' | 'FLOW' | 'SOL' | 'ALGO' | 'STARK' | 'COSMOS' | 'BTC' | 'ECLIPSE' | 'SUI' | 'SPARK' | 'TRON' | 'APTOS' | 'TON' | 'STELLAR' required
chainNamestring required

Name of the custom network

chainIdstring required

Chain ID of the network

rpcUrlstring required
blockExplorerUrlstring required
iconUrlstring required
nativeCurrencyNamestring required

Full name of the native currency

nativeCurrencySymbolstring required

Symbol of the native currency

nativeCurrencyIconUrlstring required
nativeCurrencyDecimalsnumber required

Number of decimals for the native currency

Example request

{
  "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
}

Response

Custom network updated

Example response

{
  "customNetwork": {
    "id": "95b11417-f18f-457f-8804-68e361f9164f",
    "rpcUrl": "https://website-sample.com",
    "blockExplorerUrl": "https://website-sample.com",
    "iconUrl": "https://website-sample.com",
    "nativeCurrencyIconUrl": "https://website-sample.com"
  }
}