Solidity Function Selector
Calculate the 4-byte function selector for any Solidity function signature using keccak256.
Function Selector Calculator
Compute the 4-byte function selector from a Solidity function signature. The selector is the first 4 bytes of the Keccak-256 hash of the canonical signature.
0xa9059cbb0xa9059cbb2ab09eb219583f4a59a5d0623ade346d962bcd4e46b11da047c9049bCommon Examples
The selector is used in the first 4 bytes of transaction calldata to identify which function to call.
