Array of contract calls to execute in the user operation. Each call can either be:
to
, value
, and data
to
, abi
, functionName
, and args
const calls = [
{
to: "0x1234567890123456789012345678901234567890",
value: parseEther("0.0000005"),
data: "0x",
},
{
to: "0x1234567890123456789012345678901234567890",
abi: erc20Abi,
functionName: "transfer",
args: [to, amount],
},
]
Chain ID of the network to execute on
Optional
paymasterOptional URL of the paymaster service to use for gas sponsorship. Must be ERC-7677 compliant.
Options for sending a user operation