Encode event topics

An event topic is a 32 bytes representation of an event parameter. Encode a topic to use it to retrieve logs when querying your Chainstack node.

Learn how to retrieve event logs using the eth_getLogs ↗ method on the Chainstack developer portal.
Topic to encode
Bytes32 encoded topic