← EVM
🎯 Selectors & Topics
Get the 4-byte selector of a function or the topic hash of an event from its signature.
Functions
Events
Example: ERC-20
function transfer(address to, uint256 amount) external returns (bool); approve(address spender, uint amount)
Example: ERC-20
event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value)