Choose the execution mode that matches your wallet infrastructure.

Standard EOA Mode

Use this mode for standard Ethereum external wallet accounts from wallets like MetaMask, Rabby, or Trust Wallet or when using WalletConnect.Key requirements:
  • Requires fundingTokens parameter
  • One signature per funding token (1 token = 1 signature, 2 tokens = 2 signatures)
const quoteRequest = {
  mode: "eoa",
  ownerAddress: "0x742d35Cc6634C0532925a3b844Bc454e4438f44e",
  fundingTokens: [
    {
      tokenAddress: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
      chainId: 1,
      amount: "1000000000"
    }
  ],
  instructions: [...],
  // other parameters
};

const response = await fetch('https://api.biconomy.io/v1/mee/quote', {
  method: 'POST',
  headers: {
    'X-API-Key': 'YOUR_API_KEY',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify(quoteRequest)
});