---
title: "Get a Blockchain by ID"
method: GET
path: "/blockchains/{id}"
tags: ["Blockchains & assets"]
---

# Get a Blockchain by ID

`GET /blockchains/{id}`

## Request

- Base URL: `https://api.fireblocks.io/v1`
- URL: `https://api.fireblocks.io/v1/blockchains/{id}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/fireblocks/apis/fireblocks-api/docs/blockchains/:id/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns a blockchain by ID or legacyID.

## Path parameters

- `id` string, required

## Response `200`

Blockchain with requested identification

- BlockchainResponse
  - `id` string, required: The ID of the blockchain
  - `legacyId` string, required: The old blockchain ID representation of the blockchain
  - `displayName` string, required: The name of the blockchain
  - `nativeAssetId` string, required: Native asset ID of this blockchain
  - `onchain` BlockchainOnchain, required
    - `protocol` string, required: The protocol of the blockchain
    - `chainId` string: Network/chain ID
    - `test` boolean, required: Is test blockchain
    - `signingAlgo` 'ECDSA_SECP256K1' | 'EDDSA_ED25519', required: Signing alghorithm
  - `metadata` BlockchainMetadata, required
    - `scope` 'GLOBAL' | 'LOCAL', required: The scope of the asset
    - `deprecated` boolean, required: Is blockchain deprecated
    - `media` BlockchainMedia[]: Blockchain’s media
      - `url` string, required: Media URL
      - `type` 'image/svg+xml' | 'image/png', required: Media type
    - `explorer` BlockchainExplorer
      - `base` string, required: Explorer base url
      - `address` string: Explorer address url
      - `tx` string: Explorer transaction url
      - `token` string: Explorer token url

## Other responses

- `404`: - Blockchain with specified ID or legacy ID is not found. Error code 1505
- `500`: Error occurred while getting an blockchain
- `default`: Error Response

---

[API](https://skmtc.dev/fireblocks/apis/fireblocks-api.md) - [All operations](https://skmtc.dev/fireblocks/apis/fireblocks-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fireblocks/apis/fireblocks-api/revisions/4eba9965659a?raw)
