| Field | Value |
|---|---|
| Name | transact |
| Title | Convex Transaction |
| Description | Submit a Convex transaction. Transactions require an origin account with a CVM balance and a valid Ed25519 signature. Transactions are atomic operations on the CVM that can update global state and take economic actions (e.g. interact with digital assets and smart contracts) |
Input Schema
{
"type": "object",
"required": ["source",
"seed",
"address"],
"properties": {
"seed": {
"type": "string",
"description": "Ed25519 seed (64 hex chars) used to sign the transaction. Only submit this if you trust the host!"
},
"source": {
"type": "string",
"description": "CVM source code to execute e.g. '(transfer #13 10000000000)'"
},
"address": {
"type": "string",
"description": "Origin account address (e.g. '#13'). This is the account in which the transaction will execute."
}
}
}Output Schema
{
"type": "object",
"properties": {
"errorCode": {
"description": "CVM error code if the transaction failed"
},
"value": {
"description": "Resulting CVM value"
},
"message": {
"type": "string",
"description": "Optional human-readable message"
},
"info": {
"description": "Additional execution metadata"
}
}
}