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

# core::starknet::syscalls::emit_event_syscall

Emits an event.

## Signature

```rust theme={null}
pub extern fn emit_event_syscall(keys: Span, data: Span) -> Result> implicits(GasBuiltin, System) nopanic;
```

#### Arguments

* `keys` - The keys of the event.
* `data` - The data of the event.
