Prepare: take back what is lent
withdrawUnsigned transaction to take back lent stock or USDG (part, or all with all: true). Stock on loan to shorters comes back once it is returned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Take back everything | |
| asset | Yes | USDG, or a stock symbol | |
| amount | No | Amount to take back, in whole units as a decimal string, like "1.5" | |
| wallet | Yes | The wallet's address (0x...); the transactions are built for it to sign |