What Happens:
  1. AI Plan: After you send a request (e.g., “Swap 1 ETH for USDC on Base”), the Otto AI DeFi agent analyzes it and plans the necessary steps using its integrated tools like Li.Fi.
  2. Confirmation UI Appears: The AI’s response will include a summary of the plan and a dedicated confirmation section will appear below the message.
  3. Review Details: This section typically shows:
    • A clear title like “Confirm Transaction”.
    • An explanation of the action being performed (e.g., “Planning a same-chain swap from ETH to USDC…”). This explanation might be refined once a quote is fetched.
    • The DEX or Bridge protocol likely to be used (e.g., Uniswap, Hop), often identified by its logo.
    • (Potentially) Estimated receive amounts or other relevant quote details (these might load shortly after the confirmation box appears as Li.Fi fetches the quote).
  4. Confirm or Cancel Buttons:
    • Confirm Button: Clicking this indicates your approval to proceed with the planned action. Otto will then attempt to initiate the transaction(s) using a DeFi hook. You will likely need further approval in your connected wallet. The button might show a loading state while processing.
    • Cancel Button: Clicking this rejects the planned action. Otto will stop the process, and no transaction will be initiated.
Why is this important?
  • User Control: Ensures you have the final say before any transaction is sent to your wallet for approval.
  • Transparency: Provides a clear summary of what Otto intends to do based on your request.
  • Safety: Prevents accidental transactions based on misinterpreted requests.
Always carefully review the details in the confirmation step before clicking “Confirm”.