As suggest in What is topics[0] in Event logs? I am trying to find out 'Event hash' but it's not matching the output for below transaction.
Input Data
Function: transfer(address _to, uint256 _value) ***
MethodID: 0xa9059cbb
[0]:0000000000000000000000000d2b2fb39b10cd50cab7aa8e834879069ab1a8d4
[1]:0000000000000000000000000000000000000000000000000000010e6a06cb00
Event Logs
Topics
[0] 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef
[1] 0x0000000000000000000000004dc8f417d4eb731d179a0f08b1feaf25216cefd0
[2] 0x0000000000000000000000000d2b2fb39b10cd50cab7aa8e834879069ab1a8d4
However when I try to find the keccak hash it's showing different hash.
from Crypto.Hash import keccak
keccak_hash = keccak.new(digest_bits=256)
keccak_hash.update("transfer(address,uint256)")
print keccak_hash.hexdigest()
>>a9059cbb2ab09eb219583f4a59a5d0623ade346d962bcd4e46b11da047c9049b