CDP SDK TypeScript - v1.31.0
    Preparing search index...

    Interface UserOperation

    A user operation.

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

    Properties

    network: EvmUserOperationNetwork

    The network the user operation is for.

    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.

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

    The list of calls in the user operation.

    status: EvmUserOperationStatus

    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.

    receipts?: UserOperationReceipt[]

    The receipts associated with the broadcasted user operation.