transactions_create_earn-withdraw
Create a proposal for a human signer to withdraw an asset from an Earn vault back to a smart account, using human-readable units; returns previewed vault shares and a sign URL.
Instructions
Create a proposal, for a human signer to approve, that withdraws an asset from an Earn vault back to the smart account. Specify amount in human-readable asset units (e.g. '100' for 100 USDC), not vault shares. Returns the proposal with the previewed vault shares and a signUrl.
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": {
"account": "<account>",
"chainId": "<chainId>",
"asset": "<asset>",
"amount": "<amount>"
},
"name": "transactions_create_earn-withdraw"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memo | No | Optional memo for the transaction (max 500 chars) | |
| asset | Yes | The underlying asset of the vault (e.g. the USDC address) | |
| vault | No | The Earn vault to withdraw from. Defaults to the vault that accepts deposits for this asset on this chain. Pass it to withdraw from a legacy vault, which accepts withdrawals only | |
| amount | Yes | The amount in human-readable asset units (e.g., '100' for 100 USDC) | |
| account | Yes | The smart account address to create the proposal from (0x-prefixed, 40 hex chars) | |
| chainId | Yes | The chain ID where the smart account is deployed and the vault lives (e.g., 1 for Ethereum, 8453 for Base) | |
| property | No | String key/value overlays for properties; repeatable. Splits on the first '='. Example: --property invoice=INV-42 | |
| workspace | No | Workspace alias to run this command in (see `splits auth workspaces`). Overrides SPLITS_WORKSPACE and the active workspace. | |
| properties | No | Optional custom JSON metadata. Total minified ≤ 500 chars. Used as the base; any --property overlays are applied on top. To load from a file, use shell substitution: --properties "$(cat props.json)" | |
| pauseAutoEarnSeconds | No | Pause auto-earn on this account and chain for 300, 3600, or 86400 seconds once the withdrawal executes, so the asset is not swept back into the vault. Defaults to 300 when auto-earn is on for the account and chain, and is ignored when it is off |