log index
- CURIE:
gmeow:logIndex - IRI: https://blackcatinformatics.ca/gmeow/logIndex
- Category: property
- Defined by:
gmeow:slices/attestation - Box roles: CBox role, RBox role (What is this?)
The index of a ledger event within its containing block or transaction.
Structure
Property shape: datatype property; gmeow:LedgerEvent -> xsd:integer; functional
Practical Pattern
Use gmeow:logIndex from gmeow:LedgerEvent to xsd:integer when the relationship itself belongs in the native GMEOW graph.
Common Companion Terms
Usage Advice
Use when
- Use to carry the position of a
gmeow:LedgerEventwithin its containing block or transaction — the offset that disambiguates one emitted log from another in the same record.
Avoid when
- Avoid for a transparency-log entry's position in its log (that is
gmeow:logEntryIndex) or a block's chain height (gmeow:blockNumber); this is the in-block event offset. Functional — one index per event.
How to use
- Set one integer offset on the
gmeow:LedgerEvent; combine it with the containing transaction hash and block to address the event uniquely on the chain.
Examples
- ex:transferEvent
gmeow:logIndex3.