Knowing the hash of a transaction that created the contract, how do I get the address of created contract?
For instance:
curl -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"eth_getTransactionByHash","params":["0x622b3d3b880666e2447458c09e87f50a2f45f72d87d8bcb0e5924ccb73d92e59"],"id":1}' http://10.10.10.10:8545 | python -m json.tool
{
"id": 1,
"jsonrpc": "2.0",
"result": {
"blockHash": "0x0375c57448e43a56e3c0e8e5bbeb744bda0cf6cde246e521d0dc9271fb17ce22",
"blockNumber": "0x40342b",
"from": "0xd534d9f6e61780b824afaa68032a7ec11720ca12",
"gas": "0x4c4b40",
"gasPrice": "0xee6b2800",
"hash": "0x622b3d3b880666e2447458c09e87f50a2f45f72d87d8bcb0e5924ccb73d92e59",
"input": "0x6060604052341561000f57600080fd5b6040516040806111498339810160405280805191
...
000000000000000000010db6b405c4cff3185926f5bda140703a77c5",
"nonce": "0x0",
"r": "0xea3abf44bb80534553042f11d0465be54a2f3f5910c861c154a397f677549161",
"s": "0x5bf893f90270dd9aa0092ce15b13c7a8ea9c541c13190e9ed874f7d3841ce0d1",
"to": null,
"transactionIndex": "0xd",
"v": "0x26",
"value": "0x0"
}
}
From Etherscan I know the address is 0xb5fe93ccfec708145d6278b0c71ce60aa75ef925
, but how do I get this address via JSON RPC?