> ## Documentation Index
> Fetch the complete documentation index at: https://docs.onebalance.io/llms.txt
> Use this file to discover all available pages before exploring further.

# MCP Example Prompts

> Ready-to-use prompts for OneBalance's MCP, helping you quickly test, explore and ship AI-driven chain abstracted features.

## Overview

Once you've connected to OneBalance MCP, try these prompts to explore the platform's capabilities. These examples demonstrate everything from basic balance queries to complex cross-chain operations.

<Card title="MCP Server Setup" icon="server" href="/ai/mcp-server-setup">
  Need to connect MCP first? Use our hosted server at `https://docs.onebalance.io/mcp` - follow our complete setup guide
</Card>

## Simple Prompts

Perfect for getting started and understanding basic OneBalance functionality:

### Account & Balance Queries

<Prompt description="Check aggregated balance across all chains" actions={["copy", "cursor"]}>
  What is my aggregated balance across all chains for address 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045?
</Prompt>

<Prompt description="List all supported chains" actions={["copy", "cursor"]}>
  Show me all supported chains on OneBalance
</Prompt>

<Prompt description="View available aggregated assets" actions={["copy", "cursor"]}>
  What aggregated assets are available on OneBalance?
</Prompt>

<Prompt description="Predict a smart account address" actions={["copy", "cursor"]}>
  Predict a smart account address for session signer 0x1cBFbFd62a276BF6D79d504eA4CA75a7baDcf5b1 and admin signer 0xc162a3cE45ad151eeCd0a5532D6E489D034aB3B8
</Prompt>

### Transaction Status & History

<Prompt description="Check the status of a quote" actions={["copy", "cursor"]}>
  Check the status of quote ID "0xfa6094cd9d65416c975e3498cc5c2ca17df6c4cfa37e16f84f2736296dd98b5d"
</Prompt>

<Prompt description="View transaction history for an address" actions={["copy", "cursor"]}>
  Show me the transaction history for address 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045
</Prompt>

<Prompt description="Get the latest transaction" actions={["copy", "cursor"]}>
  What's the latest transaction for my account?
</Prompt>

### Quote Generation

<Prompt description="Get a token swap quote" actions={["copy", "cursor"]}>
  Get a quote to swap 10 USDC to ETH using my aggregated balance
</Prompt>

<Prompt description="Estimate transfer cost" actions={["copy", "cursor"]}>
  How much would it cost to transfer 50 USDT to address 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045?
</Prompt>

<Prompt description="Get an asset swap quote" actions={["copy", "cursor"]}>
  Show me a quote for swapping \$500 worth of aggregated assets to WBTC
</Prompt>

## Advanced Integration Prompts

These prompts showcase OneBalance's powerful cross-chain capabilities:

### Multi-Chain Operations

<Prompt description="Create a dashboard with balances, transactions, and quotes" actions={["copy", "cursor"]}>
  Create a dashboard showing my aggregated balances, recent transactions, and pending quotes. Display this in an interactive table with real-time data.
</Prompt>

<Prompt description="Compare quotes for swapping across assets" actions={["copy", "cursor"]}>
  Generate a quote comparison table for swapping 1000 USDC to ETH vs WBTC vs SOL, showing the best rates and execution costs across different chains.
</Prompt>

<Prompt description="Analyze transaction history by chain and type" actions={["copy", "cursor"]}>
  Show me my transaction history over the last 30 days, organized by chain and transaction type. Include a summary of total volume and fees paid.
</Prompt>

### Contract Interactions

<Prompt description="Prepare a staking contract call quote" actions={["copy", "cursor"]}>
  Prepare a contract call quote to stake 100 ETH on Ethereum Mainnet using my aggregated balance, and show me the gas estimates.
</Prompt>

<Prompt description="Interact with a DeFi protocol" actions={["copy", "cursor"]}>
  Get a quote for interacting with a DeFi protocol: deposit 500 USDC into AAVE on Base using my cross-chain balance.
</Prompt>

<Prompt description="Create a batch transaction with multiple operations" actions={["copy", "cursor"]}>
  Create a batch transaction to:

  * Swap 200 USDC to ETH
  * Transfer 50 USDT to address 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045
  * Execute a contract call on Arbitrum
    Show me the combined quote and execution plan.
</Prompt>

### Portfolio Analysis

<Prompt description="Analyze aggregated portfolio across chains" actions={["copy", "cursor"]}>
  Analyze my aggregated portfolio:

  * Total balance in USD
  * Asset allocation breakdown
  * Chain distribution
  * Recent performance over 7 days
    Display this as an interactive portfolio dashboard.
</Prompt>

## Developer Integration Prompts

For building applications with OneBalance:

### SDK Generation

<Prompt description="Generate a TypeScript SDK wrapper" actions={["copy", "cursor"]}>
  Generate a TypeScript SDK wrapper for OneBalance API that includes type definitions, error handling, and example usage for all endpoints.
</Prompt>

<Prompt description="Create a React hooks library" actions={["copy", "cursor"]}>
  Create a React hook library for OneBalance that provides easy-to-use hooks for balance queries, transaction history, and quote generation.
</Prompt>

### Testing & Monitoring

<Prompt description="Build a test suite for OneBalance integration" actions={["copy", "cursor"]}>
  Build a test suite for OneBalance integration that covers all API endpoints, error scenarios, and edge cases.
</Prompt>

<Prompt description="Create an API monitoring dashboard" actions={["copy", "cursor"]}>
  Create a monitoring dashboard that tracks OneBalance API performance, success rates, and quota usage with alerts for anomalies.
</Prompt>

## Tips for Better Results

* **Be Specific**: Include actual addresses, amounts, and asset types for more accurate responses.
* **Ask for Explanations**: Add "explain the process" to understand OneBalance's cross-chain mechanics.
* **Request Multiple Formats**: Ask for data in tables, charts, or interactive formats for better visualization.
* **Use Production API key**: These prompts work best when you have OneBalance MCP properly configured with your API key. Works with our hosted server (`https://docs.onebalance.io/mcp`). Some advanced features may require production API access.

## Need Help?

<CardGroup cols={2}>
  <Card title="MCP Setup" icon="server" href="/ai/mcp-server-setup">
    Troubleshoot MCP server configuration
  </Card>

  <Card title="API Documentation" icon="book" href="/api-reference/introduction">
    Complete API reference and examples
  </Card>
</CardGroup>

<Card title="Developer Support" icon="heart-handshake">
  Use the Intercom chat widget or email [support@onebalance.io](mailto:support@onebalance.io) for custom use cases
</Card>
