All URIs are relative to http://localhost
| Method | HTTP request | Description |
|---|---|---|
| getNetwork | GET /api/v1/networks/{network_id} | Retrieves details of a specific network by ID. |
| listNetworks | GET /api/v1/networks | Network routes implementation |
| updateNetwork | PATCH /api/v1/networks/{network_id} | Updates a network's configuration. Currently supports updating RPC URLs only. Can be extended to support other fields. |
ApiResponse_NetworkResponse getNetwork(network_id)
Retrieves details of a specific network by ID.
| Name | Type | Description | Notes |
|---|---|---|---|
| network_id | String | Network ID (e.g., evm:sepolia, solana:mainnet) | [default to null] |
- Content-Type: Not defined
- Accept: application/json
ApiResponse_Vec_NetworkResponse listNetworks(page, per_page)
Network routes implementation
Note: OpenAPI documentation for these endpoints can be found in the `openapi.rs` file Lists all networks with pagination support.
| Name | Type | Description | Notes |
|---|---|---|---|
| page | Integer | Page number for pagination (starts at 1) | [optional] [default to null] |
| per_page | Integer | Number of items per page (default: 10) | [optional] [default to null] |
ApiResponse_Vec_NetworkResponse
- Content-Type: Not defined
- Accept: application/json
ApiResponse_NetworkResponse updateNetwork(network_id, UpdateNetworkRequest)
Updates a network's configuration. Currently supports updating RPC URLs only. Can be extended to support other fields.
| Name | Type | Description | Notes |
|---|---|---|---|
| network_id | String | Network ID (e.g., evm:sepolia, solana:mainnet) | [default to null] |
| UpdateNetworkRequest | UpdateNetworkRequest |
- Content-Type: application/json
- Accept: application/json