API Call Pre-description
Call Instructions
API Authentication and Basics
All API requests sent to the Chaintool service must add independent HTTP header, such as:
API Result Description
All results returned by the Chaintool API are in JSON format and must contain two fields, namely status and message. The returned status is a number. Here are the details of the code:
200
Successful request
400
Bad request
403
Forbidden
404
Not found
406
Not acceptable
409
Conflict
500
Internal server error
503
Service unavailable error
504
Request timeout
The message field is the information sent from the current service. When the status field returns 200, it is fixed to "success". Otherwise, the message field is a specific description of the server errors.
Last updated