IRONQ

JobResult

Stores a worker's submitted result for a job

The JobResult account is created when a worker submits their result.

Seeds: ["result", job] — one result per job.

Fields

FieldTypeDescription
jobPubkeyParent job
workerPubkeyWho submitted the result
result_hash[u8; 32]Hash of the off-chain result data
submitted_ati64Unix timestamp

Notes

  • Like data_hash on the Job account, result_hash follows the off-chain data pattern. The actual result is stored externally (IPFS, Arweave, etc.) and only the hash is committed on-chain.
  • The JobResult account is separate from the Job account to keep Job fixed-size.
  • When close_job is called on a terminal job, the JobResult account's rent is returned to the worker who submitted it.

On this page