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

PropertyModifierTypeDescription
hashreadonlynull | stringThe keccak256 of the value logged.

Methods

isIndexed()

static isIndexed(value): value is Indexed

Check if a value is an Indexed This provides a Type Guard for property access.

Parameters

ParameterTypeDescription
valueanyThe value to check.

Returns

value is Indexed

true if the value is an Indexed.

Source

abi/interface.ts:221