| Field | Value |
|---|---|
| Name | validate |
| Title | Signature Validator |
| Description | Validate an Ed25519 signature. Takes a public key, signature, and message bytes, and returns true if the signature is valid, false otherwise. |
Input Schema
{
"type": "object",
"required": ["publicKey",
"signature",
"bytes"],
"properties": {
"signature": {
"type": "string",
"description": "Hex encoded Ed25519 signature (64 bytes, 128 hex characters), with or without 0x prefix"
},
"bytes": {
"type": "string",
"description": "Hex encoded message bytes that were signed, with or without 0x prefix"
},
"publicKey": {
"type": "string",
"description": "Hex encoded public key (account key) as hex string, with or without 0x prefix"
}
}
}Output Schema
{
"type": "object",
"properties": {
"value": {
"type": "boolean",
"description": "true if the signature is valid, false otherwise"
}
}
}