Skip to main content
Sends USDC on EVM or Solana networks with automatic address type detection. Automatically determines if the sender is an EOA, Smart Account, or Solana account and routes to the appropriate sending function. If from is not provided, automatically selects the address only when there is exactly one account to avoid ambiguity. If multiple accounts exist, explicit selection is required.

Parameters

Returns

Promise<SendUsdcResult> A discriminated union result indicating the account type and transaction identifier.

Example

Throws

If addresses are invalid, mismatched types, user doesn’t own the sender account, or no accounts available.