> ## Documentation Index
> Fetch the complete documentation index at: https://voltaire.tevm.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# EventLog.getSignature

> Alias for getTopic0 - get event signature hash

<Card title="Try it Live" icon="play" href="https://playground.tevm.sh?example=primitives/event-log.ts">
  Run EventLog examples in the interactive playground
</Card>

<Tabs />

## Usage Notes

`getSignature()` is functionally identical to `getTopic0()`. Use whichever name is clearer in context:

```typescript theme={null}
// Both equivalent
const sig1 = log.getTopic0();
const sig2 = log.getSignature();
```

The name "signature" emphasizes that topic0 typically contains the event signature hash for non-anonymous events.

## See Also

* [getTopic0](/primitives/eventlog/gettopic0) - Primary method
* [Fundamentals](/primitives/eventlog/fundamentals) - Event signature hashing
