Prepare a deposit
prepare_depositRead-only
Deposits 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.
Input Schema
TableJSON 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 |