transactions_create_earn-deposit
Creates a human-approval proposal to deposit an asset from a smart account into its Earn vault, returning previewed vault shares and a sign URL.
Instructions
Create a proposal, for a human signer to approve, that deposits an asset from a smart account into its Earn vault. Specify amount in human-readable asset units (e.g. '100' for 100 USDC). 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-deposit"
}
}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) | |
| 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)" |