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 sendEvmEoaUsdc(options: SendEvmEoaUsdcOptions): Promise<SendEvmEoaUsdcResult>;
Sends USDC on an EVM network from an EOA (Externally Owned Account).
Parameters
| Parameter | Type | Description |
|---|
options | SendEvmEoaUsdcOptions | The options for sending USDC. |
Returns
Promise<SendEvmEoaUsdcResult>
The result of sending USDC.
Example
const user = await getCurrentUser();
const evmAccount = user?.evmAccountObjects[0]?.address;
const result = await sendEvmEoaUsdc({
evmAccount,
to: "0x1234567890123456789012345678901234567890",
amount: "25.50",
network: "base-sepolia",
});
console.log("Transaction Hash:", result.transactionHash);