RPC Snapshot API Questions


Does anyone understand what is being displayed here:

$ ./tezos-client rpc get /chains/main/blocks/head/context/raw/json/rolls/owner/snapshot/4/0/513

/owner/snapshot/ returns an array of snapshots that can be polled. The current snapshot on alphanet is 4.

/owner/snapshot/4/ returns an array with just 1 number, 0. Don’t know what that 0 represents.

/owner/snapshot/4/0/ returns a large array with many numbers. I think this represents roll numbers but don’t know “why” it does.

/owner/snapshot/4/0/513 picked a random roll and it returns the result noted above.


That roll number returned what looks like a public key. But what does that get me? What does that public key represent?


not sure either

Proper return value for crypto_sign_open: 0 on success and -1 on failure

this is the tezos snapshot source code, but no documentation