Skip to content
This repository was archived by the owner on Apr 14, 2025. It is now read-only.

Latest commit

 

History

History
24 lines (20 loc) · 789 Bytes

api_docs.md

File metadata and controls

24 lines (20 loc) · 789 Bytes
layout title
api_docs
API Documentation

API Documentation

Find all the information that is needed for seamless integration with Ixian.

Ixian uses HTTP GET or POST requests (default port 8081 for DLT mainnet, 8181 for DLT testnet, 8001 for S2 mainnet and 8101 for S2 testnet) for communication with the API and always responds with a JSON response in the body of the HTTP response.

The response looks generally like this:

{
    "id": [currently unused],
    "result": [object],
    "error": {
        "code": [integer],
        "message": [string]
    }
}

All three fields are optional, but either "result" or "error" will always be present. The structure of the "result" field is dependent on the type of query - please see specific API commands for details.