> ## Documentation Index
> Fetch the complete documentation index at: https://docs.validationcloud.io/llms.txt
> Use this file to discover all available pages before exploring further.

# feature

Returns information about amendments the server knows about, including whether they are enabled on the ledger and whether the server knows how to apply them.

This method will use `20` [Compute Units](/nodeapi/about/billing).

***

## Reference: [Here](https://xrpl.org/docs/references/http-websocket-apis/public-api-methods/server-info-methods/feature)

## **Parameters**

* `feature` (string, optional) The unique ID of an amendment, as hexadecimal, or the short name of the amendment. If provided, limits the response to one amendment. Otherwise, the response lists all amendments.

## Returns

* `features` (object) A map of amendment IDs to amendment objects. Each amendment object has `name` (may be omitted), `enabled` (whether the amendment is currently enabled in the latest ledger) and `supported` (whether the server knows how to apply it).
* `ledger_hash`, `ledger_index`, `validated` The ledger version the amendment status was read from.

```json theme={"theme":{"light":"github-light","dark":"github-dark-default"}}
// Result
{
  "result": {
    "features": {
      "00C1FC4A53E60AB02C864641002B3172F38677E29C26C5406685179B37E1EDAC": {
        "name": "RequireFullyCanonicalSig",
        "enabled": true,
        "supported": true
      },
      "0285B7E5E08E1A8E4C15636F0591D87F73CB6A7B6452A932AD72BBC8E5D1CBE3": {
        "name": "fixNFTokenDirV1",
        "enabled": false,
        "supported": false
      },
      // ...
    },
    "ledger_hash": "3FF4EFB0A896061499DCE559C21A44563F74C040226019033B06BA6FC383B450",
    "ledger_index": 107292935,
    "validated": true,
    "status": "success"
  }
}
```

<CodeGroup>
  ```bash title="mainnet" theme={"theme":{"light":"github-light","dark":"github-dark-default"}}
  curl https://mainnet.xrpl.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
      -X POST \
      -H "Content-Type: application/json" \
      -d '{"method":"feature","params":[{}]}'
  ```
</CodeGroup>

Over WebSocket, send `{"id":1,"command":"feature"}` to `wss://mainnet.xrpl.validationcloud.io/v1/<YOUR_API_KEY_HERE>`.

> Without a `feature` filter the full response lists every amendment (roughly 15 KB). The example above is trimmed to the first two entries.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.