get_event_topic
Compute the topic0 hash for a Solidity event signature. Obtain the keccak256 topic identifier needed for filtering logs and decoding events.
Instructions
Compute the topic0 hash for a Solidity event signature
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"signature": "<signature>"
},
"name": "get_event_topic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| signature | Yes | The event signature (e.g., 'Transfer(address,address,uint256)') |