-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
When sending multiple transactions in sendTransaction()
const txHashMultiple = await smartAccountClient.sendTransaction({ calls: [ { to: "0x3c44cdddb6a900fa2b585dd299e03d12fa4293bc", value: 0n, data: "0x1234", }, { abi: [{"inputs":[],"name":"getLastGreeter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"greet","outputs":[],"stateMutability":"nonpayable","type":"function"}], functionName: "greet", args: [], to: "0x6D7A849791a8E869892f11E01c2A5f3b25a497B6" } ], })
Error is returned:
UserOperationExecutionError: The contract function "greet" returned no data ("0x").
This could be due to any of the following:
- The contract does not have the function "greet",
- The parameters passed to the contract function may be invalid, or
- The address is not a contract.
Metadata
Metadata
Assignees
Labels
No labels