The smart wallet's address
Array of signers that own the wallet (currently only supports one owner)
Sends a user operation to the network
The result of the user operation
import { sendUserOperation } from "@coinbase/coinbase-sdk";
import { parseEther } from "viem";
const result = await sendUserOperation(wallet, {
calls: [
{
to: "0x1234567890123456789012345678901234567890",
abi: erc20Abi,
functionName: "transfer",
args: [to, amount],
},
{
to: "0x1234567890123456789012345678901234567890",
data: "0x",
value: parseEther("0.0000005"),
},
],
chainId: 1,
paymasterUrl: "https://api.developer.coinbase.com/rpc/v1/base/someapikey",
});
Identifier for the wallet type
Configures the wallet for a specific network
Represents a SmartWallet with user operation capabilities