Convex

Convex

FieldValue
Namesubmit
TitleSubmit Prepared Transaction
DescriptionSubmit a previously prepared transaction. Requires the transaction hash reference, the account public key, and the Ed25519 signature over the provided hash.
Input Schema
{
  "type": "object",
  "required": ["hash",
               "accountKey",
               "signature"],
  "properties": {
                  "sig": {
                           "type": "string",
                           "description": "Ed25519 signature of hash bytes in hex (64 bytes = 128 hex digits)"
                         },
                  "accountKey": {
                                  "type": "string",
                                  "description": "Hex-encoded public key corresponding to the signer"
                                },
                  "hash": {
                            "type": "string",
                            "description": "Transaction reference hash returned by the prepare tool (hex string). This is the ref-encoding of the transaction."
                          }
                }
}
Output Schema
{
  "type": "object",
  "properties": {
                  "errorCode": {
                                 "type": "string",
                                 "description": "CVM error code (if the transaction failed)"
                               },
                  "value": {
                             "type": "any",
                             "description": "Resulting CVM value converted to JSON"
                           },
                  "info": {
                            "type": "object",
                            "description": "Additional execution metadata"
                          }
                }
}