Snarks

getSnarkJobsByBlockStateHash

Get a list of all snark jobs in the queried block. On Mina, snark jobs, or simply snarks, are zk proofs that all states of a transaction are valid. Each snark job contains 2 snark words.

get/v1/snarks/{stateHash}/jobs

Path parameters

stateHashstring required

Queried stateHash hash.

Queried block hash.

Query parameters

pageinteger required

Queried API page.

sizeinteger required

Number of queried entries.

orderBy'ASC' | 'DESC' required

Sorting method: from the lowest element to the highest (ASC) or from the highest element to the lowest (DESC).

sortBy'TIMESTAMP' | 'FEE' | 'ADDRESS' required

Select sorting parameter.

Select sorting parameter.

Response

OK

totalElementsinteger
totalPagesinteger
sizeinteger
numberinteger
firstboolean
lastboolean
numberOfElementsinteger
emptyboolean

Changes

No recorded changes to this endpoint across all 1 revision of this API.