Skip to content

Instantly share code, notes, and snippets.

@letterj
Created March 9, 2020 19:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save letterj/f36f6964b2405a1d228aad53fea442ff to your computer and use it in GitHub Desktop.
Save letterj/f36f6964b2405a1d228aad53fea442ff to your computer and use it in GitHub Desktop.
curl -X POST \
--data '{"jsonrpc":"2.0","method":"eth_getTransactionReceipt","params":["0x2f89093bf447f96d00bc815ac2fb1e51695c8050bc22bc11f8ea12ab4bf828af"],"id":1}' \
-H "Content-Type: application/json" \
http://localhost:8545 | jq
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"blockHash": "0xd2fc72f8b0095c1f536de856aef1959a269f3d71bc7b38f014fc90060e10de80",
"blockNumber": "0x1b4",
"contractAddress": null,
"cumulativeGasUsed": null,
"from": "0x665465d236fc4ad3cea903b73bd65f6a4351b380",
"gasUsed": "0x58f7",
"logs": null,
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000200000000000010000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000",
"status": "0x1",
"to": "0x17057d3c5c32e269c44ceb808afc78fd7d04b8f8",
"transactionHash": "0x2f89093bf447f96d00bc815ac2fb1e51695c8050bc22bc11f8ea12ab4bf828af",
"transactionIndex": "0x0"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment