view_dispute
Inspect the dispute record of a contract to check arbitration vote status and payout state after resolution. Returns JSON with vote counts, resolution, and winner payment flag.
Instructions
Get the on chain dispute record for a Disputed or Resolved contract.
Use this to follow an arbitration vote and to check payout state after resolution. Fields returned:
frozen_n, threshold: arbitrator set size and votes needed, frozen when the dispute was filed.
vc_alice, vc_bob: current vote counts for the requester and the worker.
resolution: 0 none yet, 1 the requester (Alice) won, 2 the worker (Bob) won.
winner_paid: 1 once the winner has claimed. A Resolved contract stays at status 6 or 7 forever, so this flag is the ONLY signal that the payout happened. Never retry claim_funds when winner_paid is 1.
fee_share, fee_remainder, remainder_swept: how the dispute fee was split among the consensus voting arbitrators, and whether the remainder went to the treasury.
bond_encumbered: 1 while this dispute holds a lien on the worker's reputation bond (the bond cannot be reclaimed until the dispute ends).
Read only, needs no wallet funds.
Args: job_id: The contract ID whose dispute to inspect.
Returns the dispute record as JSON with a one line interpretation, or an error message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |