| Field | Value |
|---|---|
| Name | sign |
| Title | Value Signer |
| Description | Sign raw data (provided as a hex string) using a provided Ed25519 seed |
Input Schema
{
"type": "object",
"required": ["value",
"seed"],
"properties": {
"seed": {
"type": "string",
"description": "Ed25519 seed as 64 hex characters"
},
"value": {
"type": "string",
"description": "Hex encoded bytes to sign. For Convex transactions, this is the 'hash' field returned by prepare i.e. the ref-encoding of the transaction."
}
}
}Output Schema
{
"type": "object",
"properties": {
"signature": {
"type": "string",
"description": "Hex encoded Ed25519 signature"
},
"value": {
"type": "string",
"description": "Hex encoded payload that was signed"
},
"accountKey": {
"type": "string",
"description": "Hex encoded public key"
}
}
}