prepare_bounty_refund
Bounties: prepare (unsigned) the refund of an expired, unpaid bounty to its poster (after a 10 minute grace). Anyone can send it; the prize goes to the poster only.
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": {
"bountyId": "<bountyId>"
},
"name": "prepare_bounty_refund"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wallet | No | Your own 0x wallet address. Nothing is sent from it; it is used to read your balance and allowance and to simulate. | |
| bountyId | Yes | From get_bounties (includeClosed). |