wss://xahau.network or https://xahau.network (Mainnet)
wss://xahau-test.net or https://xahau-test.net (Testnet)
To send a sample request to the API, use the following commands.
Once you establish a WebSocket connection to the xahaud
server, you can send commands as JSON objects with these fields:
command
String
The name of the API method
id
(Multiple)
(Optional) Unique identifier for the request.
api_version
Number
(Optional) Specifies the API version.
method
String
The name of the API method
params
Array
(Optional) A one-item array containing a JSON object with the parameters of the method.
xahaud
Start calling the service xahaud
method
The name of the API method
params
(Optional)