I currently use the code below to extract the ERC721 Token ID from Transfer Event Logs:
txHash := newLog.TxHash.Hex() hexString := common.BytesToAddress(newLog.Topics.Bytes()).Hex() flowerNum, _ := strconv.ParseUint(hexString, 0, 10) flowerNumInt := int64(flowerNum)
1023, even though
txHash linked below references FLOWER #
1133. Moreso, FLOWER #
1023 has no transfer events at all, and does not appear in the tx linked below.
Am I doing something wrong during the conversion?