sendUserOperation
is how you send operations for the SmartWallet. It supports batch transactions and paymaster for sponsoring.For more on Paymaster, see the Paymaster docs.You can either provide an ABI and the function to call, or the encoded function data. The next example demonstrates a batch transaction that
sends ETH to a destination address and calls a function on a contract.sendUserOperation
function to sponsor the gas for the operation.
Check out the Paymaster docs for more information and getting started with your own Paymaster.