feature
POST
Returns information about the amendments the server knows about.It lets you check whether each amendment is enabled and whether the server is able to apply it.
📘 Depending on the server configuration, some fields are returned only on administrative connections.
param[0]
parametersobjectrequired
featurestring
The hex ID or the name of the amendment to look up.When omitted, every amendment the server knows about is returned.Responses
The status of an individual amendment.
enabledboolean
Whether the amendment is enabled in the latest ledger version.namestring
The name of the amendment. Omitted when the server does not know the name.The name does not strictly indicate what the amendment does, and it can differ between servers.supportedboolean
Whether the server is able to apply this amendment.If enabled is true while this value is false, the server may become amendment blocked.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": "feature","params": [{"feature": "DisallowIncoming"}]}'