get

/v4/enums/{enumName}

Get detailed information about a specific enum including all entries with their values, names, and descriptions (if available).

Path parameters

enumNamestring
required

Responses

200
Response for status 200
Schema
object
namestring
required
The enum name
entriesobject[]
required
Array of all entries in this enum
valuenumber | stringThe enum value (number or string)
keystringThe enum key
descriptionstringHuman-readable description of the enum entry
typeenum
required
The type of values in this enumnumberstring
Example
{
  "name": "string",
  "entries": [
    {
      "value": "string",
      "key": "string",
      "description": "string"
    }
  ],
  "type": "number"
}
get
https://api.merkl.xyz/v4/enums/{enumName}
Merkl API
curl -X GET "https://api.merkl.xyz/v4/enums/{enumName}"
Fill the required path parameter enumName to send.