Blockchain Service overview
    • PDF

    Blockchain Service overview

    • PDF

    Article summary

    Available in VPC

    Blockchain Service is a NAVER Cloud Platform service that allows you to organize a private, consortium-style blockchain network using Hyperledger Fabric. The Blockchain Service provides APIs for component information of the blockchain network in RESTful form.

    Common Blockchain Service settings

    The following describes commonly used request and response formats in Blockchain Service APIs.

    Request

    The following describes the common request format.

    API URL

    The request API URL is as follows.

     Korea Region (KR): https://blockchainservice.apigw.ntruss.com/api/v1
     Singapore Region (SGN): https://blockchainservice.apigw.ntruss.com/api/sgn-v1
    

    Request headers

    The following describes the headers.

    FieldRequiredDescription
    x-ncp-apigw-timestampRequiredThis is the number of milliseconds that have elapsed since January 1, 1970 00:00:00 UTC
  • Request is considered invalid if the timestamp differs from the current time by more than 5 minutes
  • x-ncp-iam-access-keyRequiredAccess key issued on NAVER Cloud Platform
  • Issue and check access key: See Create authentication key
  • Issue and check access key for sub account: See Create sub account
  • x-ncp-apigw-signature-v2RequiredBase64-encoded signature that encrypts the request information with a secret key that maps to the access key issued on NAVER Cloud Platform, using the HMAC encryption algorithm (HmacSHA256)
  • Issue and check secret key: Create authentication key
  • Create signature: Create signature
  • Content-TypeRequiredRequest data format

    Response

    The following describes the common response format.

    Response body

    The following describes the body.

    FieldTypeRequiredDescription
    errorCodeString-Blockchain Service response status code
    messageString-Response status code message
    statusString-HTTP response status code name
    resourcesArray-List of required permissions for sub-permission errors

    Response status codes

    Blockchain Service uses NAVER Cloud Platform's common response status codes. For response status codes common to NAVER Cloud Platform, see Ncloud API response status codes.

    Response syntax

    The response syntax is as follows.

    {
      "error":
        {
          "errorCode": "string",
          "message": "string",
          "status": "string",
          "resources": []
        }
    }
    

    Blockchain Service API

    The following describes the APIs provided by Blockchain Service.

    APIDescription
    Get network listGet blockchain network list
    Get network informationGet blockchain network details
    Get organization listGet organization list
    Get organization informationGet organization details
    Download organization connection informationDownload organization connection information as a JSON file
    Get orderer listGet orderer list
    Get orderer informationGet orderer details
    Download orderer connection informationDownload orderer connection information as a JSON file
    Get orderer pod logGet orderer pod log
    Get orderer pod usageGet resource (CPU, memory, storage) usage for orderer pods
    Get peer listGet peer list
    Get peer informationGet peer details
    Get peer pod logGet peer pod log
    Get peer pod usageGet resource (CPU, memory, storage) usage for peer pods
    Get CA listGet CA list
    Get CA informationGet CA details
    Get CA identityGet CA user identity list and details
    Download CA identityDownload the certificate and key for CA Identity as a JSON file
    Get CA pod logGet CA pod log
    Get CA pod usageGet resource (CPU, memory, storage) usage for CA pods

    NAVER Cloud Platform provides a variety of related resources to help users better understand Blockchain Service APIs.


    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.