v18

latestOpenAPI 3.1.0AGPL-3.0 licenseraw.githubusercontent.com2026-08-0143162294.8 KB
Networks

Updates a network's configuration. Currently supports updating RPC URLs only. Can be extended to support other fields.

patch/api/v1/networks/{network_id}

Path parameters

network_idstring required

Network ID (e.g., evm:sepolia, solana:mainnet)

Request body

Example request

{
  "rpc_urls": [
    {
      "url": "https://rpc.example.com",
      "weight": 100
    }
  ]
}

Response

Network updated successfully

errorstring
successboolean required

Example response

{
  "data": {
    "rpc_urls": [
      {
        "url": "https://rpc.example.com",
        "weight": 100
      }
    ]
  }
}