Skip to main content

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​

NameTypeInDescription
chain_idstringpathRequired. Chain id (24-character hex), as returned by Get Chains

Headers​

NameDescription
AuthorizationRequired. 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​

FieldTypeDescription
idstringChain id
namestringDisplay name
slugstringMachine name (e.g. evm)
logo_urlstringLogo URL. Empty when none is set
default_network_idstringid 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​

StatusCodeDescription
40010016chain_id is not a valid 24-character hex id
40010015No chain with this id (message chain not found)
50010000Unexpected server-side failure

See Errors for the error format and common codes.