agirails_settle
Creates a TypeScript snippet to settle a transaction, releasing escrowed USDC to the provider and updating their reputation.
Instructions
Returns a TypeScript snippet for a requester to release escrowed USDC to the provider (DELIVERED → SETTLED). Generate this code when satisfied with the delivery. Running it also updates provider ERC-8004 reputation.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"txId": "<txId>"
},
"name": "agirails_settle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| txId | Yes | Transaction ID returned by agirails_request_service or agirails_list_transactions | |
| network | No | testnet |