Convex

Convex

FieldValue
Nameencode
TitleEncode CAD3
DescriptionEncode a CVX literal into CAD3 multi-cell bytes, mirroring /api/v1/data/encode.
Input Schema
{
  "type": "object",
  "required": ["cvx"],
  "properties": {
                  "cvx": {
                           "type": "string",
                           "description": "CVM literal to encode e.g. \"(* 2 3)\" or \"12\""
                         }
                }
}
Output Schema
{
  "type": "object",
  "properties": {
                  "hash": {
                            "type": "string",
                            "description": "Hash of the encoded value"
                          },
                  "cad3": {
                            "type": "string",
                            "description": "Hex string representing the CAD3 bytes"
                          }
                }
}