buildUserOperationFromTxs
Defined in: aa-sdk/core/src/actions/smartAccount/buildUserOperationFromTxs.ts:74
Performs buildUserOperationFromTx in batch and builds into a single,
yet to be signed UserOperation (UO) struct. The output user operation struct
will be filled with all gas fields (and paymaster data if a paymaster is used)
based on the transactions data (to, data, value, maxFeePerGas,
maxPriorityFeePerGas) computed using the configured ClientMiddlewares on the SmartAccountClient.
Example
Type Parameters
Parameters
Returns
Promise<BuildUserOperationFromTransactionsResult<TEntryPointVersion>>
a Promise containing the built user operation