web3dart icon indicating copy to clipboard operation
web3dart copied to clipboard

How to get the name of the log in transaction receipt ?

Open mthinh opened this issue 11 months ago • 1 comments

What ?

How to get the name of log in tx receipt ? My transaction's log looks like this. Is there any way to get the name of the log like what display on EthereumScan ? reference link: https://sepolia.etherscan.io/tx/0xc4193cbe6e4607cae399dff34fd471e13426c4df0a7871b5dd5cf4a1544dbb50#eventlog

Screenshot 2024-03-06 at 18 31 01 Screenshot 2024-03-06 at 18 31 56

mthinh avatar Mar 06 '24 11:03 mthinh

This information is only available on Etherscan because the contract was verified.

Usually you include an ABI in your app which will help it assign names and data types.

kevtechi avatar Sep 13 '24 06:09 kevtechi