ethereum-etl icon indicating copy to clipboard operation
ethereum-etl copied to clipboard

contract_address always empty

Open alexandersimoes opened this issue 4 years ago • 3 comments

Hello! I am trying to run the following command (from the examples):

ethereumetl export_receipts_and_logs --transaction-hashes transaction_hashes.txt \
--provider-uri https://mainnet.infura.io/v3/<API_KEY> --receipts-output receipts.csv --logs-output logs.csv

but when i view the receipts output file the contract_address column is always blank. Am I doing something wrong here?

alexandersimoes avatar Jun 25 '21 16:06 alexandersimoes

This field will be non blank only if a transaction is a contract creation transaction. Hope this helps

medvedev1088 avatar Jun 25 '21 16:06 medvedev1088

Thanks! That does help, could that be the case looking at over 100 blocks? Seems strange to me but I also don't have a great intuition of this dataset yet.

alexandersimoes avatar Jun 25 '21 16:06 alexandersimoes

Definitely possible especially for early blocks

medvedev1088 avatar Jun 25 '21 16:06 medvedev1088