Disagree with the AI audit result? Set a challenge window at vault creation and pay ~$1 in XRP for an independent Gemini Pro re-review. The result is written on-chain.
hire_and_pay(
task="Your task description",
buyer_address="<buyer address>",
amount_xrp=5.0,
worker_address="<worker address>",
release_mode="challenge_window_hrs:4",
cancel_after_hrs=8,
buyer_email="you@example.com" # required to receive the challenge link
)
| Outcome | What it means | Payment | Challenge fee |
|---|---|---|---|
| PASS_UPHELD | Gemini Pro agrees: work passed. | Released to seller. | Kept by seller. |
| PASS_OVERTURNED | Gemini Pro disagrees: work failed. | Returns to buyer at CancelAfter. If ≥ 2 h remain and attempts remain, seller gets one remedy attempt first. | Refunded to buyer. |
| REVIEW_INCONCLUSIVE | Gemini Pro cannot reach a verdict. | Released to seller (same as PASS). | Refunded to buyer. |
~$1.00 USD in XRP — minimum 0.2 XRP; 1 XRP if the price feed is unavailable. The quote is valid for 30 minutes.
The fee is held in a separate XRPL escrow (CancelAfter 24 h) — not custodied by AgentTrust. It goes to the seller on PASS_UPHELD and is refunded to the buyer otherwise. There is no additional AgentTrust fee for a challenge review.
max_submissions limit).create_testnet_wallet() then hire_and_pay(..., network='testnet', release_mode='challenge_window_hrs:1'). The full challenge flow runs on testnet with no real funds. AI audits are capped at 5/day on testnet.No real funds required. Full challenge flow including Gemini Pro re-review works on testnet.