version
POST
Returns information about the API versions the server supports.Use it to check which values you can specify for
api_version in a request.Responses
Detailed API version information.
firststring
The lowest API version the server supports.goodstring
The default version used when the request does not specify an API version.laststring
The highest API version the server supports.codestringrequired
Code identifying the cause of the failed request.messagestringrequired
Detailed message including the name and value of the invalid parameter.{"code": "ERROR_CODE","message": "Unauthorized"}
cURL
curl -X POST 'https://xrpl-mainnet.nodit.io' \-H 'Content-Type: application/json' \-H 'X-API-KEY: nodit-demo' \-d '{"method": "version","params": []}'