Skip to main content
POST
/
v1
/
stateproofs:generate
Generate an account state proof snapshot.
curl --request POST \
  --url https://rest.alphanet.thruput.org/v1/stateproofs:generate \
  --header 'Content-Type: application/json' \
  --data '{
  "request": {
    "address": {
      "value": "aSDinaTvuI8gbWludGxpZnk="
    },
    "proofType": "STATE_PROOF_TYPE_UNSPECIFIED",
    "targetSlot": "<string>"
  }
}'
{
  "proof": {
    "proof": "aSDinaTvuI8gbWludGxpZnk=",
    "slot": "<string>"
  }
}

Body

application/json

GenerateStateProofRequest requests an account state proof.

request
object
required

StateProofRequest describes a request to generate an account state proof.

Response

A successful response.

GenerateStateProofResponse contains the generated proof.

proof
object
required

StateProof returns binary proof data along with context.