sign_certificate
Create and sign canonical certificates for identification, attestation, or verification purposes with domain-specific validity, payload content, and timestamping on the VeChain blockchain.
Instructions
Create and sign a canonical certificate. Includes purpose, payload, domain, timestamp, nonce, and expiresAt.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| purpose | No | identification | |
| payload | No | Content to be attested (string or JSON) | |
| domain | Yes | Scope or domain where it is valid | |
| timestamp | No |
Input Schema (JSON Schema)
{
"properties": {
"domain": {
"description": "Scope or domain where it is valid",
"minLength": 1,
"type": "string"
},
"payload": {
"description": "Content to be attested (string or JSON)"
},
"purpose": {
"default": "identification",
"enum": [
"identification",
"attestation",
"verification"
],
"type": "string"
},
"timestamp": {
"exclusiveMinimum": 0,
"type": "integer"
}
},
"required": [
"domain"
],
"type": "object"
}