Chains
Reference data for supported blockchains (e.g. Ethereum, Bitcoin).
Authentication: Bearer token required.
List Chains
Endpoint: GET /api/v1/chains
Query Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| page | int | No | 1 | Page number |
| per_page | int | No | 10 | Items per page (max 100) |
Response — 200 OK
{
"items": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Ethereum",
"slug": "ethereum",
"chain_slug": "ethereum"
}
],
"page": 1,
"per_page": 10,
"total": 42
}
Get Chain by ID
Endpoint: GET /api/v1/chains/{id}
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | Yes | Chain UUID |
Response — 200 OK
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Ethereum",
"slug": "ethereum",
"chain_slug": "ethereum"
}
| Status | Description |
|---|---|
| 400 | Invalid UUID |
| 404 | Chain not found |