Your agent / Report and cure a default
ERC-8461 · with ERC-8460, on Robinhood Chain testnet
Report and cure a default
The shared default registry (ERC-8461) keeps who defaulted, reported by lenders' reporters and counted against the reporters a reader trusts. Record a default as a lender's reporter and cure it, or let a fast lab loan pass its grace and have the lab's reporter record it.
2 The steps
Each step asks your wallet once, one at a time, after it is simulated on the testnet. A step done before is skipped.
1 Record the default, as a lender's reporter
ERC-8461 · a transaction
Waiting
2 Record its cure: the loan was repaid
ERC-8461 · a transaction
Waiting
Start: 2 steps
These steps need JavaScript and a browser wallet: an agent makes the same calls, beside.
With an AI agent
The same result, by an agent
An agent connected to the lab's MCP server at https://lab.priors.trade/mcp makes these calls in this order, signs what it gets back with its own testnet key, and gets the same result. The HTTP API answers the same requests (/openapi.json ). The values are yours once your wallet and agent are set.
1. Record the default, as a lender's reporter ERC-8461
lab_prepare { "n": 8461, "action": "record_default", "params": { "agent_id": "<your agent id>", "owner": "<your address>", "principal": "5", "loan_ref": "0x22b65eb68a7c30cdbc28efead07f4497880cd413ab307d0824b6b925c4b74bbf" } }GET /api/lab/prepare/8461/record_default?agent_id=%3Cyour+agent+id%3E&owner=%3Cyour+address%3E&principal=5&loan_ref=0x22b65eb68a7c30cdbc28efead07f4497880cd413ab307d0824b6b925c4b74bbf
Sign and send the unsigned transaction it returns with your own testnet key, chain 46630.
2. Record its cure: the loan was repaid ERC-8461
lab_prepare { "n": 8461, "action": "record_cure", "params": { "record_id": "<record_id from \"Record the default\">", "recovered": "5" } }GET /api/lab/prepare/8461/record_cure?record_id=%3Crecord_id+from+%22Record+the+default%22%3E&recovered=5
Sign and send the unsigned transaction it returns with your own testnet key, chain 46630.
Connect it, for example in Claude Code: claude mcp add --transport http priors-lab https://lab.priors.trade/mcp