• Type guard to check if a value is an ExecutionResultV6.

    Parameters

    • data: unknown

      The value to check

    Returns data is {
        paid: bigint;
        preOpGas: bigint;
        targetResult: `0x${string}`;
        targetSuccess: boolean;
        validAfter: number;
        validUntil: number;
    }

    True if the value matches the ExecutionResultV6 structure

    if (isExecutionResultV6(result)) {
    console.log(result.validUntil);
    }