event_topic
Compute the topic0 hash from an event signature, enabling event filtering and log decoding in smart contract analysis.
Instructions
Compute the topic0 hash for an event signature, e.g. 'Transfer(address,address,uint256)'.
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": "event_topic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| signature | Yes |