Replies: 2 comments
-
I see so you want to simulate the transaction and see it's logs, without actually getting the tx in a block. It's possible to use using |
Beta Was this translation helpful? Give feedback.
-
What are you trying to do with these logs? If you don't create a transaction on the network, there are no logs. Are you just trying to create the serialized topics? If so, you could just use:
Otherwise, you will likely need to use the solution @zemse suggested, using an archive node with the trace API. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
i want to get the
Transfer
logs of a specific transaction that sent to a contract. But i don't have the ABI for that contract. And also i want to do it withSTATICCALL
function. I guess i can useprovider.call
function but i didn't understand the output this function giving.How can i parse the result of
provider.call
or how can i gatherTransfer
logs from the transaction without sending it to mainnet ?Beta Was this translation helpful? Give feedback.
All reactions