A user operation.

interface UserOperation {
    calls: readonly {
        data: `0x${string}`;
        to: `0x${string}`;
        value: bigint;
    }[];
    network: EvmUserOperationNetwork;
    status: EvmUserOperationStatus;
    transactionHash?: `0x${string}`;
    userOpHash: `0x${string}`;
}

Properties

calls: readonly { data: `0x${string}`; to: `0x${string}`; value: bigint }[]

The list of calls in the user operation.

The network the user operation is for.

The status of the user operation.

transactionHash?: `0x${string}`

The hash of the transaction that included this particular user operation. This gets set after the user operation is broadcasted and the transaction is included in a block.

userOpHash: `0x${string}`

The hash of the user operation. This is not the transaction hash, as a transaction consists of multiple user operations. The user operation hash is the hash of this particular user operation which gets signed by the owner of the Smart Account.