Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions src.ts/providers/provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -862,14 +862,18 @@ export class Log implements LogParams {
readonly topics!: ReadonlyArray<string>;

/**
* The index within the block this log occurred at. This is generally
* not useful to developers, but can be used with the various roots
* to proof inclusion within a block.
* The index of this log within the block it was emitted in (i.e. the
* ``logIndex`` in the JSON-RPC receipt). This is generally not useful
* to developers, but can be used with the various roots to proof
* inclusion within a block.
*/
readonly index!: number;

/**
* The index within the transaction of this log.
* The index of the transaction that emitted this log within its block
* (i.e. the ``transactionIndex`` in the JSON-RPC receipt). This is
* **not** the log's position within the transaction — use
* [[Log-index]] for that.
*/
readonly transactionIndex!: number;

Expand Down