Networks
Retrieves details of a specific network by ID.
Changed onget/api/v1/networks/{network_id}
Request
- The document declares no server URL.
- AuthHTTP bearer
- TypeScripthttps://skmtc.dev/openzeppelin/apis/openzeppelin-relayer-api/docs/api/v1/networks/:network_id/get.tsA function with typed inputs. Its response is checked against the schema.
Path parameters
network_idstring required
Network ID (e.g., evm:sepolia, solana:mainnet)
Response
Network retrieved successfully
Example response
{
"data": {
"rpc_urls": [
{
"url": "https://rpc.example.com",
"weight": 100
}
]
}
}Changes
- info
added the optional property
/to the response with the status
- info
- info
endpoint added
- info