Application Binary Interface
Indexed
An Indexed is used as a value when a value that does not fit within a topic (i.e. not a fixed-length, 32-byte
type). It is the keccak256
of the value, and used for types such as arrays, tuples, bytes and strings.
Properties
Property | Modifier | Type | Description |
---|---|---|---|
hash | readonly | null | string | The keccak256 of the value logged. |
Methods
isIndexed()
Check if a value is an Indexed This provides a Type Guard for property access.
Parameters
Parameter | Type | Description |
---|---|---|
value | any | The value to check. |
Returns
value is Indexed
true
if the value is an Indexed.
Source
Was this page helpful?