Home
Tools
Ethereum Signature Database (4Bytes)

Ethereum Signature Database (4Bytes DB)

About Ethereum Signature Database

Function calls in the Ethereum Virtual Machine(EVM) are specified by the first four bytes of data sent with a transaction. These 4-byte signatures are defined as the first four bytes of the Keccak hash (SHA3) of the canonical representation of the function signature. The database also contains mappings for event signatures. Unlike function signatures, they are defined as 32-bytes of the Keccak hash (SHA3) of the canonical form of the event signature. Since this is a one-way operation, it is not possible to derive the human-readable representation of the function or event from the bytes signature. This database is meant to allow mapping those bytes signatures back to their human-readable versions.

There are 2,192,612 signatures in the database (and counting)

Last update: December 09th 2023

Search Signatures (Free)

You can decode 4byte signature Ethereum to human-readable: Function Name, ABI , Text Signature, Mutability, Constant, Payable...

Found signature of 0x70a08231

- Text Signature: balanceOf(address)

- Mutability: view

- Constant: false

- Payable: false

- Function: function balanceOf(address account) view returns(uint256)

- ABI:
{"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","type":"function","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view"}

Search FunctionName (Free)

You can search funcName to get list 4byte signatures Ethereum, then auto decode to human-readable: Function Name, 4Byte , Text Signature...

Found 2 signature of function sweepTokenWithFee

1. Found signature of sweepTokenWithFee

- Text Signature: sweepTokenWithFee(address,uint256,uint256,address)

- 4Byte: 0x3068c554

- Function: function sweepTokenWithFee(address token, uint256 amountMinimum, uint256 feeBips, address feeRecipient) payable returns()

- Note: found 21 contracts using this function

2. Found signature of sweepTokenWithFee

- Text Signature: sweepTokenWithFee(address,uint256,address,uint256,address)

- 4Byte: 0xe0e189a0

- Function: function sweepTokenWithFee(address token, uint256 amountMinimum, address recipient, uint256 feeBips, address feeRecipient) payable returns()

- Note: found 44 contracts using this function

Random signature 4Bytes Database

4Byte Text Signature Function Contracts
0x6b2bafc8 mintBadge(address,string) function mintBadge(address to, string badgeURI) returns() 3
0x906ade3b minSenderMintFee() function minSenderMintFee() view returns(bool) 1
0xceca01f0 _blockTimeStamp() function _blockTimeStamp() view returns(uint256) 1
0x7b939da0 burnedTokensTracker() function burnedTokensTracker() view returns(uint256 totalBurned, uint256 burnedLast24Hours) 1
0x89c5bfb8 TWAP_FEE() function TWAP_FEE() view returns(uint112) 1
0x9e8beb2b bindInvitor(address) function bindInvitor(address invitor) returns() 19
0xf919e3e7 updatePancakeV2Router(address,bool,address) function updatePancakeV2Router(address newAddress, bool _createPair, address _pair) returns() 51
0xfc98cac0 setRealGlpApr(uint256) function setRealGlpApr(uint256 newValue) returns() 1
0xe4d44e64 getLiquidityFeeForBuy() function getLiquidityFeeForBuy() view returns(uint256) 3
0x1fd1b0be queryMyTeamGradeByTeamInvest(address) function queryMyTeamGradeByTeamInvest(address user) view returns(uint256) 1

ERC-20 Token Standard 4Byte Signatures

4Byte Text Signature Function Contracts
0x06fdde03 name() function name() pure returns(string) 480506
0x313ce567 decimals() function decimals() view returns(uint8) 447469
0x95d89b41 symbol() function symbol() view returns(string) 480081
0x18160ddd totalSupply() function totalSupply() view returns(uint256) 476376
0x095ea7b3 approve(address,uint256) function approve(address spender, uint256 amount) returns(bool) 478757
0xa457c2d7 decreaseAllowance(address,uint256) function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool) 249917
0x39509351 increaseAllowance(address,uint256) function increaseAllowance(address spender, uint256 addedValue) returns(bool) 249924
0xa9059cbb transfer(address,uint256) function transfer(address recipient, uint256 amount) returns(bool) 446609
0x23b872dd transferFrom(address,address,uint256) function transferFrom(address sender, address recipient, uint256 amount) returns(bool) 478767

UniswapV2 / PancakeSwapV2 4Byte Signatures

