Get Chain
Returns one chain from the platform's chain catalog by its id.
Required permission: node:summary:view
Request
GET /v2/chains/{chain_id}
Parameters
| Name | Type | In | Description |
|---|---|---|---|
chain_id | string | path | Required. Chain id (24-character hex), as returned by Get Chains |
Headers
| Name | Description |
|---|---|
Authorization | Required. Bearer <access_token> |
Example
curl --request GET \
--url '{{baseUrl}}/v2/chains/6740e0a10000000000000101' \
--header 'Authorization: Bearer <access_token>'
Response
{
"id": "6740e0a10000000000000101",
"name": "EVM",
"slug": "evm",
"logo_url": "",
"default_network_id": "6740e0a20000000000000102"
}
Response Fields
| Field | Type | Description |
|---|---|---|
id | string | Chain id |
name | string | Display name |
slug | string | Machine name (e.g. evm) |
logo_url | string | Logo URL. Empty when none is set |
default_network_id | string | id of the network chain-scoped operations land on when this chain is selected, such as creating a node wallet. Empty when the chain has no default network; such a chain cannot host a wallet |
Errors
| Status | Code | Description |
|---|---|---|
| 400 | 10016 | chain_id is not a valid 24-character hex id |
| 400 | 10015 | No chain with this id (message chain not found) |
| 500 | 10000 | Unexpected server-side failure |
See Errors for the error format and common codes.