I am confused as to what is the difference between method id, event id and abi signature. I got the abi signature of a token transfer function according to the following web3js function
const signature = web3.eth.abi.encodeEventSignature("Transfer(address indexed _from, address indexed _to, uint256 indexed _tokenId)");
console.log(signature)
If I want the method id of the token transfer function of ERC721 tokens should I just consider the value returned from the above code, or it is the first four bytes of the answer returned according to this. Will the same value also be called its event id?
indexedparts, the parameter names and the spaces before/after the commas. In other words, you should use"Transfer(address,address,uint256)".