Verify a Settlens evidence attestation
verify_attestationOffline check of a Settlens evidence attestation: verifies its ed25519 signature and, when the report is supplied, that the report is intact and is the one the attestation covers. A valid signature only proves the attestation was signed by the key it embeds; pass expected_public_key to require a specific signer.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"attestation": "<attestation>"
},
"name": "verify_attestation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| report | No | Optional Settlens JSON report the attestation should cover. | |
| attestation | Yes | The attestation JSON object. | |
| expected_public_key | No | Optional signer the attestation must come from: an ed25519 public key PEM, or the 0x-prefixed 32-byte hex key printed by evidence keygen. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| valid | Yes | ||
| reasons | Yes | ||
| publicKey | Yes | ||
| attestedAt | Yes | ||
| reportMatches | Yes | ||
| signatureValid | Yes | ||
| publicKeyMatches | No |