Skip to main content

Questions tagged [topics]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
22 views

Get all event hashes for ABI

I have a smart contract ABI. What's the easiest way to compute the keccak256 hashes for the events in the contract?
fafrd's user avatar
  • 354
0 votes
0 answers
88 views

Topic0 of event with enum?

What would be the topic0 of an event with an (or multiple) enums or other non-standard, self-defined Solidity types in its parameters? Example: event EvInventory(bytes32 indexed itemHash,address maker,...
tomvis1984's user avatar
0 votes
1 answer
52 views

Ethereum Undecodable logs

I have encountered this transaction where all of its logs were undecodable. If you see the value of topic0 in events logs, it is function signature but ideally it should be the event signature. From ...
shadow's user avatar
  • 25
0 votes
1 answer
401 views

How to trace a token adress from an ERC 721 transfer transaction?

I have an Ethereum node which I connect using web3j library. In the code I iterate over transactions of a particular block and try to fetch information about ERC721 transfers. In particular, I want to ...
Sasha Shpota's user avatar
0 votes
1 answer
52 views

Web3.py defining only last topic (is there 'and anything before' option?)

I was checking this post: Web3.py 'topics' and this documentation: https://web3py.readthedocs.io/en/stable/filters.html#event-log-filters I see here, that I have various methods for defining ...
Penko_Mlakar's user avatar
5 votes
1 answer
168 views

How to tell anonymous events with the same arguments apart?

Because anonymous events do not contain the hash of their signature as their first topic, you cannot easily search for them on the blockchain. However, if the set of the indexed arguments of an ...
Sun's user avatar
  • 151