function_selector
Compute the 4-byte selector for any Ethereum function signature to identify the correct function encoding for contract interactions.
Instructions
Compute the 4-byte selector for a function signature, 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": {
"signature": "<signature>"
},
"name": "function_selector"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| signature | Yes |