Enums
Convert an enum value bidirectionally. For number enums: provide a number to get its string name. For string enums: provide a string to get its value. Returns the converted value with metadata if available.
get/v4/enums/{enumName}/convert/{value}
Request
- Base URL: https://api.merkl.xyz (the document declares no server; this is the origin it was published from)
- URL: https://api.merkl.xyz/v4/enums/{enumName}/convert/{value}
- Auth: apiKey (a scheme the document does not define)
Path parameters
enumNamestring required
Name of the enum
valuestring required
The value to convert (number or string depending on enum type)
Response
Response for status 200
Changes
No recorded changes to this operation across all 36 revisions of this API.