Blockchain link (Beta)

Get a blockchain by ID

Returns a single blockchain owned by the tenant, identified by its ID.

get/blockchain_link/blockchains/{blockchainId}

Request

Path parameters

blockchainIdstring required
Example:f47ac10b-58cc-4372-a567-0e02b2c3d479

ID of the blockchain to retrieve (supplied as a path parameter).

Response

OK

Example response

{
  "blockchain": {
    "id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
    "blockchainState": "BLOCKCHAIN_STATE_ACTIVATED",
    "declaredProperties": {
      "chainName": "Ethereum",
      "chainId": 1,
      "symbolName": "ETH",
      "decimals": 18,
      "rpcUrls": [
        "https://rpc.example.com"
      ],
      "environmentType": "ENVIRONMENT_TYPE_MAINNET",
      "blockExplorerUrl": "https://etherscan.io",
      "blockExplorerTransactionPath": "/tx",
      "blockExplorerAddressPath": "/address",
      "networkId": 1,
      "hasFee": true,
      "nodeType": "NODE_TYPE_CORE_GETH",
      "baseAssetTenantIds": [
        "f47ac10b-58cc-4372-a567-0e02b2c3d479"
      ],
      "explorerApiUrl": "https://api.etherscan.io",
      "explorerApiKey": "my-explorer-api-key",
      "rpcAuth": {
        "type": "RPC_AUTH_BASIC",
        "username": "rpc_user",
        "password": "my-password",
        "token": "my-bearer-token",
        "headerName": "X-Custom-Auth",
        "headerValue": "my-header-value"
      }
    },
    "createdAtUtc": 1700000000000,
    "updatedAtUtc": 1700000000000,
    "validationSessionId": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
    "validationStatus": "VALIDATION_STATUS_SUCCEEDED",
    "validationCreatedAtUtc": 1700000000000,
    "validationUpdatedAtUtc": 1700000000000,
    "validationCompletedAtUtc": 1700000000000,
    "validationFailureReasons": [
      "RPC endpoint unreachable"
    ],
    "failedStep": "FAILED_STEP_CONFIGURATION"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.