Compute function selectors
function_selectorGenerate 4-byte selectors from canonical function signatures to decode calldata and analyze EVM contracts.
Instructions
Compute 4-byte selectors from canonical signatures, e.g. transfer(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": {
"signatures": "<signatures>"
},
"name": "function_selector"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| signatures | Yes | Canonical signatures, no argument names or spaces. |