type SendUserOperationOptions = {
evmSmartAccount: EvmAddress;
network: SendEvmTransactionWithEndUserAccountBodyNetwork;
calls: EvmCall[];
useCdpPaymaster?: boolean;
paymasterUrl?: string;
paymasterContext?: Record<string, string>;
dataSuffix?: string;
idempotencyKey?: string;
};
Properties
| Property | Type | Description |
|---|---|---|
evmSmartAccount | EvmAddress | The EVM Smart Account to send the user operation with. |
network | SendEvmTransactionWithEndUserAccountBodyNetwork | The network to send the user operation on. |
calls | EvmCall[] | The calls to make from the user operation. |
useCdpPaymaster? | boolean | Whether to use the CDP Paymaster for the user operation. |
paymasterUrl? | string | The URL of the paymaster to use for the user operation. Get your free Base paymaster URL from the CDP Portal. |
paymasterContext? | Record<string, string> | An arbitrary key-value map forwarded to the paymaster as EIP-7677 context. For custom paymasters configured in Portal, store context in project settings instead. See Custom paymaster via CDP Portal. |
dataSuffix? | string | Optional hex-encoded data suffix to append to the user operation callData for attribution (ERC-8021). The suffix will be appended to the callData of the user operation. |
idempotencyKey? | string | Optional idempotency key for safe retries. |