> ## Documentation Index
> Fetch the complete documentation index at: https://developers.fireblocks.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create a new blockchain

> <Badge color="blue" shape="pill">EA</Badge> Early Availability: this endpoint may change before GA.

Registers a new tenant-managed blockchain from the supplied declared properties. The blockchain starts in the CREATED state and must be activated separately before it can be used.



## OpenAPI

````yaml https://swagger.fireblocks.com/openapi.yaml post /blockchain_link/blockchains
openapi: 3.0.0
info:
  title: Fireblocks API
  description: >
    Fireblocks provides a suite of applications to manage digital asset
    operations and a complete development platform to build your business on the
    blockchain.


    - Visit our website for more information: [Fireblocks
    Website](https://fireblocks.com)

    - Visit our developer docs: [Fireblocks
    DevPortal](https://developers.fireblocks.com)
  version: 1.6.2
  contact:
    email: developers@fireblocks.com
servers:
  - url: https://api.fireblocks.io/v1
    description: Fireblocks Production Environment Base URL
  - url: https://sandbox-api.fireblocks.io/v1
    description: Fireblocks Sandbox Environment Base URL
security: []
paths:
  /blockchain_link/blockchains:
    post:
      tags:
        - Blockchain link
      summary: Create a new blockchain
      description: >-
        <Badge color="blue" shape="pill">EA</Badge> Early Availability: this
        endpoint may change before GA.


        Registers a new tenant-managed blockchain from the supplied declared
        properties. The blockchain starts in the CREATED state and must be
        activated separately before it can be used.
      operationId: createBlockchainLinkChain
      parameters:
        - $ref: '#/components/parameters/X-Idempotency-Key'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateBlockchainRequest'
      responses:
        '200':
          description: OK
          headers:
            X-Request-ID:
              $ref: '#/components/headers/X-Request-ID'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateBlockchainResponse'
        default:
          $ref: '#/components/responses/Error'
      x-codeSamples:
        - lang: TypeScript
          source: >-
            const response:
            Promise<FireblocksResponse<CreateBlockchainResponse>> =
            fireblocks.blockchainLink.createBlockchainLinkChain(blockchainLinkApiCreateBlockchainLinkChainRequest);
        - lang: Java
          source: >-
            CompletableFuture<ApiResponse<CreateBlockchainResponse>> response =
            fireblocks.blockchainLink().createBlockchainLinkChain(createBlockchainRequest,
            idempotencyKey);
        - lang: Python
          source: >-
            response =
            fireblocks.blockchain_link.create_blockchain_link_chain(create_blockchain_request,
            idempotency_key);
components:
  parameters:
    X-Idempotency-Key:
      name: Idempotency-Key
      in: header
      description: >-
        A unique identifier for the request. If the request is sent multiple
        times with the same idempotency key, the server will return the same
        response as the first request. The idempotency key is valid for 24
        hours.
      required: false
      schema:
        type: string
  schemas:
    CreateBlockchainRequest:
      type: object
      description: >-
        Create blockchain request. tenant_id is derived from the JWT token
        context.
      properties:
        declaredProperties:
          $ref: '#/components/schemas/BlockchainDeclaredProperties'
      required:
        - declaredProperties
    CreateBlockchainResponse:
      type: object
      properties:
        blockchain:
          $ref: '#/components/schemas/Blockchain'
        message:
          type: string
          example: Blockchain created successfully
          description: Human-readable result message.
      required:
        - blockchain
        - message
    BlockchainDeclaredProperties:
      type: object
      description: >-
        Declared properties for blockchain configuration (create/update API and
        response) Only the fields sent by the API and returned in
        list/create/update responses.
      properties:
        chainName:
          type: string
          example: Ethereum
          description: Human-readable name of the blockchain.
        chainId:
          type: number
          example: 1
          description: EVM chain ID of the blockchain.
        symbolName:
          type: string
          example: ETH
          description: Native asset symbol of the blockchain.
        decimals:
          type: number
          example: 18
          description: Number of decimals for the native asset.
        rpcUrls:
          type: array
          items:
            type: string
          minItems: 1
          maxItems: 1
          example:
            - https://rpc.example.com
          description: RPC endpoint URLs for the blockchain.
        environmentType:
          type: string
          enum:
            - ENVIRONMENT_TYPE_MAINNET
            - ENVIRONMENT_TYPE_TESTNET
          example: ENVIRONMENT_TYPE_MAINNET
          description: Network environment (mainnet or testnet).
        blockExplorerUrl:
          type: string
          example: https://etherscan.io
          description: Base URL of the block explorer.
        blockExplorerTransactionPath:
          type: string
          example: /tx
          description: Path template for a transaction on the block explorer.
        blockExplorerAddressPath:
          type: string
          example: /address
          description: Path template for an address on the block explorer.
        networkId:
          type: number
          example: 1
          description: EVM network ID of the blockchain.
        hasFee:
          type: boolean
          example: true
          description: Whether the blockchain charges transaction fees.
        isPoa:
          type: boolean
          example: false
          description: Whether the blockchain uses proof-of-authority consensus.
        hasLayeredFee:
          type: boolean
          example: false
          description: Whether the blockchain uses a layered fee model.
        nodeType:
          type: string
          enum:
            - NODE_TYPE_CORE_GETH
            - NODE_TYPE_FANTOM
            - NODE_TYPE_ERIGON
            - NODE_TYPE_PARITY
            - NODE_TYPE_BESU
          example: NODE_TYPE_CORE_GETH
          description: Node client type for the blockchain.
        transactionFormat:
          type: number
          example: 0
          description: Transaction format identifier.
        baseAssetTenantIds:
          type: array
          items:
            type: string
          example:
            - f47ac10b-58cc-4372-a567-0e02b2c3d479
          description: Tenant IDs that share this base asset.
        explorerApiUrl:
          type: string
          example: https://api.etherscan.io
          description: Block explorer API base URL.
        explorerApiKey:
          type: string
          example: my-explorer-api-key
          description: API key for the block explorer API.
        isTraceEnabled:
          type: boolean
          example: false
          description: Whether trace/debug RPC methods are enabled.
        rpcAuth:
          $ref: '#/components/schemas/BlockchainRpcAuth'
      required:
        - chainName
        - chainId
        - symbolName
        - rpcUrls
        - environmentType
    Blockchain:
      type: object
      description: Blockchain entity
      properties:
        id:
          type: string
          example: f47ac10b-58cc-4372-a567-0e02b2c3d479
          description: Unique blockchain identifier.
        blockchainState:
          type: string
          enum:
            - BLOCKCHAIN_STATE_CREATED
            - BLOCKCHAIN_STATE_ACTIVATING
            - BLOCKCHAIN_STATE_ACTIVATED
            - BLOCKCHAIN_STATE_DEACTIVATING
            - BLOCKCHAIN_STATE_DEACTIVATED
            - BLOCKCHAIN_STATE_TECHNICAL_FAILURE
          example: BLOCKCHAIN_STATE_ACTIVATED
          description: Current lifecycle state of the blockchain.
        declaredProperties:
          $ref: '#/components/schemas/BlockchainDeclaredProperties'
        createdAtUtc:
          type: number
          example: 1700000000000
          description: Creation timestamp (epoch milliseconds, UTC).
        updatedAtUtc:
          type: number
          example: 1700000000000
          description: Last update timestamp (epoch milliseconds, UTC).
        validationSessionId:
          type: string
          example: f47ac10b-58cc-4372-a567-0e02b2c3d479
          description: >-
            Validation session data (optional - only present if validation
            session exists)
        validationStatus:
          type: string
          enum:
            - VALIDATION_STATUS_PENDING
            - VALIDATION_STATUS_IN_PROGRESS
            - VALIDATION_STATUS_SUCCEEDED
            - VALIDATION_STATUS_FAILED
            - VALIDATION_STATUS_TECHNICAL_FAILURE
          example: VALIDATION_STATUS_SUCCEEDED
          description: Status of the latest validation session.
        validationCreatedAtUtc:
          type: number
          example: 1700000000000
          description: Validation session creation timestamp (epoch milliseconds, UTC).
        validationUpdatedAtUtc:
          type: number
          example: 1700000000000
          description: Validation session last update timestamp (epoch milliseconds, UTC).
        validationCompletedAtUtc:
          type: number
          example: 1700000000000
          description: Validation session completion timestamp (epoch milliseconds, UTC).
        validationFailureReasons:
          type: array
          items:
            type: string
          example:
            - RPC endpoint unreachable
          description: Reasons the latest validation failed, if any.
        failedStep:
          type: string
          enum:
            - FAILED_STEP_CONFIGURATION
            - FAILED_STEP_RESOURCES_ALLOCATION
            - FAILED_STEP_TEST_TX_EXTERNAL_TO_FIREBLOCKS
            - FAILED_STEP_TEST_TX_FIREBLOCKS_TO_FIREBLOCKS
          example: FAILED_STEP_CONFIGURATION
          description: >-
            Business step at which the activation flow failed. Absent when no
            failure has been recorded.
      required:
        - id
        - blockchainState
        - declaredProperties
        - createdAtUtc
        - updatedAtUtc
        - validationFailureReasons
    ErrorSchema:
      type: object
      properties:
        message:
          type: string
        code:
          type: number
    BlockchainRpcAuth:
      type: object
      description: >-
        Discriminated RPC auth payload. Sent on create/update so backend can
        distinguish "no auth" from "field unchanged" on PUT updates. Credential
        values are stored inside declaredProperties and fetched at activation
        time; they are deliberately not carried through workflow context.
      properties:
        type:
          type: string
          enum:
            - RPC_AUTH_BASIC
            - RPC_AUTH_BEARER
            - RPC_AUTH_CUSTOM_HEADER
          example: RPC_AUTH_BASIC
          description: Authentication scheme used when calling the RPC endpoint.
        username:
          type: string
          example: rpc_user
          description: Username for RPC_AUTH_BASIC authentication.
        password:
          type: string
          example: my-password
          description: Password for RPC_AUTH_BASIC authentication.
        token:
          type: string
          example: my-bearer-token
          description: Bearer token for RPC_AUTH_BEARER authentication.
        headerName:
          type: string
          example: X-Custom-Auth
          description: Header name for RPC_AUTH_CUSTOM_HEADER authentication.
        headerValue:
          type: string
          example: my-header-value
          description: Header value for RPC_AUTH_CUSTOM_HEADER authentication.
      required:
        - type
  headers:
    X-Request-ID:
      schema:
        type: string
      description: >-
        Unique ID correlated to the API request. Please provide it in any
        support ticket you create or on Github issues related to Fireblocks SDKs
  responses:
    Error:
      description: Error Response
      headers:
        X-Request-ID:
          $ref: '#/components/headers/X-Request-ID'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorSchema'

````