T402 API Reference - v2.8.0
    Preparing search index...

    Interface UserOperation

    UserOperation for off-chain representation This is the format used before packing for on-chain submission

    interface UserOperation {
        sender: `0x${string}`;
        nonce: bigint;
        initCode: `0x${string}`;
        callData: `0x${string}`;
        verificationGasLimit: bigint;
        callGasLimit: bigint;
        preVerificationGas: bigint;
        maxPriorityFeePerGas: bigint;
        maxFeePerGas: bigint;
        paymasterAndData: `0x${string}`;
        signature: `0x${string}`;
    }
    Index

    Properties

    sender: `0x${string}`

    Smart account address

    nonce: bigint

    Anti-replay nonce

    initCode: `0x${string}`

    Factory address + init data (for account deployment) or empty

    callData: `0x${string}`

    Encoded call data for the account's execute function

    verificationGasLimit: bigint

    Gas limit for account validation

    callGasLimit: bigint

    Gas limit for call execution

    preVerificationGas: bigint

    Gas to pay bundler for overhead

    maxPriorityFeePerGas: bigint

    Max priority fee per gas (tip)

    maxFeePerGas: bigint

    Max fee per gas

    paymasterAndData: `0x${string}`

    Paymaster address + data, or empty for self-pay

    signature: `0x${string}`

    Signature over the UserOperation hash