HushBadger
All toolsRuns on your device · nothing sent

Function code lookup

Every contract call starts with a 4-byte function code (selector), like 0xa9059cbb. Paste one to see which function it is, or paste a function signature to get its code. Uses a built-in list; nothing is sent.

Like 0x095ea7b3, or transfer(address,uint256).

Known function

Function code
0x095ea7b3
Known function
approve(address spender, uint256 amount)

This function gives someone permission over your tokens or a contract. Only confirm it on a site you trust.

Good to know

  1. Different functions can share the same code by accident, and scammers can copy a code on purpose.

  2. The name alone does not prove what a contract does.

  3. approve and setApprovalForAll give away permission. Check who gets it.