Bitcoin L402 telemetry, OpenTimestamps notarization, and tamper-evident AI audit MCP server.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Create a worker contract; return its contract ID (escrow_id) and Lightning funding invoice (invoice). Requires fresh buyer NIP-98 authentication. New request IDs create separate contracts even for the same task_hash; byte-identical retries by the same buyer reuse the contract and its unexpired invoice. Funds remain merchant-controlled; an unpaid invoice is not funding. No automated payouts. Note: Contract state polling, listing, cancellations, and automated refunds are intentionally disabled in this namespace by design to enforce strict manual payout verification and prevent automated drain attacks.
Task commitment as exactly 64 lowercase hexadecimal characters (32 bytes), without a 0x prefix. When production settlement is enabled, its numeric value must be less than 21888242871839275222246405745257275088548364400416034343698204186575808495617.
Contract funding amount in whole satoshis: an integer from 1 through 9007199254740 inclusive. Fractional satoshis are not accepted.
Worker's Nostr public key: exactly 64 lowercase hexadecimal characters (32-byte x-only secp256k1 key), without a 0x prefix. Must represent a valid curve point.
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http mcp https://bitcoinstratigraphy.com/mcp
Create a worker contract; return its contract ID (escrow_id) and Lightning funding invoice (invoice). Requires fresh buyer NIP-98 authentication. New request IDs create separate contracts even for the same task_hash; byte-identical retries by the same buyer reuse the contract and its unexpired invoice. Funds remain merchant-controlled; an unpaid invoice is not funding. No automated payouts. Note: Contract state polling, listing, cancellations, and automated refunds are intentionally disabled in this namespace by design to enforce strict manual payout verification and prevent automated drain attacks.
| Argument | Type | Description |
|---|---|---|
| task_hash* | string | Task commitment as exactly 64 lowercase hexadecimal characters (32 bytes), without a 0x prefix. When production settlement is enabled, its numeric value must be less than 21888242871839275222246405745257275088548364400416034343698204186575808495617. |
| amount_sats* | integer | Contract funding amount in whole satoshis: an integer from 1 through 9007199254740 inclusive. Fractional satoshis are not accepted. |
| worker_pubkey* | string | Worker's Nostr public key: exactly 64 lowercase hexadecimal characters (32-byte x-only secp256k1 key), without a 0x prefix. Must represent a valid curve point. |
{
"type": "object",
"required": [
"worker_pubkey",
"task_hash",
"amount_sats"
],
"properties": {
"task_hash": {
"type": "string",
"pattern": "^[0-9a-f]{64}$",
"examples": [
"0101010101010101010101010101010101010101010101010101010101010101"
],
"description": "Task commitment as exactly 64 lowercase hexadecimal characters (32 bytes), without a 0x prefix. When production settlement is enabled, its numeric value must be less than 21888242871839275222246405745257275088548364400416034343698204186575808495617."
},
"amount_sats": {
"type": "integer",
"maximum": 9007199254740,
"minimum": 1,
"examples": [
123
],
"description": "Contract funding amount in whole satoshis: an integer from 1 through 9007199254740 inclusive. Fractional satoshis are not accepted."
},
"worker_pubkey": {
"type": "string",
"pattern": "^[0-9a-f]{64}$",
"examples": [
"79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798"
],
"description": "Worker's Nostr public key: exactly 64 lowercase hexadecimal characters (32-byte x-only secp256k1 key), without a 0x prefix. Must represent a valid curve point."
}
},
"additionalProperties": false
}Record a funded escrow contract as settled with a signed Groth16 preimage receipt. Production uses the Solo Founder Genesis key; opted-in local development retains its separate key and receipt domain. Requires the exact NIP-98 worker, task/escrow-bound proof and merchant-confirmed invoice funding before an atomic, idempotent evidence commit. No automated payout, arbitrary-execution guarantee or legal indemnity. Funds remain merchant-controlled. Note: Contract state polling, listing, cancellations, and automated refunds are intentionally disabled in this namespace by design to enforce strict manual payout verification and prevent automated drain attacks.
| Argument | Type | Description |
|---|---|---|
| escrow_id* | string | The escrow UUID returned by clearing.create_contract. Merchant-confirmed funding is required; an unpaid contract is not funded escrow. |
| payout_invoice | string | Worker-signed BOLT11 payout invoice. Automated payouts remain disabled pending separately reviewed fee-capped payout integration. Omit this field for proof receipt settlement. |
| execution_trace* | string | JSON-encoded Groth16 proof envelope containing scheme, proof and publicSignals. Production scheme: 'clearing-poseidon-preimage-genesis-v1'; local development scheme: 'clearing-poseidon-preimage-development-v1'. Two canonical decimal public signals bind the exact Poseidon task hash and escrow UUID. Never include the private preimage. This proves preimage knowledge, not arbitrary task completion. |
{
"type": "object",
"required": [
"escrow_id",
"execution_trace"
],
"properties": {
"escrow_id": {
"type": "string",
"format": "uuid",
"description": "The escrow UUID returned by clearing.create_contract. Merchant-confirmed funding is required; an unpaid contract is not funded escrow."
},
"payout_invoice": {
"type": "string",
"maxLength": 4096,
"minLength": 1,
"description": "Worker-signed BOLT11 payout invoice. Automated payouts remain disabled pending separately reviewed fee-capped payout integration. Omit this field for proof receipt settlement."
},
"execution_trace": {
"type": "string",
"maxLength": 65536,
"minLength": 1,
"description": "JSON-encoded Groth16 proof envelope containing scheme, proof and publicSignals. Production scheme: 'clearing-poseidon-preimage-genesis-v1'; local development scheme: 'clearing-poseidon-preimage-development-v1'. Two canonical decimal public signals bind the exact Poseidon task hash and escrow UUID. Never include the private preimage. This proves preimage knowledge, not arbitrary task completion."
}
},
"additionalProperties": false
}Broadcast local telemetry snapshots and stratigraphy receipts to peer nodes across the Stratigraphy mesh network. Use this tool to propagate sovereign node state, sync multi-agent clusters, or announce new block validation events. Use mesh.get_status to inspect local peer connectivity before broadcasting. Requires network authorization or L402 settlement token. Note: Dynamic peer discovery, peer add/remove, and subscription management are intentionally disabled in this namespace. Mesh topology is statically defined at startup for zero-trust security. Live L402 Satoshi settlement: a configured NWC wallet issues the exact-priced Lightning invoice; paid execution requires confirmed incoming settlement and an invoice-bound payment proof. Handle HTTP 402, pay explicitly, then retry the identical request with Authorization: L402 <macaroon>:<preimage>. Invoice creation alone is not payment; unavailable verification does not authorize execution.
| Argument | Type | Description |
|---|---|---|
| payload* | object | UTC date selector for an existing telemetry record submitted for peer attestation, not a caller-supplied record object; for example, {"date":"2026-09-09"}. |
| agentEvent | object | Optional NIP-01 kind 20079 signature over JSON.stringify({networkId,date}) for this exact date selector. The signer must have a trusted mesh attestation. Example: a complete signed event with a matching date. |
| signalType* | string | Enforces the broadcast event schema; must be telemetry_snapshot to trigger peer validation, not an arbitrary signal. Constraints: allowed values: telemetry_snapshot. Example: "telemetry_snapshot". |
{
"type": "object",
"examples": [
{
"payload": {
"date": "2026-09-09"
},
"signalType": "telemetry_snapshot"
}
],
"required": [
"signalType",
"payload"
],
"properties": {
"payload": {
"type": "object",
"examples": [
{
"date": "2026-09-09"
}
],
"required": [
"date"
],
"properties": {
"date": {
"type": "string",
"format": "date",
"example": "2026-09-09",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"examples": [
"2026-09-09"
],
"description": "Required UTC date of an existing indexed record (YYYY-MM-DD, e.g. '2026-09-09'); selects the stored snapshot signed for peer validation, not a caller-supplied payload. Constraints: format: date; pattern: ^\\d{4}-\\d{2}-\\d{2}$. Example: \"2026-09-09\"."
}
},
"description": "UTC date selector for an existing telemetry record submitted for peer attestation, not a caller-supplied record object; for example, {\"date\":\"2026-09-09\"}.",
"additionalProperties": false
},
"agentEvent": {
"type": "object",
"examples": [
{
"id": "abababababababababababababababababababababababababababababababab",
"sig": "efefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefef",
"kind": 20079,
"tags": [],
"pubkey": "cdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcd",
"content": "{\"networkId\":\"bitcoin-stratigraphy-mainnet-v1\",\"date\":\"2026-09-09\"}",
"created_at": 1790000000
}
],
"required": [
"id",
"pubkey",
"sig",
"kind",
"created_at",
"tags",
"content"
],
"properties": {
"id": {
"type": "string",
"example": "abababababababababababababababababababababababababababababababab",
"pattern": "^[0-9a-f]{64}$",
"examples": [
"abababababababababababababababababababababababababababababababab"
],
"description": "NIP-01 event hash. Constraints: pattern: ^[0-9a-f]{64}$. Example: \"abababababababababababababababababababababababababababababababab\"."
},
"sig": {
"type": "string",
"example": "efefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefef",
"pattern": "^[0-9a-f]{128}$",
"examples": [
"efefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefef"
],
"description": "Schnorr signature over the NIP-01 event. Constraints: pattern: ^[0-9a-f]{128}$. Example: \"efefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefefef\"."
},
"kind": {
"type": "integer",
"const": 20079,
"example": 20079,
"examples": [
20079
],
"description": "Agent session event kind. Example: 20079."
},
"tags": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
"example": "session",
"examples": [
"session"
],
"description": "One string tag element. Example: \"session\"."
},
"examples": [
[
"t",
"session"
]
],
"description": "One NIP-01 tag. Example: [\"t\",\"session\"]."
},
"examples": [
[]
],
"description": "NIP-01 string tag arrays. Example: []."
},
"pubkey": {
"type": "string",
"example": "cdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcd",
"pattern": "^[0-9a-f]{64}$",
"examples": [
"cdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcd"
],
"description": "Signing agent Nostr pubkey. Constraints: pattern: ^[0-9a-f]{64}$. Example: \"cdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcd\"."
},
"content": {
"type": "string",
"example": "{\"networkId\":\"bitcoin-stratigraphy-mainnet-v1\",\"date\":\"2026-09-09\"}",
"examples": [
"{\"networkId\":\"bitcoin-stratigraphy-mainnet-v1\",\"date\":\"2026-09-09\"}"
],
"description": "Exact JSON.stringify({networkId,date}) session binding. Example: \"{\\\"networkId\\\":\\\"bitcoin-stratigraphy-mainnet-v1\\\",\\\"date\\\":\\\"2026-09-09\\\"}\"."
},
"created_at": {
"type": "integer",
"example": 1790000000,
"examples": [
1790000000
],
"description": "Unix event timestamp in seconds. Example: 1790000000."
}
},
"description": "Optional NIP-01 kind 20079 signature over JSON.stringify({networkId,date}) for this exact date selector. The signer must have a trusted mesh attestation. Example: a complete signed event with a matching date.",
"additionalProperties": false
},
"signalType": {
"enum": [
"telemetry_snapshot"
],
"type": "string",
"example": "telemetry_snapshot",
"examples": [
"telemetry_snapshot"
],
"description": "Enforces the broadcast event schema; must be telemetry_snapshot to trigger peer validation, not an arbitrary signal. Constraints: allowed values: telemetry_snapshot. Example: \"telemetry_snapshot\"."
}
},
"description": "Select a stored telemetry record for fresh signing and active mesh distribution.",
"additionalProperties": false
}Inspect local mesh network topology, active peer connections, and relay synchronization state. Returns connected peer counts, latency figures, and gossip protocol health. Use this tool to check node network connectivity prior to broadcasting or querying distributed telemetry. Read-only and idempotent. Note: Dynamic peer discovery, peer add/remove, and subscription management are intentionally disabled in this namespace. Mesh topology is statically defined at startup for zero-trust security. Live L402 Satoshi settlement: a configured NWC wallet issues the exact-priced Lightning invoice; paid execution requires confirmed incoming settlement and an invoice-bound payment proof. Handle HTTP 402, pay explicitly, then retry the identical request with Authorization: L402 <macaroon>:<preimage>. Invoice creation alone is not payment; unavailable verification does not authorize execution.
No arguments.
{
"type": "object",
"examples": [
{}
],
"required": [],
"properties": {},
"description": "Pass {} for current peer health and quorum; extra arguments are rejected and inbound subscription state is not tracked.",
"additionalProperties": false
}PURPOSE & BOUNDARIES: Read the requesting NIP-98 signer's private staked yield in whole sats. Do NOT use this to withdraw or transfer funds, discover tool prices, or verify settlement; use payment.get_info for pricing and payment checks. USAGE GUIDELINES: Send empty arguments with fresh Nostr HTTP authentication bound to the exact URL, method and request body. No pubkey argument is accepted. BEHAVIOR & CONSEQUENCES: Free and read-only; missing or invalid authentication fails before lookup, and unavailable storage fails explicitly. vip_status is true strictly above 10000 sats. zero_latency_routing is an informational feature label, not a payment bypass or latency guarantee.
No arguments.
{
"type": "object",
"examples": [
{}
],
"required": [],
"properties": {},
"description": "No arguments; ownership comes only from fresh request-bound NIP-98 authentication.",
"additionalProperties": false
}Both default query and settle are paid 250-sat L402 calls; settle additionally requires authenticated payment evidence. For invoice-free pricing and batch discovery use GET/POST /api/v1/cost or stratigraphy://catalog/overview. Query returns MCP pricing parameters; settle checks an existing payment without initiating it or authorizing another tool. Calling this tool without valid paid access can itself return an HTTP 402 invoice. Operator-only admin operations are intentionally omitted. Live L402 Satoshi settlement: a configured NWC wallet issues the exact-priced Lightning invoice; paid execution requires confirmed incoming settlement and an invoice-bound payment proof. Handle HTTP 402, pay explicitly, then retry the identical request with Authorization: L402 <macaroon>:<preimage>. Invoice creation alone is not payment; unavailable verification does not authorize execution.
| Argument | Type | Description |
|---|---|---|
| action | string | query (default) discovers prices; settle verifies authenticated payment. Constraints: allowed values: query, settle. Example: "query". |
| txHash | string | Base mainnet transaction hash, accepted only after facilitator settlement of PAYMENT-SIGNATURE. Constraints: pattern: ^0x[0-9a-fA-F]{64}$. Example: "0xabababababababababababababababababababababababababababababababab". |
| preimage | string | Optional L402 preimage, NWC_LOOKUP, or UUID hint; the issued macaroon and exact merchant settlement remain required. Constraints: pattern: ^([0-9a-fA-F]{64}|[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}|NWC_LOOKUP|nwc_lookup)$. Example: "cdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcd". |
| toolName | string | Optional case-sensitive canonical MCP tool identifier (e.g., 'stratigraphy.get_digest' or 'proof.verify'); supported legacy aliases are also accepted and resolve to canonical names. When provided, filters output to return pricing specifically for that single tool. When omitted, returns the full pricing map across all registered catalog tools. Must match an exact registered tool name or supported legacy alias. Constraints: minLength: 1. Example: "stratigraphy.get_digest". |
Attenuate an authentic, unexpired L402 parent `macaroon` by appending strictly formatted first-party caveats. `expiresAt` (UTC instant) or `ttlSeconds` adds `time < YYYY-MM-DDTHH:MM:SS.sssZ`: redemption at or after that instant is rejected with HTTP 401. `tools` adds `rpc = tool[,tool...]`: any tool not listed exactly is rejected with HTTP 403, and every listed tool must already be authorized by the parent. `caveats` accepts those forms plus max_target, max_requests, allowed_path, and legacy time_before or allowed_tools restrictions. At least one restriction is required. Requires its own L402 authorization; the parent's payment proof remains required for child redemption. Delegation cannot widen authority or reset an inherited quota. Live L402 Satoshi settlement: a configured NWC wallet issues the exact-priced Lightning invoice; paid execution requires confirmed incoming settlement and an invoice-bound payment proof. Handle HTTP 402, pay explicitly, then retry the identical request with Authorization: L402 <macaroon>:<preimage>. Invoice creation alone is not payment; unavailable verification does not authorize execution.
| Argument | Type | Description |
|---|---|---|
| tools | array | Optional exact MCP tool targets (1-16 unique names). Appends one `rpc = tool[,tool...]` caveat; the child is refused for every other tool. Matching is exact, so a legacy alias is a different name. Each tool must already be authorized by the parent: an MCP L402 credential authorizes the single tool named in its allowed_path. Constraints: minItems: 1; maxItems: 16. Example: ["stratigraphy.get_diff"]. |
| caveats | array | Optional restriction caveats to append, normalized to canonical form: 'time < 2026-12-31T23:59:59Z', 'rpc = stratigraphy.get_diff', 'max_target = 870000', 'max_requests = 1', 'allowed_path = /mcp/tools/stratigraphy.get_diff', and legacy 'time_before = 2026-12-31' or 'allowed_tools = stratigraphy.get,stratigraphy.get_digest'. Constraints: maxItems: 16. Example: ["max_target = 870000"]. |
Retrieve one retained proof payload, signed receipt, or lifecycle-only status using exactly one known `hash` (proof or receipt hash, CID, snapshot digest, or submission UUID) or `jobId` (submission UUID). Looks up bounded process-local records without re-running Groth16 proof verification; receipt provenance may be checked against the current dataset, and missing payloads cannot be reconstructed. Use `proof.list` to discover indexed proof hashes and `proof.verify` to cryptographically verify supplied proof inputs. Live L402 Satoshi settlement: a configured NWC wallet issues the exact-priced Lightning invoice; paid execution requires confirmed incoming settlement and an invoice-bound payment proof. Handle HTTP 402, pay explicitly, then retry the identical request with Authorization: L402 <macaroon>:<preimage>. Invoice creation alone is not payment; unavailable verification does not authorize execution.
| Argument | Type | Description |
|---|---|---|
| hash | string | Required when jobId is absent: proof/receipt 64-hex hash (optional 0x), decimal snapshot digest, IPFS CID, or UUID submission job ID; unknown identifiers return 404. Constraints: pattern: ^(?:(?:0x)?[0-9a-fA-F]{64}|Qm[1-9A-HJ-NP-Za-km-z]{44}|b[a-z2-7]{20,}|\d{1,77}|[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$. Example: "0xabababababababababababababababababababababababababababababababab". |
| jobId | string | UUID returned by proof.submit (e.g. '123e4567-e89b-42d3-a456-426614174000'); use instead of hash, never together. Constraints: format: uuid. Example: "123e4567-e89b-42d3-a456-426614174000". |
{
"type": "object",
"oneOf": [
{
"required": [
"hash"
]
},
{
"required": [
"jobId"
]
}
],
"examples": [
{
"hash": "0xabababababababababababababababababababababababababababababababab"
},
{
"hash": "Qmaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
}
],
"properties": {
"hash": {
"type": "string",
"example": "0xabababababababababababababababababababababababababababababababab",
"pattern": "^(?:(?:0x)?[0-9a-fA-F]{64}|Qm[1-9A-HJ-NP-Za-km-z]{44}|b[a-z2-7]{20,}|\\d{1,77}|[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$",
"examples": [
"0xabababababababababababababababababababababababababababababababab",
"Qmaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
],
"description": "Required when jobId is absent: proof/receipt 64-hex hash (optional 0x), decimal snapshot digest, IPFS CID, or UUID submission job ID; unknown identifiers return 404. Constraints: pattern: ^(?:(?:0x)?[0-9a-fA-F]{64}|Qm[1-9A-HJ-NP-Za-km-z]{44}|b[a-z2-7]{20,}|\\d{1,77}|[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$. Example: \"0xabababababababababababababababababababababababababababababababab\"."
},
"jobId": {
"type": "string",
"format": "uuid",
"example": "123e4567-e89b-42d3-a456-426614174000",
"examples": [
"123e4567-e89b-42d3-a456-426614174000"
],
"description": "UUID returned by proof.submit (e.g. '123e4567-e89b-42d3-a456-426614174000'); use instead of hash, never together. Constraints: format: uuid. Example: \"123e4567-e89b-42d3-a456-426614174000\"."
}
},
"description": "Supply exactly one of hash or jobId to retrieve an exact retained proof/receipt or lifecycle state. Unknown identifiers return HTTP 404 before payment.",
"additionalProperties": false
}Ground an AI agent context window directly in immutable Bitcoin consensus state to eliminate temporal and factual hallucinations. Binds input claims to real-time proof-of-work difficulty, block height, and thermodynamic entropy. Use this tool during critical reasoning steps or pre-execution checks when agent outputs require deterministic verification against physical reality. Use proof.notarize to timestamp arbitrary digests or stratigraphy.get for raw metrics. Live L402 Satoshi settlement: a configured NWC wallet issues the exact-priced Lightning invoice; paid execution requires confirmed incoming settlement and an invoice-bound payment proof. Handle HTTP 402, pay explicitly, then retry the identical request with Authorization: L402 <macaroon>:<preimage>. Invoice creation alone is not payment; unavailable verification does not authorize execution.
| Argument | Type | Description |
|---|---|---|
| cid | string | Target IPFS CID or 32-byte hex dataset hash anchored directly to the live Bitcoin block height. Example: a 64-character lowercase hex digest. |
| agentId | string | Unique agent instance identifier named in the signed attestation receipt; trimmed to 1-256 characters. Constraints: minLength: 1; maxLength: 256. Example: "research-agent-7". |
| context | object | Optional JSON metadata object bound into the signed receipt tuple for additional execution context. Example: {"source":"dataset"}. |
| metadata | object | Optional non-secret JSON key-value metadata bound to the signed receipt; serialized size must not exceed 16 KiB. Example: {"topic":"difficulty-adjustment"}. |
| contextHash | string | 64-character hexadecimal SHA-256 digest binding the agent's prompt or execution state to the current block tip; normalized to lowercase. Constraints: minLength: 64; maxLength: 64; pattern: ^[0-9a-fA-F]{64}$. Example: "4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f". |
List available cryptographic proof attestations, including OpenTimestamps receipts and Groth16 zero-knowledge state proofs. Returns paginated index summaries of archived proofs without downloading the full byte payloads. Use this tool to discover existing proofs for specific block heights or dataset digests before verifying them. Use proof.get_by_hash to retrieve a specific full proof, proof.verify to validate one, or proof.submit to attest a new record. Read-only and idempotent. Free metadata discovery: no Live L402 Satoshi settlement is required for this sandbox tool; no paid payload is released.
| Argument | Type | Description |
|---|---|---|
| limit | integer | Pagination window size: maximum number of attestation records to return (integer, 1-100); increase offset by limit for the next page. Constraints: minimum: 1; maximum: 100. Example: 20. |
| offset | integer | Zero-based pagination skip offset (0-1000); increase by limit to page through historical attestations, but multiples of limit are not required. Constraints: minimum: 0; maximum: 1000. Example: 0. |
| status | string | Filter the attestation index to one lifecycle stage: verified, cached, pending, or invalid. Constraints: allowed values: verified, cached, pending, invalid. Example: "verified". |
{
"type": "object",
"examples": [
{
"limit": 20,
"offset": 0,
"status": "verified"
}
],
"required": [],
"properties": {
"limit": {
"type": "integer",
"default": 20,
"example": 20,
"maximum": 100,
"minimum": 1,
"examples": [
20
],
"description": "Pagination window size: maximum number of attestation records to return (integer, 1-100); increase offset by limit for the next page. Constraints: minimum: 1; maximum: 100. Example: 20."
},
"offset": {
"type": "integer",
"default": 0,
"example": 0,
"maximum": 1000,
"minimum": 0,
"examples": [
0
],
"description": "Zero-based pagination skip offset (0-1000); increase by limit to page through historical attestations, but multiples of limit are not required. Constraints: minimum: 0; maximum: 1000. Example: 0."
},
"status": {
"enum": [
"verified",
"cached",
"pending",
"invalid"
],
"type": "string",
"example": "verified",
"examples": [
"verified"
],
"description": "Filter the attestation index to one lifecycle stage: verified, cached, pending, or invalid. Constraints: allowed values: verified, cached, pending, invalid. Example: \"verified\"."
}
},
"description": "Filter bounded proof attestations by lifecycle status, then paginate newest-first with limit and offset; omit all fields for the first default page.",
"additionalProperties": false
}PURPOSE & BOUNDARIES: Create a detached OpenTimestamps .ots receipt for an agent-supplied SHA256 digest using public calendars. Do NOT use this as evidence of immediate Bitcoin confirmation or as a replacement for proof.verify. USAGE GUIDELINES: Submit exactly one 64-character hexadecimal hash; decode otsProofHex into binary to save the .ots file. BEHAVIOR & CONSEQUENCES: Submits a randomized commitment to public calendars, returns pending_calendar, and fails explicitly if calendars are unavailable. Costs 250 sats via L402; X-L402-Batch-Size supports exactly 1, 100, 1000 or 10000 tool-scoped calls for 250 / 25,000 / 250,000 / 2,500,000 sats. Live L402 Satoshi settlement: a configured NWC wallet issues the exact-priced Lightning invoice; paid execution requires confirmed incoming settlement and an invoice-bound payment proof. Handle HTTP 402, pay explicitly, then retry the identical request with Authorization: L402 <macaroon>:<preimage>. Invoice creation alone is not payment; unavailable verification does not authorize execution.
| Argument | Type | Description |
|---|---|---|
| hash* | string | Exactly 64 hexadecimal characters representing the agent state or data SHA256 digest; no 0x prefix. Constraints: minLength: 64; maxLength: 64; pattern: ^[0-9a-fA-F]{64}$. Example: "abababababababababababababababababababababababababababababababab". |
{
"type": "object",
"examples": [
{
"hash": "abababababababababababababababababababababababababababababababab"
}
],
"required": [
"hash"
],
"properties": {
"hash": {
"type": "string",
"example": "abababababababababababababababababababababababababababababababab",
"pattern": "^[0-9a-fA-F]{64}$",
"examples": [
"abababababababababababababababababababababababababababababababab"
],
"maxLength": 64,
"minLength": 64,
"description": "Exactly 64 hexadecimal characters representing the agent state or data SHA256 digest; no 0x prefix. Constraints: minLength: 64; maxLength: 64; pattern: ^[0-9a-fA-F]{64}$. Example: \"abababababababababababababababababababababababababababababababab\"."
}
},
"description": "A SHA256 digest to timestamp directly, without hashing its bytes again.",
"additionalProperties": false
}Submit a generated Groth16 zero-knowledge proof or transaction attestation to the Bitcoin Stratigraphy validation pipeline. Ingests verification keys, public inputs, and proof bytes for engine attestation. Use this tool when external agent systems need their cryptographic state verified and anchored into the stratigraphy index. Requires L402 settlement: on HTTP 402, pay the Lightning invoice and retry with Authorization: L402 <macaroon>:<preimage>. Live L402 Satoshi settlement: a configured NWC wallet issues the exact-priced Lightning invoice; paid execution requires confirmed incoming settlement and an invoice-bound payment proof. Handle HTTP 402, pay explicitly, then retry the identical request with Authorization: L402 <macaroon>:<preimage>. Invoice creation alone is not payment; unavailable verification does not authorize execution. Supports zero-polling asynchronous execution: provide a webhook_url parameter to receive a 202 Accepted response immediately, followed by a server-initiated POST callback containing the final results when processing completes.
| Argument | Type | Description |
|---|---|---|
| proof* | object | Groth16/Poseidon BN254 proof coordinates for non-interactive validation: piA and piC are three decimal-string projective coordinates each, and piB is three pairs of decimal-string extension-field coordinates; for example, piA ['1','2','1']. |
| webhook_url | string | Optional public HTTPS callback URL for zero-polling execution. On a paid call the server answers HTTP 202 Accepted with a JSON-RPC result containing task_id and status pending, runs the tool in the background, then POSTs one JSON body with task_id, status (completed or failed), tool, request_id and the final MCP result or JSON-RPC error. Omit it to receive the result synchronously. Loopback, private, link-local and other reserved addresses are rejected before any invoice is issued. Constraints: maxLength: 2048; format: uri; pattern: ^https://. Example: "https://agent.example.com/mcp/callbacks". |
Execute cryptographic verification for supplied Groth16 telemetry or drift zk-SNARK proofs, or OpenTimestamps receipts. Returns proof validity; verification can update a bounded in-memory lifecycle index, and drift checks require a Bitcoin block provider. Use this tool to verify supplied proofs; use `proof.submit` to register new Groth16 proofs and `proof.get_by_hash` to retrieve retained proofs or signed receipts by a known identifier. Live L402 Satoshi settlement: a configured NWC wallet issues the exact-priced Lightning invoice; paid execution requires confirmed incoming settlement and an invoice-bound payment proof. Handle HTTP 402, pay explicitly, then retry the identical request with Authorization: L402 <macaroon>:<preimage>. Invoice creation alone is not payment; unavailable verification does not authorize execution.
No arguments.
{
"type": "object",
"oneOf": [
{
"type": "object",
"examples": [
{
"data": [
{
"block": {
"height": 920000
},
"observed_at": "2026-09-19T00:00:00.000Z",
"thermodynamic": {
"target_multiplier": 125.83
}
}
],
"proof": "eyJwaV9hIjpbIjEyMyIsIjQ1NiIsIjEiXX0",
"publicInputs": {
"timestamp": 1789776000000,
"blockHeight": 920000,
"valuationSat": 12583,
"snapshotDigest": "1534979302823651498736582947365829473658294736582947365829473658294",
"thermodynamicHash": "782365829473658294736582947365829473658294736582947365829473658294"
},
"verificationKeyId": "sha256:4c095e183ea45a9d"
}
],
"required": [
"proof",
"publicInputs",
"verificationKeyId",
"data"
],
"properties": {
"data": {
"type": [
"object",
"array"
],
"example": [
{
"block": {
"height": 920000
},
"observed_at": "2026-09-19T00:00:00.000Z",
"thermodynamic": {
"target_multiplier": 125.83
}
}
],
"examples": [
[
{
"block": {
"height": 920000
},
"observed_at": "2026-09-19T00:00:00.000Z",
"thermodynamic": {
"target_multiplier": 125.83
}
}
]
],
"description": "Telemetry snapshot payload object or array of objects containing canonical state values. Example: [{\"block\":{\"height\":920000},\"observed_at\":\"2026-09-19T00:00:00.000Z\",\"thermodynamic\":{\"target_multiplier\":125.83}}]."
},
"proof": {
"type": "string",
"example": "eyJwaV9hIjpbIjEyMyIsIjQ1NiIsIjEiXX0",
"examples": [
"eyJwaV9hIjpbIjEyMyIsIjQ1NiIsIjEiXX0"
],
"minLength": 1,
"description": "Base64url-encoded Groth16/Poseidon BN254 proof string without padding. Constraints: minLength: 1. Example: \"eyJwaV9hIjpbIjEyMyIsIjQ1NiIsIjEiXX0\"."
},
"proofType": {
"type": "string",
"const": "groth16",
"default": "groth16",
"example": "groth16",
"examples": [
"groth16"
],
"description": "Groth16 verification (default). Example: \"groth16\"."
},
"publicInputs": {
"type": "object",
"examples": [
{
"timestamp": 1789776000000,
"blockHeight": 920000,
"valuationSat": 12583,
"snapshotDigest": "1534979302823651498736582947365829473658294736582947365829473658294",
"thermodynamicHash": "782365829473658294736582947365829473658294736582947365829473658294"
}
],
"required": [
"blockHeight",
"snapshotDigest",
"thermodynamicHash",
"timestamp",
"valuationSat"
],
"properties": {
"timestamp": {
"type": "integer",
"example": 1789776000000,
"minimum": 0,
"examples": [
1789776000000
],
"description": "Unix timestamp in milliseconds committed into the proof. Constraints: minimum: 0. Example: 1789776000000."
},
"blockHeight": {
"type": "integer",
"example": 920000,
"minimum": 0,
"examples": [
920000
],
"description": "Bitcoin block height committed into the proof. Constraints: minimum: 0. Example: 920000."
},
"valuationSat": {
"type": "integer",
"example": 12583,
"minimum": 0,
"examples": [
12583
],
"description": "Satoshi valuation committed into the proof. Constraints: minimum: 0. Example: 12583."
},
"snapshotDigest": {
"type": "string",
"example": "1534979302823651498736582947365829473658294736582947365829473658294",
"examples": [
"1534979302823651498736582947365829473658294736582947365829473658294"
],
"minLength": 1,
"description": "Poseidon field digest of the canonical snapshot payload. Constraints: minLength: 1. Example: \"1534979302823651498736582947365829473658294736582947365829473658294\"."
},
"thermodynamicHash": {
"type": "string",
"example": "782365829473658294736582947365829473658294736582947365829473658294",
"examples": [
"782365829473658294736582947365829473658294736582947365829473658294"
],
"minLength": 1,
"description": "Poseidon field hash of the thermodynamic telemetry values. Constraints: minLength: 1. Example: \"782365829473658294736582947365829473658294736582947365829473658294\"."
}
},
"description": "Expected public constants committed by the proof; fields must match the corresponding telemetry payload in data: non-negative blockHeight, non-empty snapshotDigest and thermodynamicHash, non-negative Unix-millisecond timestamp, and non-negative valuationSat. Example: blockHeight 920000 and valuationSat 12583.",
"additionalProperties": false
},
"verificationKeyId": {
"type": "string",
"example": "sha256:4c095e183ea45a9d",
"examples": [
"sha256:4c095e183ea45a9d"
],
"minLength": 1,
"description": "SHA-256 verification-key identifier string formatted with 'sha256:' prefix. Constraints: minLength: 1. Example: \"sha256:4c095e183ea45a9d\"."
}
},
"description": "Legacy telemetry-bound Groth16 proof verification input. Example: provide a proof, public inputs, verification key, and telemetry data.",
"additionalProperties": false
},
{
"type": "object",
"examples": [
{
"proof": {
"pi_a": [
"1",
"2",
"1"
],
"pi_b": [
[
"1",
"2"
],
[
"3",
"4"
],
[
"1",
"0"
]
],
"pi_c": [
"1",
"2",
"1"
],
"circuit": "zk.drift.v1",
"publicSignals": [
"1",
"2"
],
"verificationKeyId": "sha256:4c095e183ea45a9d"
},
"circuit": "zk.drift.v1",
"blockHash": "abababababababababababababababababababababababababababababababab",
"isAligned": true,
"driftScore": 0.25,
"compactTarget": 486604799,
"entropyThreshold": 0.75,
"targetBlockHeight": 920000,
"sessionContextHash": "abababababababababababababababababababababababababababababababab",
"thermodynamicEntropyBits": 0.5
}
],
"required": [
"circuit",
"sessionContextHash",
"targetBlockHeight",
"entropyThreshold",
"proof"
],
"properties": {
"proof": {
"type": "object",
"examples": [
{
"pi_a": [
"1",
"2",
"1"
],
"pi_b": [
[
"1",
"2"
],
[
"3",
"4"
],
[
"1",
"0"
]
],
"pi_c": [
"1",
"2",
"1"
],
"circuit": "zk.drift.v1",
"publicSignals": [
"1",
"2"
],
"verificationKeyId": "sha256:4c095e183ea45a9d"
}
],
"required": [
"circuit",
"pi_a",
"pi_b",
"pi_c",
"publicSignals",
"verificationKeyId"
],
"properties": {
"pi_a": {
"type": "array",
"items": {
"type": "string",
"example": "1",
"examples": [
"1"
],
"minLength": 1,
"description": "Groth16 pi_a field element. Constraints: minLength: 1. Example: \"1\"."
},
"examples": [
[
"1",
"2",
"1"
]
],
"maxItems": 3,
"minItems": 3,
"description": "Three Groth16 pi_a field elements. Example: [\"1\", \"2\", \"1\"]."
},
"pi_b": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
"example": "1",
"examples": [
"1"
],
"minLength": 1,
"description": "Groth16 pi_b field element. Constraints: minLength: 1. Example: \"1\"."
},
"examples": [
[
"1",
"2"
]
],
"maxItems": 2,
"minItems": 2,
"description": "A pair of Groth16 pi_b field elements. Example: [\"1\", \"2\"]."
},
"examples": [
[
[
"1",
"2"
],
[
"3",
"4"
],
[
"1",
"0"
]
]
],
"maxItems": 3,
"minItems": 3,
"description": "Three pairs of Groth16 pi_b field elements. Example: [[\"1\", \"2\"], [\"3\", \"4\"], [\"1\", \"0\"]]."
},
"pi_c": {
"type": "array",
"items": {
"type": "string",
"example": "1",
"examples": [
"1"
],
"minLength": 1,
"description": "Groth16 pi_c field element. Constraints: minLength: 1. Example: \"1\"."
},
"examples": [
[
"1",
"2",
"1"
]
],
"maxItems": 3,
"minItems": 3,
"description": "Three Groth16 pi_c field elements. Example: [\"1\", \"2\", \"1\"]."
},
"circuit": {
"type": "string",
"const": "zk.drift.v1",
"example": "zk.drift.v1",
"examples": [
"zk.drift.v1"
],
"description": "Proof circuit discriminator. Example: \"zk.drift.v1\"."
},
"publicSignals": {
"type": "array",
"items": {
"type": "string",
"example": "1",
"examples": [
"1"
],
"minLength": 1,
"description": "Public signal field element. Constraints: minLength: 1. Example: \"1\"."
},
"examples": [
[
"1",
"2"
]
],
"minItems": 1,
"description": "Public field elements bound to the drift proof. Example: [\"1\", \"2\"]."
},
"verificationKeyId": {
"type": "string",
"example": "sha256:4c095e183ea45a9d",
"examples": [
"sha256:4c095e183ea45a9d"
],
"minLength": 1,
"description": "Identifier of the verification key to use. Constraints: minLength: 1. Example: \"sha256:4c095e183ea45a9d\"."
}
},
"description": "Groth16 proof points, public signals, and verification-key identifier for zk.drift.v1. Example: pi_a, pi_b, pi_c, and public signals.",
"additionalProperties": false
},
"circuit": {
"type": "string",
"const": "zk.drift.v1",
"example": "zk.drift.v1",
"examples": [
"zk.drift.v1"
],
"description": "Drift proof circuit discriminator. Example: \"zk.drift.v1\"."
},
"blockHash": {
"type": "string",
"example": "abababababababababababababababababababababababababababababababab",
"pattern": "^[0-9a-fA-F]{64}$",
"examples": [
"abababababababababababababababababababababababababababababababab"
],
"description": "Bitcoin block hash bound to the complete verifier response. Constraints: pattern: ^[0-9a-fA-F]{64}$. Example: \"abababababababababababababababababababababababababababababababab\"."
},
"isAligned": {
"type": "boolean",
"example": true,
"examples": [
true
],
"description": "Alignment result bound to the complete verifier response. Example: true."
},
"proofType": {
"type": "string",
"const": "groth16",
"default": "groth16",
"example": "groth16",
"examples": [
"groth16"
],
"description": "Groth16 verification (default). Example: \"groth16\"."
},
"driftScore": {
"type": "number",
"example": 0.25,
"examples": [
0.25
],
"description": "Drift score bound to the complete verifier response. Example: 0.25."
},
"compactTarget": {
"type": "integer",
"example": 486604799,
"maximum": 4294967295,
"minimum": 0,
"examples": [
486604799
],
"description": "Raw compact target bits bound to the complete verifier response. Constraints: minimum: 0; maximum: 4294967295. Example: 486604799."
},
"entropyThreshold": {
"type": "number",
"example": 0.75,
"maximum": 1,
"minimum": 0,
"examples": [
0.75
],
"description": "Maximum accepted thermodynamic entropy threshold. Constraints: minimum: 0; maximum: 1. Example: 0.75."
},
"targetBlockHeight": {
"type": "integer",
"example": 920000,
"maximum": 4294967295,
"minimum": 0,
"examples": [
920000
],
"description": "Bitcoin block height being evaluated. Constraints: minimum: 0; maximum: 4294967295. Example: 920000."
},
"sessionContextHash": {
"type": "string",
"example": "abababababababababababababababababababababababababababababababab",
"pattern": "^[0-9a-fA-F]{64}$",
"examples": [
"abababababababababababababababababababababababababababababababab"
],
"description": "Hash binding this proof to its agent session context. Constraints: pattern: ^[0-9a-fA-F]{64}$. Example: \"abababababababababababababababababababababababababababababababab\"."
},
"thermodynamicEntropyBits": {
"type": "number",
"example": 0.5,
"minimum": 0,
"examples": [
0.5
],
"description": "Thermodynamic entropy value bound to the complete verifier response. Constraints: minimum: 0. Example: 0.5."
}
},
"description": "Native zk.drift.v1 proof verification input, optionally bound to the complete verifier response. Example: supply the circuit discriminator, session hash, target height, threshold, and proof.",
"additionalProperties": false
},
{
"type": "object",
"examples": [
{
"otsProof": "AQID",
"targetHash": "abababababababababababababababababababababababababababababababab"
}
],
"required": [
"proofType",
"otsProof",
"targetHash"
],
"properties": {
"otsProof": {
"type": "string",
"example": "AQID",
"examples": [
"AQID"
],
"maxLength": 1048576,
"minLength": 1,
"description": "Canonical base64 or even-length hex serialized .ots receipt (maximum 512 KiB decoded). Constraints: minLength: 1; maxLength: 1048576. Example: \"AQID\"."
},
"proofType": {
"type": "string",
"const": "ots",
"example": "ots",
"examples": [
"ots"
],
"description": "OpenTimestamps Bitcoin verification. Example: \"ots\"."
},
"targetHash": {
"type": "string",
"example": "abababababababababababababababababababababababababababababababab",
"pattern": "^[0-9a-fA-F]{64}$",
"examples": [
"abababababababababababababababababababababababababababababababab"
],
"description": "64-character SHA-256 digest recorded by the receipt; not a Bitcoin header hash. Constraints: pattern: ^[0-9a-fA-F]{64}$. Example: \"abababababababababababababababababababababababababababababababab\"."
}
},
"description": "OTS mode requires proofType ots, a complete receipt, and its SHA-256 file digest.",
"additionalProperties": false
}
],
"examples": [
{
"data": [
{
"block": {
"height": 920000
},
"observed_at": "2026-09-19T00:00:00.000Z",
"thermodynamic": {
"target_multiplier": 125.83
}
}
],
"proof": "eyJwaV9hIjpbIjEyMyIsIjQ1NiIsIjEiXX0",
"publicInputs": {
"timestamp": 1789776000000,
"blockHeight": 920000,
"valuationSat": 12583,
"snapshotDigest": "1534979302823651498736582947365829473658294736582947365829473658294",
"thermodynamicHash": "782365829473658294736582947365829473658294736582947365829473658294"
},
"verificationKeyId": "sha256:4c095e183ea45a9d"
},
{
"proof": {
"pi_a": [
"1",
"2",
"1"
],
"pi_b": [
[
"1",
"2"
],
[
"3",
"4"
],
[
"1",
"0"
]
],
"pi_c": [
"1",
"2",
"1"
],
"circuit": "zk.drift.v1",
"publicSignals": [
"1",
"2"
],
"verificationKeyId": "sha256:4c095e183ea45a9d"
},
"circuit": "zk.drift.v1",
"blockHash": "abababababababababababababababababababababababababababababababab",
"isAligned": true,
"driftScore": 0.25,
"compactTarget": 486604799,
"entropyThreshold": 0.75,
"targetBlockHeight": 920000,
"sessionContextHash": "abababababababababababababababababababababababababababababababab",
"thermodynamicEntropyBits": 0.5
},
{
"otsProof": "AQID",
"proofType": "ots",
"targetHash": "abababababababababababababababababababababababababababababababab"
}
],
"description": "Select groth16 (default) or ots, supplying only fields for the selected verification path."
}Fetch exact live or archived Bitcoin Stratigraphy pipeline telemetry by single UTC date or block height. USAGE ROUTING: Use `stratigraphy.get` to retrieve a single specific snapshot. Use `stratigraphy.list` to fetch the N most recent records. Use `stratigraphy.get_range` for bounded chronological datasets. Use `stratigraphy.get_diff` to compare two distinct points. L402 PAYMENT REQUIRED: Expect HTTP 402; parse the WWW-Authenticate header, pay the Lightning invoice via configured wallet, and retry the identical request with Authorization: L402 <macaroon>:<preimage>.
| Argument | Type | Description |
|---|---|---|
| date | string | Select one indexed UTC day (YYYY-MM-DD, e.g. '2026-09-19'); cannot combine with days, blockHeight, or range bounds. Constraints: minLength: 1; format: date; pattern: ^\d{4}-\d{2}-\d{2}$. Example: "2026-09-19". |
| days | integer | Fetch the most recent 1-365 indexed daily records (e.g. 7), capped by limit; cannot combine with date, blockHeight, or range bounds. Constraints: minimum: 1; maximum: 365. Example: 7. |
| limit | integer | Cap records returned by the chosen selector at 1-100 (default 10); does not expand days or range bounds. Constraints: minimum: 1; maximum: 100. Example: 10. |
| endDate | string | Inclusive upper UTC date bound (YYYY-MM-DD); pair with startDate for a bounded range or use alone for an open range, never with days, date, or blockHeight; must be >= startDate when paired. Constraints: minLength: 1; format: date; pattern: ^\d{4}-\d{2}-\d{2}$. Example: "2026-09-18". |
| metrics |
Calculate signed arithmetic and thermodynamic deltas between fromTarget (baseline height or UTC date) and toTarget (comparison height, UTC date, or 'latest' indexed entry). Use this tool when measuring block-to-block divergence or net change between two points without fetching intermediate records. Use stratigraphy.get_range for full interval series, stratigraphy.get for a single snapshot, stratigraphy.get_digest for compact hashes, or stratigraphy.list for catalog discovery. Paid L402 call: on HTTP 402, pay the invoice and retry with Authorization: L402 <macaroon>:<preimage>.
| Argument | Type | Description |
|---|---|---|
| toTarget | string | Optional comparison indexed height (e.g. '919856'), UTC ISO date (e.g. '2026-09-01'), or 'latest' (default); deltas are toTarget minus fromTarget. 'latest' is the latest dataset entry, not the live Bitcoin tip. Constraints: pattern: ^(?:latest|(?:0|[1-9]\d*)|\d{4}-\d{2}-\d{2})$. Example: "latest". |
| fromTarget* | string | Required baseline indexed height (e.g. '850000') or UTC ISO date (e.g. '2026-01-01'); compared with toTarget to calculate signed deltas. Either chronological order is allowed; only indexed entries resolve. Constraints: pattern: ^(?:(?:0|[1-9]\d*)|\d{4}-\d{2}-\d{2})$. Example: "919856". |
{
"type": "object",
"examples": [
{
"toTarget": "latest",
"fromTarget": "919856"
},
{
"toTarget": "2026-09-09",
"fromTarget": "2026-09-08"
}
],
"required": [
"fromTarget"
],
"properties": {
"toTarget": {
"type": "string",
"default": "latest",
"example": "latest",
"pattern": "^(?:latest|(?:0|[1-9]\\d*)|\\d{4}-\\d{2}-\\d{2})$",
"examples": [
"latest",
"920000",
"2026-09-09"
],
"description": "Optional comparison indexed height (e.g. '919856'), UTC ISO date (e.g. '2026-09-01'), or 'latest' (default); deltas are toTarget minus fromTarget. 'latest' is the latest dataset entry, not the live Bitcoin tip. Constraints: pattern: ^(?:latest|(?:0|[1-9]\\d*)|\\d{4}-\\d{2}-\\d{2})$. Example: \"latest\"."
},
"fromTarget": {
"type": "string",
"example": "919856",
"pattern": "^(?:(?:0|[1-9]\\d*)|\\d{4}-\\d{2}-\\d{2})$",
"examples": [
"919856",
"2026-09-08"
],
"description": "Required baseline indexed height (e.g. '850000') or UTC ISO date (e.g. '2026-01-01'); compared with toTarget to calculate signed deltas. Either chronological order is allowed; only indexed entries resolve. Constraints: pattern: ^(?:(?:0|[1-9]\\d*)|\\d{4}-\\d{2}-\\d{2})$. Example: \"919856\"."
}
},
"description": "Compare a required baseline indexed height or UTC date with an optional endpoint; either order is valid and produces signed deltas. latest refers to the latest indexed entry, not the live chain tip.",
"additionalProperties": false
}Retrieve compact SHA-256 fingerprints and minimal telemetry tuples for a target height, UTC date, or 'start..end' date range using the chosen format ('compact', 'minimal', or 'kv'). Use this tool to verify state integrity or minimize token consumption when full payloads are unnecessary. Use stratigraphy.get for full single-record telemetry, stratigraphy.get_range for full multi-record series, stratigraphy.get_diff for two-point deltas, or stratigraphy.list for free catalog browsing. Paid L402 call: on HTTP 402, pay the invoice and retry with Authorization: L402 <macaroon>:<preimage>.
| Argument | Type | Description |
|---|---|---|
| format | string | Compression format: minimal returns [height,date,target_multiplier,record_hash]; kv returns {h,ts,tm,hash}; compact returns HEIGHT:...|DATE:...|TM:...|HASH:.... Record hashes are SHA-256 of stored entry fields, not Bitcoin block hashes; no per-record proof is available. Constraints: allowed values: compact, minimal, kv. Example: "compact". |
| target | string | Indexed Bitcoin height (e.g. '920000'), ISO date, or inclusive ISO date range joined with '..'. Defaults to the latest available dataset entry, not the live Bitcoin tip. Constraints: pattern: ^(?:latest|(?:0|[1-9]\d*)|\d{4}-\d{2}-\d{2}(?:\.\.\d{4}-\d{2}-\d{2})?)$. Example: "latest". |
{
"type": "object",
"examples": [
{
"format": "compact",
"target": "latest"
},
{
"format": "kv",
"target": "2026-09-01..2026-09-09"
}
],
"required": [],
"properties": {
"format": {
"enum": [
"compact",
"minimal",
"kv"
],
"type": "string",
"default": "compact",
"example": "compact",
"examples": [
"compact",
"minimal",
"kv"
],
"description": "Compression format: minimal returns [height,date,target_multiplier,record_hash]; kv returns {h,ts,tm,hash}; compact returns HEIGHT:...|DATE:...|TM:...|HASH:.... Record hashes are SHA-256 of stored entry fields, not Bitcoin block hashes; no per-record proof is available. Constraints: allowed values: compact, minimal, kv. Example: \"compact\"."
},
"target": {
"type": "string",
"default": "latest",
"example": "latest",
"pattern": "^(?:latest|(?:0|[1-9]\\d*)|\\d{4}-\\d{2}-\\d{2}(?:\\.\\.\\d{4}-\\d{2}-\\d{2})?)$",
"examples": [
"latest",
"920000",
"2026-09-09",
"2026-09-01..2026-09-09"
],
"description": "Indexed Bitcoin height (e.g. '920000'), ISO date, or inclusive ISO date range joined with '..'. Defaults to the latest available dataset entry, not the live Bitcoin tip. Constraints: pattern: ^(?:latest|(?:0|[1-9]\\d*)|\\d{4}-\\d{2}-\\d{2}(?:\\.\\.\\d{4}-\\d{2}-\\d{2})?)$. Example: \"latest\"."
}
},
"description": "Select a daily indexed stratum or bounded date range for compression.",
"additionalProperties": false
}Fetch a contiguous sequence of Bitcoin stratigraphy records between startTarget and endTarget (block heights or YYYY-MM-DD UTC dates, in ascending order, capped by the limit parameter). Use this tool when analyzing multi-block trends or time-series intervals. Use stratigraphy.list to browse available catalog bounds, stratigraphy.get for a single snapshot, stratigraphy.get_diff to compare two endpoints without intermediate records, or stratigraphy.get_digest for compact hashes. Paid L402 call: on HTTP 402, pay the invoice and retry with Authorization: L402 <macaroon>:<preimage>. Supports zero-polling asynchronous execution: provide a webhook_url parameter to receive a 202 Accepted response immediately, followed by a server-initiated POST callback containing the final results when processing completes.
| Argument | Type | Description |
|---|---|---|
| limit | number | Maximum compressed records returned from startTarget toward endTarget, 1-100 (default 50); smaller limits truncate the batch. Constraints: minimum: 1; maximum: 100. Example: 50. |
| format | string | Compression of every returned record: compact (default), minimal, or kv; does not change selected bounds. Constraints: allowed values: compact, minimal, kv. Example: "compact". |
| endTarget | string | Optional inclusive ending indexed height, UTC ISO date, or 'latest' (default: latest indexed entry, not live tip); must resolve no earlier than startTarget. Constraints: pattern: ^(?:latest|(?:0|[1-9]\d*)|\d{4}-\d{2}-\d{2})$. Example: "latest". |
| startTarget* | string | Required inclusive starting indexed height (e.g. '850000') or UTC ISO date (e.g. '2026-01-01'); must resolve no later than endTarget. Constraints: pattern: ^(?:(?:0|[1-9]\d*)|\d{4}-\d{2}-\d{2})$. Example: "919712". |
List the Bitcoin stratigraphy catalog, returning paginated index summaries of available block heights and UTC dates without heavy telemetry payloads. Use this free discovery tool first to inspect available start/end boundaries and verify which heights or dates are indexed before calling paid retrieval tools. Use stratigraphy.get for a single full record, stratigraphy.get_range for a contiguous sequence, stratigraphy.get_diff for two-point deltas, or stratigraphy.get_digest for compact SHA-256 hashes. Use limit and offset parameters to paginate.
No arguments.
{
"type": "object",
"examples": [
{}
],
"required": [],
"properties": {},
"description": "Pass {} to discover catalog bounds before selecting records; any parameter is rejected.",
"additionalProperties": false
}A deterministic composite workflow that executes a complete end-to-end thermodynamic audit between fromTarget and toTarget. It automatically calculates signed difficulty deltas, fetches compressed SHA-256 proof receipts, and returns a unified cryptographic report. Use this composite workflow to save LLM context tokens and eliminate multi-step agent orchestration when auditing historical divergence. Use individual stratigraphy or proof tools for single-purpose queries. Paid L402 call: on HTTP 402, pay the invoice and retry with Authorization: L402 <macaroon>:<preimage>.
| Argument | Type | Description |
|---|---|---|
| toTarget* | string | Required comparison real Bitcoin height, valid YYYY-MM-DD UTC date, or latest. Constraints: pattern: ^(?:latest|(?:0|[1-9]\d*)|\d{4}-\d{2}-\d{2})$. Example: "latest". |
| fromTarget* | string | Baseline real Bitcoin height or valid YYYY-MM-DD UTC date; latest is not a baseline. Constraints: pattern: ^(?:(?:0|[1-9]\d*)|\d{4}-\d{2}-\d{2})$. Example: "2026-10-12". |
{
"type": "object",
"examples": [
{
"toTarget": "latest",
"fromTarget": "2026-10-12"
}
],
"required": [
"fromTarget",
"toTarget"
],
"properties": {
"toTarget": {
"type": "string",
"example": "latest",
"pattern": "^(?:latest|(?:0|[1-9]\\d*)|\\d{4}-\\d{2}-\\d{2})$",
"examples": [
"latest"
],
"description": "Required comparison real Bitcoin height, valid YYYY-MM-DD UTC date, or latest. Constraints: pattern: ^(?:latest|(?:0|[1-9]\\d*)|\\d{4}-\\d{2}-\\d{2})$. Example: \"latest\"."
},
"fromTarget": {
"type": "string",
"example": "2026-10-12",
"pattern": "^(?:(?:0|[1-9]\\d*)|\\d{4}-\\d{2}-\\d{2})$",
"examples": [
"2026-10-12"
],
"description": "Baseline real Bitcoin height or valid YYYY-MM-DD UTC date; latest is not a baseline. Constraints: pattern: ^(?:(?:0|[1-9]\\d*)|\\d{4}-\\d{2}-\\d{2})$. Example: \"2026-10-12\"."
}
},
"description": "Two required exact real Bitcoin height or UTC date boundaries; toTarget also accepts latest.",
"additionalProperties": false
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Nov 29, 2026.
| paymentHash | string | L402 SHA-256 invoice hash, or Base tx hash when using x402. Constraints: pattern: ^(0x)?[0-9a-fA-F]{64}$. Example: "abababababababababababababababababababababababababababababababab". |
| paymentMacaroon | string | Original invoice macaroon, separate from this tool's paid access credential. Constraints: minLength: 1; maxLength: 8192. Example: "eyJtYWNhcm9vbiI6ImV4YW1wbGUifQ". |
{
"type": "object",
"oneOf": [
{
"type": "object",
"properties": {
"action": {
"type": "string",
"const": "query",
"default": "query",
"example": "query",
"examples": [
"query"
],
"description": "Pricing query (default). Example: \"query\"."
},
"toolName": {
"type": "string",
"example": "stratigraphy.get_digest",
"examples": [
"stratigraphy.get_digest"
],
"minLength": 1,
"description": "Optional case-sensitive canonical MCP tool identifier (e.g., 'stratigraphy.get_digest' or 'proof.verify'); supported legacy aliases are also accepted and resolve to canonical names. When provided, filters output to return pricing specifically for that single tool. When omitted, returns the full pricing map across all registered catalog tools. Must match an exact registered tool name or supported legacy alias. Constraints: minLength: 1. Example: \"stratigraphy.get_digest\"."
}
},
"additionalProperties": false
},
{
"not": {
"required": [
"preimage",
"txHash"
]
},
"type": "object",
"examples": [
{
"preimage": "cdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcd",
"paymentHash": "abababababababababababababababababababababababababababababababab"
},
{
"txHash": "0xabababababababababababababababababababababababababababababababab",
"paymentHash": "0xabababababababababababababababababababababababababababababababab"
}
],
"required": [
"action",
"paymentHash"
],
"properties": {
"action": {
"type": "string",
"const": "settle",
"example": "settle",
"examples": [
"settle"
],
"description": "Verify or execute payment settlement. Example: \"settle\"."
},
"txHash": {
"type": "string",
"example": "0xabababababababababababababababababababababababababababababababab",
"pattern": "^0x[0-9a-fA-F]{64}$",
"examples": [
"0xabababababababababababababababababababababababababababababababab"
],
"description": "Base mainnet transaction hash, accepted only after facilitator settlement of PAYMENT-SIGNATURE. Constraints: pattern: ^0x[0-9a-fA-F]{64}$. Example: \"0xabababababababababababababababababababababababababababababababab\"."
},
"preimage": {
"type": "string",
"example": "cdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcd",
"pattern": "^([0-9a-fA-F]{64}|[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}|NWC_LOOKUP|nwc_lookup)$",
"examples": [
"cdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcd"
],
"description": "Optional L402 preimage, NWC_LOOKUP, or UUID hint; the issued macaroon and exact merchant settlement remain required. Constraints: pattern: ^([0-9a-fA-F]{64}|[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}|NWC_LOOKUP|nwc_lookup)$. Example: \"cdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcd\"."
},
"paymentHash": {
"type": "string",
"example": "abababababababababababababababababababababababababababababababab",
"pattern": "^(0x)?[0-9a-fA-F]{64}$",
"examples": [
"abababababababababababababababababababababababababababababababab"
],
"description": "L402 SHA-256 invoice hash, or Base tx hash when using x402. Constraints: pattern: ^(0x)?[0-9a-fA-F]{64}$. Example: \"abababababababababababababababababababababababababababababababab\"."
},
"paymentMacaroon": {
"type": "string",
"example": "eyJtYWNhcm9vbiI6ImV4YW1wbGUifQ",
"examples": [
"eyJtYWNhcm9vbiI6ImV4YW1wbGUifQ"
],
"maxLength": 8192,
"minLength": 1,
"description": "Original invoice macaroon, separate from this tool's paid access credential. Constraints: minLength: 1; maxLength: 8192. Example: \"eyJtYWNhcm9vbiI6ImV4YW1wbGUifQ\"."
}
},
"description": "Payment identifier and optional Lightning proof; retain the issued L402 macaroon for merchant verification. Base settlement requires a transaction hash and matching x402 credential.",
"additionalProperties": false
}
],
"examples": [
{},
{
"action": "settle",
"preimage": "cdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcd",
"paymentHash": "abababababababababababababababababababababababababababababababab"
}
],
"required": [],
"properties": {
"action": {
"enum": [
"query",
"settle"
],
"type": "string",
"default": "query",
"example": "query",
"examples": [
"query"
],
"description": "query (default) discovers prices; settle verifies authenticated payment. Constraints: allowed values: query, settle. Example: \"query\"."
},
"txHash": {
"type": "string",
"example": "0xabababababababababababababababababababababababababababababababab",
"pattern": "^0x[0-9a-fA-F]{64}$",
"examples": [
"0xabababababababababababababababababababababababababababababababab"
],
"description": "Base mainnet transaction hash, accepted only after facilitator settlement of PAYMENT-SIGNATURE. Constraints: pattern: ^0x[0-9a-fA-F]{64}$. Example: \"0xabababababababababababababababababababababababababababababababab\"."
},
"preimage": {
"type": "string",
"example": "cdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcd",
"pattern": "^([0-9a-fA-F]{64}|[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}|NWC_LOOKUP|nwc_lookup)$",
"examples": [
"cdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcd"
],
"description": "Optional L402 preimage, NWC_LOOKUP, or UUID hint; the issued macaroon and exact merchant settlement remain required. Constraints: pattern: ^([0-9a-fA-F]{64}|[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}|NWC_LOOKUP|nwc_lookup)$. Example: \"cdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcdcd\"."
},
"toolName": {
"type": "string",
"example": "stratigraphy.get_digest",
"examples": [
"stratigraphy.get_digest"
],
"minLength": 1,
"description": "Optional case-sensitive canonical MCP tool identifier (e.g., 'stratigraphy.get_digest' or 'proof.verify'); supported legacy aliases are also accepted and resolve to canonical names. When provided, filters output to return pricing specifically for that single tool. When omitted, returns the full pricing map across all registered catalog tools. Must match an exact registered tool name or supported legacy alias. Constraints: minLength: 1. Example: \"stratigraphy.get_digest\"."
},
"paymentHash": {
"type": "string",
"example": "abababababababababababababababababababababababababababababababab",
"pattern": "^(0x)?[0-9a-fA-F]{64}$",
"examples": [
"abababababababababababababababababababababababababababababababab"
],
"description": "L402 SHA-256 invoice hash, or Base tx hash when using x402. Constraints: pattern: ^(0x)?[0-9a-fA-F]{64}$. Example: \"abababababababababababababababababababababababababababababababab\"."
},
"paymentMacaroon": {
"type": "string",
"example": "eyJtYWNhcm9vbiI6ImV4YW1wbGUifQ",
"examples": [
"eyJtYWNhcm9vbiI6ImV4YW1wbGUifQ"
],
"maxLength": 8192,
"minLength": 1,
"description": "Original invoice macaroon, separate from this tool's paid access credential. Constraints: minLength: 1; maxLength: 8192. Example: \"eyJtYWNhcm9vbiI6ImV4YW1wbGUifQ\"."
}
},
"description": "Query pricing (default) or settle a matching authenticated Lightning or Base payment.",
"additionalProperties": false
}| macaroon* | string | Required authentic, unexpired parent L402 macaroon (1-8192 characters); added restrictions can only narrow its scope. Constraints: minLength: 1; maxLength: 8192. Example: "base64url-parent-macaroon". |
| expiresAt | string | Optional absolute expiration boundary as a future UTC instant (YYYY-MM-DDTHH:MM:SSZ, optionally with .sss milliseconds). Appends `time < YYYY-MM-DDTHH:MM:SS.sssZ`; it cannot extend the parent's expiry. Mutually exclusive with ttlSeconds. Constraints: format: date-time; pattern: ^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(?:\.\d{3})?Z$. Example: "2026-12-31T23:59:59Z". |
| ttlSeconds | number | Optional positive integer TTL of 1-2592000 seconds (e.g. 3600). Appends `time <` at the current time plus ttlSeconds; it cannot extend the parent's expiry. Mutually exclusive with expiresAt. Constraints: minimum: 1; maximum: 2592000. Example: 3600. |
{
"type": "object",
"examples": [
{
"tools": [
"stratigraphy.get_diff"
],
"caveats": [
"max_target = 870000"
],
"macaroon": "base64url-parent-macaroon",
"expiresAt": "2026-12-31T23:59:59Z"
}
],
"required": [
"macaroon"
],
"properties": {
"tools": {
"type": "array",
"items": {
"type": "string",
"example": "stratigraphy.get_diff",
"pattern": "^[a-z][a-z0-9]*\\.[a-z][a-z0-9_]*$",
"examples": [
"stratigraphy.get_diff"
],
"description": "Registered MCP tool name or supported legacy alias. Constraints: pattern: ^[a-z][a-z0-9]*\\.[a-z][a-z0-9_]*$. Example: \"stratigraphy.get_diff\"."
},
"example": [
"stratigraphy.get_diff"
],
"examples": [
[
"stratigraphy.get_diff"
]
],
"maxItems": 16,
"minItems": 1,
"description": "Optional exact MCP tool targets (1-16 unique names). Appends one `rpc = tool[,tool...]` caveat; the child is refused for every other tool. Matching is exact, so a legacy alias is a different name. Each tool must already be authorized by the parent: an MCP L402 credential authorizes the single tool named in its allowed_path. Constraints: minItems: 1; maxItems: 16. Example: [\"stratigraphy.get_diff\"].",
"uniqueItems": true
},
"caveats": {
"type": "array",
"items": {
"type": "string",
"example": "time < 2026-12-31T23:59:59Z",
"examples": [
"time < 2026-12-31T23:59:59Z"
],
"maxLength": 256,
"minLength": 1,
"description": "One supported restriction caveat. Constraints: minLength: 1; maxLength: 256. Example: \"time < 2026-12-31T23:59:59Z\"."
},
"default": [],
"example": [
"max_target = 870000"
],
"examples": [
[
"max_target = 870000"
]
],
"maxItems": 16,
"description": "Optional restriction caveats to append, normalized to canonical form: 'time < 2026-12-31T23:59:59Z', 'rpc = stratigraphy.get_diff', 'max_target = 870000', 'max_requests = 1', 'allowed_path = /mcp/tools/stratigraphy.get_diff', and legacy 'time_before = 2026-12-31' or 'allowed_tools = stratigraphy.get,stratigraphy.get_digest'. Constraints: maxItems: 16. Example: [\"max_target = 870000\"]."
},
"macaroon": {
"type": "string",
"example": "base64url-parent-macaroon",
"examples": [
"base64url-parent-macaroon"
],
"maxLength": 8192,
"minLength": 1,
"description": "Required authentic, unexpired parent L402 macaroon (1-8192 characters); added restrictions can only narrow its scope. Constraints: minLength: 1; maxLength: 8192. Example: \"base64url-parent-macaroon\"."
},
"expiresAt": {
"type": "string",
"format": "date-time",
"example": "2026-12-31T23:59:59Z",
"pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{3})?Z$",
"examples": [
"2026-12-31T23:59:59Z"
],
"description": "Optional absolute expiration boundary as a future UTC instant (YYYY-MM-DDTHH:MM:SSZ, optionally with .sss milliseconds). Appends `time < YYYY-MM-DDTHH:MM:SS.sssZ`; it cannot extend the parent's expiry. Mutually exclusive with ttlSeconds. Constraints: format: date-time; pattern: ^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d{3})?Z$. Example: \"2026-12-31T23:59:59Z\"."
},
"ttlSeconds": {
"type": "number",
"example": 3600,
"maximum": 2592000,
"minimum": 1,
"examples": [
3600
],
"description": "Optional positive integer TTL of 1-2592000 seconds (e.g. 3600). Appends `time <` at the current time plus ttlSeconds; it cannot extend the parent's expiry. Mutually exclusive with expiresAt. Constraints: minimum: 1; maximum: 2592000. Example: 3600."
}
},
"description": "Provide an authentic parent macaroon and at least one restriction: expiresAt or ttlSeconds, exact tools, or caveats. New caveats intersect with inherited constraints and no payment invoice is issued.",
"additionalProperties": false
}| nostrEventId | string | Optional Nostr event ID linked into the signed receipt payload to bind off-chain publications to the block tip. Example: a 64-character lowercase hex event ID. |
{
"type": "object",
"oneOf": [
{
"required": [
"contextHash",
"agentId"
]
},
{
"required": [
"cid"
]
}
],
"examples": [
{
"agentId": "research-agent-7",
"metadata": {
"topic": "difficulty-adjustment"
},
"contextHash": "4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f"
},
{
"cid": "bafybeigdyrzt5sfp7udm7hu76uhka4lyer5y2wjy7zt6fw7v6r2w4x3ydq",
"context": {
"source": "dataset"
},
"nostrEventId": "abababababababababababababababababababababababababababababababab"
}
],
"properties": {
"cid": {
"type": "string",
"example": "abababababababababababababababababababababababababababababababab",
"pattern": "^(?:Qm[1-9A-HJ-NP-Za-km-z]{44}|b[a-z2-7]{20,}|(?:0x)?[0-9a-fA-F]{64})$",
"examples": [
"abababababababababababababababababababababababababababababababab"
],
"maxLength": 256,
"description": "Target IPFS CID or 32-byte hex dataset hash anchored directly to the live Bitcoin block height. Example: a 64-character lowercase hex digest."
},
"agentId": {
"type": "string",
"example": "research-agent-7",
"examples": [
"research-agent-7"
],
"maxLength": 256,
"minLength": 1,
"description": "Unique agent instance identifier named in the signed attestation receipt; trimmed to 1-256 characters. Constraints: minLength: 1; maxLength: 256. Example: \"research-agent-7\"."
},
"context": {
"type": "object",
"example": {
"source": "dataset"
},
"examples": [
{
"source": "dataset"
}
],
"description": "Optional JSON metadata object bound into the signed receipt tuple for additional execution context. Example: {\"source\":\"dataset\"}.",
"additionalProperties": true
},
"metadata": {
"type": "object",
"example": {
"topic": "difficulty-adjustment"
},
"examples": [
{
"topic": "difficulty-adjustment"
}
],
"description": "Optional non-secret JSON key-value metadata bound to the signed receipt; serialized size must not exceed 16 KiB. Example: {\"topic\":\"difficulty-adjustment\"}.",
"additionalProperties": true
},
"contextHash": {
"type": "string",
"example": "4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f",
"pattern": "^[0-9a-fA-F]{64}$",
"examples": [
"4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f"
],
"maxLength": 64,
"minLength": 64,
"description": "64-character hexadecimal SHA-256 digest binding the agent's prompt or execution state to the current block tip; normalized to lowercase. Constraints: minLength: 64; maxLength: 64; pattern: ^[0-9a-fA-F]{64}$. Example: \"4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f4f\"."
},
"nostrEventId": {
"type": "string",
"example": "abababababababababababababababababababababababababababababababab",
"pattern": "^[0-9a-fA-F]{64}$",
"examples": [
"abababababababababababababababababababababababababababababababab"
],
"description": "Optional Nostr event ID linked into the signed receipt payload to bind off-chain publications to the block tip. Example: a 64-character lowercase hex event ID."
}
},
"description": "Provide contextHash and agentId together for live agent context, or cid for a dataset anchor; these two modes are exclusive. Optional metadata applies to context mode; optional nostrEventId and context apply to dataset mode.",
"additionalProperties": false
}| publicSignals* |
| array |
| Five ordered public inputs—blockHeight, thermodynamicHash, timestamp, valuationSat, and snapshotDigest—that must align with the submitted proof coordinates. Constraints: minItems: 5; maxItems: 5. Example: ["920000","1","1789776000000","12583","1"]. |
| snapshotDigest | string | Decimal field digest or IPFS CID that must equal publicSignals[4] when supplied. Constraints: pattern: ^(?:\d+|Qm[1-9A-HJ-NP-Za-km-z]{44}|b[a-z2-7]{20,})$. Example: "1". |
{
"type": "object",
"examples": [
{
"proof": {
"piA": [
"1",
"2",
"1"
],
"piB": [
[
"1",
"2"
],
[
"3",
"4"
],
[
"1",
"0"
]
],
"piC": [
"5",
"6",
"1"
]
},
"publicSignals": [
"920000",
"1",
"1789776000000",
"12583",
"1"
],
"snapshotDigest": "1"
}
],
"required": [
"proof",
"publicSignals"
],
"properties": {
"proof": {
"type": "object",
"example": {
"piA": [
"1",
"2",
"1"
],
"piB": [
[
"1",
"2"
],
[
"3",
"4"
],
[
"1",
"0"
]
],
"piC": [
"5",
"6",
"1"
]
},
"examples": [
{
"piA": [
"1",
"2",
"1"
],
"piB": [
[
"1",
"2"
],
[
"3",
"4"
],
[
"1",
"0"
]
],
"piC": [
"5",
"6",
"1"
]
}
],
"required": [
"piA",
"piB",
"piC"
],
"properties": {
"piA": {
"type": "array",
"items": {
"type": "string",
"example": "10823",
"pattern": "^\\d+$",
"examples": [
"10823"
],
"description": "Decimal-encoded BN254 scalar-field coordinate in proof point A. Constraints: pattern: ^\\d+$. Example: \"10823\"."
},
"example": [
"1",
"2",
"1"
],
"examples": [
[
"1",
"2",
"1"
]
],
"maxItems": 3,
"minItems": 3,
"description": "Exactly three decimal-string Groth16 BN254 proof A projective coordinates in order. Constraints: minItems: 3; maxItems: 3. Example: [\"1\",\"2\",\"1\"]."
},
"piB": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string",
"example": "331",
"pattern": "^\\d+$",
"examples": [
"331"
],
"description": "Decimal-encoded BN254 extension-field coordinate in proof point B. Constraints: pattern: ^\\d+$. Example: \"331\"."
},
"example": [
"112",
"331"
],
"examples": [
[
"112",
"331"
]
],
"maxItems": 2,
"minItems": 2,
"description": "BN254 extension-field coordinate pair in proof point B. Constraints: minItems: 2; maxItems: 2. Example: [\"112\",\"331\"]."
},
"example": [
[
"1",
"2"
],
[
"3",
"4"
],
[
"1",
"0"
]
],
"examples": [
[
[
"1",
"2"
],
[
"3",
"4"
],
[
"1",
"0"
]
]
],
"maxItems": 3,
"minItems": 3,
"description": "Exactly three Groth16 BN254 proof B extension-field coordinate pairs, each containing two decimal strings. Constraints: minItems: 3; maxItems: 3. Example: [[\"1\",\"2\"],[\"3\",\"4\"],[\"1\",\"0\"]]."
},
"piC": {
"type": "array",
"items": {
"type": "string",
"example": "554",
"pattern": "^\\d+$",
"examples": [
"554"
],
"description": "Decimal-encoded BN254 scalar-field coordinate in proof point C. Constraints: pattern: ^\\d+$. Example: \"554\"."
},
"example": [
"5",
"6",
"1"
],
"examples": [
[
"5",
"6",
"1"
]
],
"maxItems": 3,
"minItems": 3,
"description": "Exactly three decimal-string Groth16 BN254 proof C projective coordinates in order. Constraints: minItems: 3; maxItems: 3. Example: [\"5\",\"6\",\"1\"]."
}
},
"description": "Groth16/Poseidon BN254 proof coordinates for non-interactive validation: piA and piC are three decimal-string projective coordinates each, and piB is three pairs of decimal-string extension-field coordinates; for example, piA ['1','2','1'].",
"additionalProperties": false
},
"webhook_url": {
"type": "string",
"format": "uri",
"example": "https://agent.example.com/mcp/callbacks",
"pattern": "^https://",
"examples": [
"https://agent.example.com/mcp/callbacks"
],
"maxLength": 2048,
"description": "Optional public HTTPS callback URL for zero-polling execution. On a paid call the server answers HTTP 202 Accepted with a JSON-RPC result containing task_id and status pending, runs the tool in the background, then POSTs one JSON body with task_id, status (completed or failed), tool, request_id and the final MCP result or JSON-RPC error. Omit it to receive the result synchronously. Loopback, private, link-local and other reserved addresses are rejected before any invoice is issued. Constraints: maxLength: 2048; format: uri; pattern: ^https://. Example: \"https://agent.example.com/mcp/callbacks\"."
},
"publicSignals": {
"type": "array",
"items": {
"type": "string",
"example": "920000",
"pattern": "^\\d+$",
"examples": [
"920000"
],
"description": "Decimal-encoded BN254 scalar-field element. Constraints: pattern: ^\\d+$. Example: \"920000\"."
},
"example": [
"920000",
"1",
"1789776000000",
"12583",
"1"
],
"examples": [
[
"920000",
"1",
"1789776000000",
"12583",
"1"
]
],
"maxItems": 5,
"minItems": 5,
"description": "Five ordered public inputs—blockHeight, thermodynamicHash, timestamp, valuationSat, and snapshotDigest—that must align with the submitted proof coordinates. Constraints: minItems: 5; maxItems: 5. Example: [\"920000\",\"1\",\"1789776000000\",\"12583\",\"1\"]."
},
"snapshotDigest": {
"type": "string",
"example": "1",
"pattern": "^(?:\\d+|Qm[1-9A-HJ-NP-Za-km-z]{44}|b[a-z2-7]{20,})$",
"examples": [
"1"
],
"description": "Decimal field digest or IPFS CID that must equal publicSignals[4] when supplied. Constraints: pattern: ^(?:\\d+|Qm[1-9A-HJ-NP-Za-km-z]{44}|b[a-z2-7]{20,})$. Example: \"1\"."
}
},
"description": "Input payload containing Groth16 proof object and public signals for ingestion and Nostr NIP-78 attestation broadcast.",
"additionalProperties": false
}| array |
| Deprecated legacy projection hint retained for compatibility; the live source returns complete pipeline records regardless of this hint. Inspect live_metrics for the real pipeline field names. Constraints: minItems: 1. Example: ["target_multiplier"]. |
| endBlock | integer | Inclusive upper indexed block-height bound (non-negative); pair with startBlock for a bounded range or use alone for an open range, never with days, date, or blockHeight; must be >= startBlock when paired. Constraints: minimum: 0. Example: 920000. |
| startDate | string | Inclusive lower UTC date bound (YYYY-MM-DD); pair with endDate for a bounded range or use alone for an open range, never with days, date, or blockHeight. Constraints: minLength: 1; format: date; pattern: ^\d{4}-\d{2}-\d{2}$. Example: "2026-09-01". |
| startBlock | integer | Inclusive lower indexed block-height bound (non-negative); pair with endBlock for a bounded range or use alone for an open range, never with days, date, or blockHeight. Constraints: minimum: 0. Example: 910000. |
| blockHeight | integer | Select one actual captured non-negative Bitcoin height or the current live height; never a synthetic date-to-height index. Cannot combine with days, date, or range bounds. Constraints: minimum: 0. Example: 850000. |
{
"type": "object",
"examples": [
{
"days": 7,
"limit": 7
},
{
"date": "2026-09-09",
"limit": 1
},
{
"limit": 1,
"metrics": [
"target_multiplier"
],
"blockHeight": 920000
},
{
"limit": 10,
"endDate": "2026-08-31",
"startDate": "2026-08-01"
},
{
"limit": 25,
"endBlock": 920000,
"startBlock": 910000
}
],
"required": [],
"properties": {
"date": {
"type": "string",
"format": "date",
"example": "2026-09-19",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"examples": [
"2026-09-19"
],
"minLength": 1,
"description": "Select one indexed UTC day (YYYY-MM-DD, e.g. '2026-09-19'); cannot combine with days, blockHeight, or range bounds. Constraints: minLength: 1; format: date; pattern: ^\\d{4}-\\d{2}-\\d{2}$. Example: \"2026-09-19\"."
},
"days": {
"type": "integer",
"example": 7,
"maximum": 365,
"minimum": 1,
"examples": [
7
],
"description": "Fetch the most recent 1-365 indexed daily records (e.g. 7), capped by limit; cannot combine with date, blockHeight, or range bounds. Constraints: minimum: 1; maximum: 365. Example: 7."
},
"limit": {
"type": "integer",
"default": 10,
"example": 10,
"maximum": 100,
"minimum": 1,
"examples": [
10
],
"description": "Cap records returned by the chosen selector at 1-100 (default 10); does not expand days or range bounds. Constraints: minimum: 1; maximum: 100. Example: 10."
},
"endDate": {
"type": "string",
"format": "date",
"example": "2026-09-18",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"examples": [
"2026-09-18"
],
"minLength": 1,
"description": "Inclusive upper UTC date bound (YYYY-MM-DD); pair with startDate for a bounded range or use alone for an open range, never with days, date, or blockHeight; must be >= startDate when paired. Constraints: minLength: 1; format: date; pattern: ^\\d{4}-\\d{2}-\\d{2}$. Example: \"2026-09-18\"."
},
"metrics": {
"type": "array",
"items": {
"enum": [
"target_multiplier",
"difficulty_epoch_progress",
"thermodynamic_signal"
],
"type": "string",
"example": "target_multiplier",
"examples": [
"target_multiplier"
],
"description": "Deprecated hint such as target_multiplier; does not project the current pipeline snapshot. Constraints: allowed values: target_multiplier, difficulty_epoch_progress, thermodynamic_signal. Example: \"target_multiplier\"."
},
"example": [
"target_multiplier"
],
"examples": [
[
"target_multiplier"
]
],
"minItems": 1,
"description": "Deprecated legacy projection hint retained for compatibility; the live source returns complete pipeline records regardless of this hint. Inspect live_metrics for the real pipeline field names. Constraints: minItems: 1. Example: [\"target_multiplier\"].",
"uniqueItems": true
},
"endBlock": {
"type": "integer",
"example": 920000,
"minimum": 0,
"examples": [
920000
],
"description": "Inclusive upper indexed block-height bound (non-negative); pair with startBlock for a bounded range or use alone for an open range, never with days, date, or blockHeight; must be >= startBlock when paired. Constraints: minimum: 0. Example: 920000."
},
"startDate": {
"type": "string",
"format": "date",
"example": "2026-09-01",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"examples": [
"2026-09-01"
],
"minLength": 1,
"description": "Inclusive lower UTC date bound (YYYY-MM-DD); pair with endDate for a bounded range or use alone for an open range, never with days, date, or blockHeight. Constraints: minLength: 1; format: date; pattern: ^\\d{4}-\\d{2}-\\d{2}$. Example: \"2026-09-01\"."
},
"startBlock": {
"type": "integer",
"example": 910000,
"minimum": 0,
"examples": [
910000
],
"description": "Inclusive lower indexed block-height bound (non-negative); pair with endBlock for a bounded range or use alone for an open range, never with days, date, or blockHeight. Constraints: minimum: 0. Example: 910000."
},
"blockHeight": {
"type": "integer",
"example": 850000,
"minimum": 0,
"examples": [
850000
],
"description": "Select one actual captured non-negative Bitcoin height or the current live height; never a synthetic date-to-height index. Cannot combine with days, date, or range bounds. Constraints: minimum: 0. Example: 850000."
}
},
"description": "Choose recent days, one date/indexed height, or an inclusive date/height range; selector modes cannot be combined. Limit and metrics refine the selected records.",
"additionalProperties": false
}| webhook_url | string | Optional public HTTPS callback URL for zero-polling execution. On a paid call the server answers HTTP 202 Accepted with a JSON-RPC result containing task_id and status pending, runs the tool in the background, then POSTs one JSON body with task_id, status (completed or failed), tool, request_id and the final MCP result or JSON-RPC error. Omit it to receive the result synchronously. Loopback, private, link-local and other reserved addresses are rejected before any invoice is issued. Constraints: maxLength: 2048; format: uri; pattern: ^https://. Example: "https://agent.example.com/mcp/callbacks". |
{
"type": "object",
"examples": [
{
"limit": 3,
"format": "kv",
"endTarget": "latest",
"startTarget": "919712"
},
{
"format": "minimal",
"endTarget": "2026-09-09",
"startTarget": "2026-09-08"
}
],
"required": [
"startTarget"
],
"properties": {
"limit": {
"type": "number",
"default": 50,
"example": 50,
"maximum": 100,
"minimum": 1,
"examples": [
50
],
"description": "Maximum compressed records returned from startTarget toward endTarget, 1-100 (default 50); smaller limits truncate the batch. Constraints: minimum: 1; maximum: 100. Example: 50."
},
"format": {
"enum": [
"compact",
"minimal",
"kv"
],
"type": "string",
"default": "compact",
"example": "compact",
"examples": [
"compact",
"minimal",
"kv"
],
"description": "Compression of every returned record: compact (default), minimal, or kv; does not change selected bounds. Constraints: allowed values: compact, minimal, kv. Example: \"compact\"."
},
"endTarget": {
"type": "string",
"default": "latest",
"example": "latest",
"pattern": "^(?:latest|(?:0|[1-9]\\d*)|\\d{4}-\\d{2}-\\d{2})$",
"examples": [
"latest",
"920000",
"2026-09-09"
],
"description": "Optional inclusive ending indexed height, UTC ISO date, or 'latest' (default: latest indexed entry, not live tip); must resolve no earlier than startTarget. Constraints: pattern: ^(?:latest|(?:0|[1-9]\\d*)|\\d{4}-\\d{2}-\\d{2})$. Example: \"latest\"."
},
"startTarget": {
"type": "string",
"example": "919712",
"pattern": "^(?:(?:0|[1-9]\\d*)|\\d{4}-\\d{2}-\\d{2})$",
"examples": [
"919712",
"2026-09-07"
],
"description": "Required inclusive starting indexed height (e.g. '850000') or UTC ISO date (e.g. '2026-01-01'); must resolve no later than endTarget. Constraints: pattern: ^(?:(?:0|[1-9]\\d*)|\\d{4}-\\d{2}-\\d{2})$. Example: \"919712\"."
},
"webhook_url": {
"type": "string",
"format": "uri",
"example": "https://agent.example.com/mcp/callbacks",
"pattern": "^https://",
"examples": [
"https://agent.example.com/mcp/callbacks"
],
"maxLength": 2048,
"description": "Optional public HTTPS callback URL for zero-polling execution. On a paid call the server answers HTTP 202 Accepted with a JSON-RPC result containing task_id and status pending, runs the tool in the background, then POSTs one JSON body with task_id, status (completed or failed), tool, request_id and the final MCP result or JSON-RPC error. Omit it to receive the result synchronously. Loopback, private, link-local and other reserved addresses are rejected before any invoice is issued. Constraints: maxLength: 2048; format: uri; pattern: ^https://. Example: \"https://agent.example.com/mcp/callbacks\"."
}
},
"description": "Select an inclusive, ascending range of indexed daily strata. Bounds must match recorded heights or UTC dates; latest refers to the latest indexed entry, not the live Bitcoin tip.",
"additionalProperties": false
}