Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save garyschulte/dad30ef00ea3346fd0ef45d44ec574e6 to your computer and use it in GitHub Desktop.
Save garyschulte/dad30ef00ea3346fd0ef45d44ec574e6 to your computer and use it in GitHub Desktop.
curl --location 'http://localhost:8545' \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"method": "eth_getTransactionByHash",
"params": [
"0x263701006ce07d22ba36fed4cee0bea5e4ce96ae71ae4027b3148129263a85dd"
],
"id": 1
}' |jq
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"accessList": [],
"blockHash": "0x577b8c567743b9854d4f73cad2d4f48fd777f3c7184e6f5230213a155512defa",
"blockNumber": "0x2bf69a",
"chainId": "0xe708",
"from": "0x43370108f30ee5ed54a9565f37af3be8502903f5",
"gas": "0x154fcb",
"gasPrice": "0x5cb5068a",
"maxPriorityFeePerGas": "0x5cb50683",
"maxFeePerGas": "0x5cb5068b",
"hash": "0x263701006ce07d22ba36fed4cee0bea5e4ce96ae71ae4027b3148129263a85dd",
"input": "0x1fad948c000000000000000000000000000000000000000000000000000000000000004000000000000000000000000043370108f30ee5ed54a9565f37af3be8502903f50000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002000000000000000000000000051ce6a8e868fa0c928346ac7489a74432c44bc933db076b8929744925f16e35a14de0c7e122e512efe282e76000000000000000000000000000000000000000000000000000000000000000000000000000001600000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000007a120000000000000000000000000000000000000000000000000000000000006b08a000000000000000000000000000000000000000000000000000000000000b1580000000000000000000000000000000000000000000000000000000065fa53ff000000000000000000000000000000000000000000000000000000005cb5068300000000000000000000000000000000000000000000000000000000000002c000000000000000000000000000000000000000000000000000000000000002e000000000000000000000000000000000000000000000000000000000000000783fbe35a874284e41c955331a363c1ea085301a8dd8fd8f440000000000000000000000001708dc05842c8fbd5e2e60a0adbd1b2efab061640000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000084b61d27f60000000000000000000000000acf75e7c29bd27f1cd6ed47c8769c61bc6a68810000000000000000000000000000000000000000000000000006379da05b600000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004189f4d1fe2626f881082f93a336e51d6fad4faecfaffb843307c6c658bc4ae3ac737b6ece16b3c206b2d26efa8ca1ee6ac85e6a1e984456b7282404592e3d12e31c00000000000000000000000000000000000000000000000000000000000000",
"nonce": "0x37b5",
"to": "0x5ff137d4b0fdcd49dca30c7cf57e578a026d2789",
"transactionIndex": "0x20",
"type": "0x2",
"value": "0x0",
"yParity": "0x0",
"v": "0x0",
"r": "0xde0db8ce81c8092823a2d91b3a3cc421bc6b384b562f567e67b26c5443ff28e9",
"s": "0x44457e69f445284d1f1ba99107b53c1d4b3d1e8c7283ff504341e5a92699c09d"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment