Verify a Signed Print
verify_printVerify signed crypto index price prints locally with ECDSA P-256/SHA-256, checking canonical price fields against the published public key ring to confirm authenticity.
Instructions
Verify a signed print locally with ECDSA P-256/SHA-256. Canonical bytes are pulse-index-v1\n\n<priceText or String(price)>\n\n. The public key ring is fetched from /api/index/v1/pubkey, cached for five minutes and refreshed at most once per 30 seconds on a failed check. A supplied kid selects only that exact key; old prints without kid are tried against the bounded published ring. No API key is sent to the public-key endpoint. valid=true authenticates only the canonical price fields, not kid, sig, quality, cadence, timestamps outside at, or other metadata. An invalid signature can mean an altered print or a key no longer published; it does not by itself prove tampering.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | Yes | Timestamp from the print, unchanged | |
| kid | No | Signing key identifier, when provided by the API | |
| sig | No | ||
| grade | Yes | ||
| price | Yes | ||
| symbol | Yes | Crypto ticker symbol, e.g. BTC, ETH, SOL | |
| priceText | No | Exact signed price text, when provided by the API; preserve unchanged | |
| signature | Yes | ECDSA P-256 signature in base64 |