Skip to main content
The detail endpoint is the most complete view of a single ERC-8183 job. It reads the live on-chain state from the contract’s getJob view function and merges it with the persisted database record — including the deliverableHash, reasonHash, and full txHashes history. Use it to track a job through the lifecycle (OPEN → FUNDED → SUBMITTED → COMPLETE), confirm a funded budget, or audit a completed payout.

Endpoint

Request

Path Parameters

string
required
On-chain job ID to look up, e.g. 42.

Headers

This is a public read endpoint — no authentication header is required. If a valid x-api-key is supplied it is simply ignored.

Response

boolean
true when the job state was retrieved.
object
The job’s live on-chain state read from the ERC-8183 contract.
object | null
The persisted database record for the job, or null if the job exists on-chain but has no record for your account.

Examples

Success Response

Success Response (on-chain only)

Error Responses

Notes

The job block always reflects live on-chain state, so it is the authoritative view of a job’s current status, budget, and locked addresses. The database block supplements it with the off-chain record (hashes and transaction history) and is null when no record exists for that job on your account.
database.txHashes preserves the full history of lifecycle transactions — a funded job will show the approve and fund transactions, a completed job adds the submit and complete transactions. Correlate each hash with the step in the lifecycle: create → approve/fund → submit → complete.
status: EXPIRED means the job’s expiredAt deadline has passed. The contract rejects any further lifecycle step, so no fund, submit, or complete call will succeed for that job.