post

/v4/enums/{enumName}/batch-convert

Batch convert multiple enum values at once. Accepts an array of values and returns an array of conversion results. Maximum 100 values per request.

Path parameters

enumNamestring
required

Request body

object
valuesnumber | string[]
required
Array of values to convert

Responses

200
Response for status 200
Schema
object
resultsobject[]
required
Array of conversion results
inputnumber | stringThe input value
outputnumber | stringThe converted value
descriptionstringDescription if available
Example
{
  "results": [
    {
      "input": "string",
      "output": "string",
      "description": "string"
    }
  ]
}
post
https://api.merkl.xyz/v4/enums/{enumName}/batch-convert
Merkl API
curl -X POST "https://api.merkl.xyz/v4/enums/{enumName}/batch-convert" \
  -H "Content-Type: application/json" \
  -d '{ "values": [ "string" ] }'
Current params
{
  "body": {
    "values": [
      "string"
    ]
  }
}
Fill the required path parameter enumName to send.Live request — this will call https://api.merkl.xyz/ for real.