checkpoint_proof
The slot should be the latest finalized slot you want included in the proof.
Returns a request_id immediately while the proof is built in the background.
Submits the finished proof to the on-chain verifier program automatically, so no additional action is required.
This endpoint generates and submits a ZK proof to Solana of all uploaded blobs from the last checkpoint (or genesis if no checkpoint exists) up to the specified slot.
Body
all ofOptional
Responses
200
JSON-RPC success (request_id) or error
application/json
400
Invalid request payload
application/json
500
Internal indexer error
application/json
post
POST /proof HTTP/1.1
Host: devnet.data-anchor.termina.technology
Content-Type: application/json
{
"id": "91",
"jsonrpc": "2.0",
"method": "checkpoint_proof",
"params": {
"blober": "4Nd1m1c9f9LxFHVfv1m1ChMpV4hV6j3uYVFzh5eRvYV7",
"slot": 385430344,
"customer_elf": "BASE64_ELF_BYTES_HERE"
}
}
{
"jsonrpc": "2.0",
"id": "91",
"result": "6f6f3c3a-b2a1-4b6a-9e24-9b2f0c9f2b5d"
}
Last updated