1

The following is a contract transaction. I want to get the created contract address from the tx_hash using JSON RPC or web3. Is it possible?

https://etherscan.io/tx/0xb4c93e32218f1688343334e5c1b12c2d9c523516dc3644c98865a93ec3230c73


Update 1

I found the similar question. Moe mentioned the solution. I'm looking into it right now.

Is there a way to know the contract creation Address from a the transaction?

1

I found the way.

curl -X POST --data '{"jsonrpc":"2.0","method":"eth_getTransactionReceipt","params":["0xb4c93e32218f1688343334e5c1b12c2d9c523516dc3644c98865a93ec3230c73"],"id":1}' http://localhost:xxx

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.