Verify a Signed Print
verify_printVerify 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 read 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. valid=true authenticates only the canonical price fields, not kid, sig, quality, cadence, timestamps outside at, or other metadata. When the print carries a v2 block (pulse-index-v2), it is verified too: v2.valid=true means the signature over v2.canonical is valid AND every signed line (sources, tier, confidence, dispersionBps, interval, cadence, engine, price and the rest) matches the supplied fields; v2.signedFields are the signed values and v2.mismatches names any field that differs. recordValid=true and verificationScope=full-record require BOTH price and complete v2 record verification. metadataSigned equals recordValid. Require recordValid before trusting quality fields. A v1-only print has scope price-only, never verified metadata. Neither signature proves freshness or settlement suitability; indicative data must not be used for settlement. An invalid signature can mean an altered print or a key no longer published; it does not by itself prove tampering.
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": {
"symbol": "<symbol>",
"price": "<price>",
"at": "<at>",
"grade": "<grade>",
"signature": "<signature>"
},
"name": "verify_print"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | Yes | Timestamp from the print, unchanged | |
| v2 | No | The v2 block from the print, unchanged: it signs the whole record, quality fields included | |
| kid | No | Signing key identifier, when provided by the API | |
| sig | No | Signature version from the print (pulse-index-v1), when provided | |
| kind | No | Print kind from the print, when provided (daily-close for a daily close) | |
| tier | No | Coverage tier from the print, unchanged, when provided | |
| grade | Yes | Quality grade from the print, unchanged, e.g. consensus | |
| price | Yes | Price from the print, unchanged (text or number) | |
| engine | No | Pricing engine label from the print, unchanged, when provided | |
| symbol | Yes | Crypto ticker symbol, e.g. BTC, ETH, SOL | |
| assetId | No | Asset identifier from the print, unchanged, when provided | |
| cadence | No | Cadence block from the print, unchanged, when provided | |
| licence | No | Plan licence from the print, unchanged, when provided (a signed v2 line on prints requested with licence=1) | |
| sources | No | Number of exchanges that contributed, from the print, when provided | |
| closeDay | No | UTC day of a daily close (YYYY-MM-DD), from the print, when provided | |
| interval | No | Price interval from the print, unchanged, when provided | |
| priceText | No | Exact signed price text, when provided by the API; preserve unchanged | |
| signature | Yes | ECDSA P-256 signature in base64 | |
| confidence | No | Confidence score from the print, unchanged, when provided | |
| dispersionBps | No | Spread between contributing exchanges in basis points, from the print, when provided |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| v2 | No | ||
| error | No | ||
| valid | No | Legacy price-only signature check. Use recordValid for quality metadata. | |
| checked | No | ||
| keySource | No | ||
| requestId | Yes | Identifier for this MCP call; not a signed price field. | |
| recordValid | No | Both signatures and every required v2 field verified. Does not prove freshness or settlement suitability. | |
| metadataSigned | No | ||
| verifiedWithKid | No | ||
| verificationScope | No |