Prepare: claim a payment a trade account keeps
bailout_claimUnsigned transactions taking what a version 2 trade account keeps for the wallet: a bailout payment the wallet could not take when it was made (USDG had the wallet frozen, or the token refused the transfer), kept in the token it was paid in: USDG, bUSDG shares, a short's held money as BorroShort's vault shares, or a stock vault's shares from a long's in-kind settlement. One claim for each token the account keeps something of (token: one of them), to the wallet or to to. Refused in words when the account keeps nothing for it; while USDG has the wallet frozen the claim waits too (PayeeFrozen). Simulated from the wallet.
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": {
"wallet": "<wallet>",
"account": "<account>"
},
"name": "bailout_claim"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Where it goes (default the wallet; neither the wallet nor to may be frozen by USDG) | |
| token | No | USDG, bUSDG, held (BorroShort's vault shares), a stock's symbol (its vault's shares) or a token's address (default: every token kept for the wallet) | |
| wallet | Yes | The wallet's address (0x...); the transactions are built for it to sign | |
| account | Yes | The version 2 trade account's address |