Prepare: Deposit into Earn
gage_prepare_earn_depositPrepare a deposit into a partner vault (lending), in the asset the vault takes: USDG, or its lend asset. Returns the next unsigned transaction and a review link; never signs.
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>",
"vault": "<vault>",
"amount": "<amount>"
},
"name": "gage_prepare_earn_deposit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vault | Yes | ||
| amount | Yes | To deposit, raw units of the vault's asset (USDG: 6 decimals) | |
| wallet | Yes | ||
| maxSlippageBps | No | Most the conversion may move against you, in bps; 50 when omitted |