Prepare a deposit
prepare_depositDeposits are closed while Obento is paused, so this returns an error. Builds the two calls that deposit USDC into Obento for an address: approve the gateway, then deposit with a 0.5% minimum out and partner ID 2. The address signs and sends them in order on Base. Sends nothing itself.
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": {
"address": "<address>",
"amount": "<amount>"
},
"name": "prepare_deposit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | USDC to deposit, in dollars, such as "100" or "25.50" | |
| address | Yes | The address that holds the USDC and receives the obUSD |