Skip to main content
Version: 1.12.0

Function: withSinceStart()

withSinceStart<T>(opts: T): T

Defined in: chain.ts:355

Merges a partial LogFilter.since hint into the requested start bounds: each floor is the LARGER of the explicitly requested bound and the hint's (since.blockNumber stands in for or raises startBlock, since.blockTimestamp for startTime), so a since carrying either satisfies the start requirement on its own. Non-finite or absent hint fields contribute nothing. Chain-specific cursor uses of since (TON's composite-hash lt, Solana's until, Aptos's event sequence number, EVM's per-block index exclusion) read opts.since directly and only ever raise these floors further.

Type Parameters

Type Parameter
T extends { since?: { blockNumber?: number | bigint; blockTimestamp?: number | bigint; }; startBlock?: number | bigint; startTime?: number | bigint; }

Parameters

ParameterType
optsT

Returns

T