get_proof

Retrieves a proof for a given blober public key and slot number.

post
  • Returns null if the slot has not been completed yet.

  • Returns and an error if there was a database or RPC failure.

Body
all ofOptional
Responses
200

RPC success with proof bundle

application/json
post
POST / HTTP/1.1
Host: devnet.indexer.data-anchor.termina.technology
Content-Type: application/json
Accept: */*
Content-Length: 115

{
  "id": "45",
  "jsonrpc": "2.0",
  "method": "get_proof",
  "params": [
    "4Nd1m1c9f9LxFHVfv1m1ChMpV4hV6j3uYVFzh5eRvYV7",
    12345678
  ]
}
{
  "jsonrpc": "2.0",
  "id": "45",
  "result": {
    "accounts_delta_proof": {
      "proof": [
        10,
        20,
        30
      ]
    },
    "bank_hash_proof": {
      "parent_hash": "abc123...",
      "accounts_delta_hash": "def456..."
    },
    "slot_hash_proof": {
      "slot": 12345678,
      "hash": "ghi789..."
    },
    "blob_proofs": [
      {
        "blob": "4Nd1m1c9f9LxFHVfv1m1ChMpV4hV6j3uYVFzh5eRvYV7",
        "data": [
          1,
          2,
          3
        ]
      }
    ]
  }
}

Last updated