Snark Workers
There is a dedicated collection for snark workers to easily extract the data only for purchased SNARKs. This is the same data that is embedded in the blocks collection and you may access the top level block data.
Get the last 10 snark work for a public key
{ snarks( limit: 10 query: {prover: "B62..."} sortBy: DATETIME_DESC ) { fee dateTime block { stateHash protocolState { consensusState{ blockHeight } } } canonical }}Determine the most expensive snark work for a period
{ snarks( limit: 10 sortBy: FEE_DESC query: { AND: [ { dateTime_gte: "2021-01-26T00:00:00Z" } { dateTime_lte: "2021-01-27T00:00:00Z" } ] } ) { prover fee }}Was this page helpful?