Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.cloud.coinbase.com/llms.txt

Use this file to discover all available pages before exploring further.

function sendEvmSmartAccountUsdc(options: SendEvmSmartAccountUsdcOptions): Promise<SendEvmSmartAccountUsdcResult>;
Sends USDC on an EVM network from a Smart Account.

Parameters

ParameterTypeDescription
optionsSendEvmSmartAccountUsdcOptionsThe options for sending USDC.

Returns

Promise<SendEvmSmartAccountUsdcResult> The result of sending USDC.

Example

const user = await getCurrentUser();
const evmSmartAccount = user?.evmSmartAccountObjects[0]?.address;

const result = await sendEvmSmartAccountUsdc({
  evmSmartAccount,
  to: "0x1234567890123456789012345678901234567890",
  amount: "10.00",
  network: "base-sepolia",
  useCdpPaymaster: true, // Optional: sponsor gas fees
});

console.log("User Operation Hash:", result.userOpHash);