4Byte Type Function
0xc45a0155 RouterV2 function factory() view returns(address)
0x85f8c259 RouterV2 function getAmountIn(uint256 amountOut, uint256 reserveIn, uint256 reserveOut) pure returns(uint256 amountIn)
0x054d50d4 RouterV2 function getAmountOut(uint256 amountIn, uint256 reserveIn, uint256 reserveOut) pure returns(uint256 amountOut)
0x1f00ca74 RouterV2 function getAmountsIn(uint256 amountOut, address[] path) view returns(uint256[] amounts)
0xd06ca61f RouterV2 function getAmountsOut(uint256 amountIn, address[] path) view returns(uint256[] amounts)
0xad615dec RouterV2 function quote(uint256 amountA, uint256 reserveA, uint256 reserveB) pure returns(uint256 amountB)
0xad5c4648 RouterV2 function WETH() view returns(address)
0x8dd95002 RouterV2 function WBNB() view returns(address)
0xe8e33700 RouterV2 function addLiquidity(address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns(uint256 amountA, uint256 amountB, uint256 liquidity)
0xf305d719 RouterV2 function addLiquidityETH(address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) payable returns(uint256 amountToken, uint256 amountETH, uint256 liquidity)
0xeaaed442 RouterV2 function addLiquidityBNB(address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountBNBMin, address to, uint256 deadline) payable returns(uint256 amountToken, uint256 amountBNB, uint256 liquidity)
0xbaa2abde RouterV2 function removeLiquidity(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns(uint256 amountA, uint256 amountB)
0x02751cec RouterV2 function removeLiquidityETH(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) returns(uint256 amountToken, uint256 amountETH)
0xaf2979eb RouterV2 function removeLiquidityETHSupportingFeeOnTransferTokens(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) returns(uint256 amountETH)
0xded9382a RouterV2 function removeLiquidityETHWithPermit(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountToken, uint256 amountETH)
0x5b0d5984 RouterV2 function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountETH)
0xe0588488 RouterV2 function removeLiquidityBNB(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountBNBMin, address to, uint256 deadline) returns(uint256 amountToken, uint256 amountBNB)
0xb7e65949 RouterV2 function removeLiquidityBNBSupportingFeeOnTransferTokens(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountBNBMin, address to, uint256 deadline) returns(uint256 amountBNB)
0x34a0772d RouterV2 function removeLiquidityBNBWithPermit(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountBNBMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountToken, uint256 amountBNB)
0x685a0a34 RouterV2 function removeLiquidityBNBWithPermitSupportingFeeOnTransferTokens(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountBNBMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountBNB)
0x2195995c RouterV2 function removeLiquidityWithPermit(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountA, uint256 amountB)
0xfb3bdb41 RouterV2 function swapETHForExactTokens(uint256 amountOut, address[] path, address to, uint256 deadline) payable returns(uint256[] amounts)
0x7ff36ab5 RouterV2 function swapExactETHForTokens(uint256 amountOutMin, address[] path, address to, uint256 deadline) payable returns(uint256[] amounts)
0xb6f9de95 RouterV2 function swapExactETHForTokensSupportingFeeOnTransferTokens(uint256 amountOutMin, address[] path, address to, uint256 deadline) payable returns()
0x18cbafe5 RouterV2 function swapExactTokensForETH(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns(uint256[] amounts)
0x791ac947 RouterV2 function swapExactTokensForETHSupportingFeeOnTransferTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns()
0x38ed1739 RouterV2 function swapExactTokensForTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns(uint256[] amounts)
0x5c11d795 RouterV2 function swapExactTokensForTokensSupportingFeeOnTransferTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns()
0x4a25d94a RouterV2 function swapTokensForExactETH(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns(uint256[] amounts)
0x4a25d94a RouterV2 function swapTokensForExactETH(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns(uint256[] amounts)
0x8332a963 RouterV2 function swapBNBForExactTokens(uint256 amountOut, address[] path, address to, uint256 deadline) payable returns(uint256[] amounts)
0x9cf68911 RouterV2 function swapExactBNBForTokens(uint256 amountOutMin, address[] path, address to, uint256 deadline) payable returns(uint256[] amounts)
0x50e27df3 RouterV2 function swapExactBNBForTokensSupportingFeeOnTransferTokens(uint256 amountOutMin, address[] path, address to, uint256 deadline) payable returns()
0x5d616c5b RouterV2 function swapExactTokensForBNB(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns(uint256[] amounts)
0xd46d2f83 RouterV2 function swapExactTokensForBNBSupportingFeeOnTransferTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns()
0xd67b571e RouterV2 function swapTokensForExactBNB(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns(uint256[] amounts)
0x1e3dd18b FactoryV2 function allPairs(uint256 ) view returns(address)
0x574f2ba3 FactoryV2 function allPairsLength() view returns(uint256)
0x017e7e58 FactoryV2 function feeTo() view returns(address)
0x094b7415 FactoryV2 function feeToSetter() view returns(address)
0xe6a43905 FactoryV2 function getPair(address , address ) view returns(address)
0xc9c65396 FactoryV2 function createPair(address tokenA, address tokenB) returns(address pair)
0xf46901ed FactoryV2 function setFeeTo(address _feeTo) returns()
0xa2e74af6 FactoryV2 function setFeeToSetter(address _feeToSetter) returns()

UniswapV3 / PancakeSwapV3 4Byte Signatures

4Byte Type Function
0xc45a0155 RouterV3 function factory() view returns(address)
0x4aa4a4fc RouterV3 function WETH9() view returns(address)
0xd5f39488 RouterV3 function deployer() view returns(address)
0xc04b8d59 RouterV3 function exactInput((bytes,address,uint256,uint256,uint256) params) payable returns(uint256 amountOut)
0x414bf389 RouterV3 function exactInputSingle((address,address,uint24,address,uint256,uint256,uint256,uint160) params) payable returns(uint256 amountOut)
0xf28c0498 RouterV3 function exactOutput((bytes,address,uint256,uint256,uint256) params) payable returns(uint256 amountIn)
0xdb3e2198 RouterV3 function exactOutputSingle((address,address,uint24,address,uint256,uint256,uint256,uint160) params) payable returns(uint256 amountIn)
0xac9650d8 RouterV3 function multicall(bytes[] data) returns(bytes[] results)
0x23a69e75 RouterV3 function pancakeV3SwapCallback(int256 amount0Delta, int256 amount1Delta, bytes _data) returns()
0x12210e8a RouterV3 function refundETH() payable returns()
0xf3995c67 RouterV3 function selfPermit(address token, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) payable returns()
0x4659a494 RouterV3 function selfPermitAllowed(address token, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s) payable returns()
0xa4a78f0c RouterV3 function selfPermitAllowedIfNecessary(address token, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s) payable returns()
0xc2e3140a RouterV3 function selfPermitIfNecessary(address token, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) payable returns()
0xdf2ab5bb RouterV3 function sweepToken(address token, uint256 amountMinimum, address recipient) payable returns()
0xe0e189a0 RouterV3 function sweepTokenWithFee(address token, uint256 amountMinimum, address recipient, uint256 feeBips, address feeRecipient) payable returns()
0xfa461e33 RouterV3 function uniswapV3SwapCallback(int256 amount0Delta, int256 amount1Delta, bytes ) returns()
0x49404b7c RouterV3 function unwrapWETH9(uint256 amountMinimum, address recipient) payable returns()
0x9b2c0a37 RouterV3 function unwrapWETH9WithFee(uint256 amountMinimum, address recipient, uint256 feeBips, address feeRecipient) payable returns()
0x22afcccb FactoryV3 function feeAmountTickSpacing(uint24 ) view returns(int24)
0x88e8006d FactoryV3 function feeAmountTickSpacingExtraInfo(uint24 ) view returns(bool whitelistRequested, bool enabled)
0x1698ee82 FactoryV3 function getPool(address , address , uint24 ) view returns(address)
0x5e492ac8 FactoryV3 function lmPoolDeployer() view returns(address)
0x8da5cb5b FactoryV3 function owner() view returns(address)
0x3119049a FactoryV3 function poolDeployer() view returns(address)
0x43db87da FactoryV3 function collectProtocol(address pool, address recipient, uint128 amount0Requested, uint128 amount1Requested) returns(uint128 amount0, uint128 amount1)
0x89035730 FactoryV3 function parameters() view returns(address factory, address token0, address token1, uint24 fee, int24 tickSpacing)
0xa1671295 FactoryV3 function createPool(address tokenA, address tokenB, uint24 fee) returns(address pool)
0x8a7c195f FactoryV3 function enableFeeAmount(uint24 fee, int24 tickSpacing) returns()
0x8ff38e80 FactoryV3 function setFeeAmountExtraInfo(uint24 fee, bool whitelistRequested, bool enabled) returns()
0x7e8435e6 FactoryV3 function setFeeProtocol(address pool, uint32 feeProtocol0, uint32 feeProtocol1) returns()
0x11ff5e8d FactoryV3 function setLmPool(address pool, address lmPool) returns()
0x80d6a792 FactoryV3 function setLmPoolDeployer(address _lmPoolDeployer) returns()
0x13af4035 FactoryV3 function setOwner(address _newOwner) returns()
0xe4a86a99 FactoryV3 function setWhiteListAddress(address _address, bool _isWhiteList) returns()

FAQ - Ethereum Signature Database

1. What is 4Byte database?
The 4byte database contains function signatures and mappings for event signatures, all offered free of license for search or scrapping. Developers can map bytes signatures results from searches back to their human-readable sources and versions
2. How many 4Byte signatures are there in the database?
There are currently +2,192,612 (and counting) signatures in the database.
3. Why there are some signatures can't decode?
Those signatures must be in our database to decode. We're analyzing EVM to update our database. Maybe those signatures can decode in the future.
4. Is this tool free?
Absolutely. This tool is one of our free tools. You can check more tools at CoinDetect Tools

TOS and Licensing

The data from this service is given free of any license or restrictions on how it may be used.

Usage of the API is also granted with the single restriction that your usage should not disrupt the service itself. If you wish to scrape this data, feel free, but please do so with limited concurrency.