./eth_json_rpc.d --rpc-url '<RPC-URL-HERE>' --block-number <NUMBER> [--include-txs <true|false>]
Last active
September 30, 2021 15:06
-
-
Save PetarKirov/012600d3a366f98b82f78c2cde6396fe to your computer and use it in GitHub Desktop.
Calling Ethereum JSON-RPC from D
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env rdmd | |
import std.json : JSONValue; | |
void main(string[] args) | |
{ | |
import std.getopt : config, getopt; | |
import std.process : env = environment; | |
import std.stdio; | |
string rpcUrl = env.get("RPC_URL", null); | |
bool includeTxs = false; | |
ulong blockNumber; | |
args.getopt( | |
config.required, | |
"block-number|b", &blockNumber, | |
"include-txs", &includeTxs, | |
"rpc-url", &rpcUrl, | |
); | |
sendJsonRpc(rpcUrl, request_eth_getBlockByNumber(blockNumber, includeTxs)) | |
.toPrettyString | |
.writeln; | |
} | |
JSONValue sendJsonRpc(string endpoint, JSONValue message) | |
{ | |
import std.net.curl : HTTP, post; | |
import std.json : parseJSON; | |
auto http = HTTP(); | |
http.addRequestHeader("Content-Type", "application/json"); | |
return post(endpoint, message.toString, http).parseJSON(); | |
} | |
JSONValue request_eth_getBlockByNumber(ulong block, bool includeTxs) | |
{ | |
import std.format : format; | |
return requestPayload( | |
"eth_getBlockByNumber", | |
[JSONValue(format("0x%X", block)), JSONValue(includeTxs)] | |
); | |
} | |
JSONValue requestPayload(string method, JSONValue[] params) | |
{ | |
alias J = JSONValue; | |
return J([ | |
"jsonrpc": J("2.0"), | |
"method": J(method), | |
"id": J(0), | |
"params": J(params) | |
]); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"id": 0, | |
"jsonrpc": "2.0", | |
"result": { | |
"baseFeePerGas": "0x1cae59754d", | |
"difficulty": "0x1f527d45deb050", | |
"extraData": "0x73706964657230382c9704e4", | |
"gasLimit": "0x1c9c380", | |
"gasUsed": "0x17c97a", | |
"hash": "0xf2d26a05cfb55a50a62dba15f4b9dde8a50214a71133720abd5e7f173809a644", | |
"logsBloom": "0x4120800000020002000000008000002000020100000000800001804100000100080010100000000100048100020001000200000009020000000280020020482800000001000400200021000900300030030000140150000022020000010c4088000002c802000000001100000000180100001040000806000480011000000010800a00040000000010c004000000000000800480000000188c010044001000000240000211000000000002a0040000001002000000000004000000c000100000000080028000000000040010000a00408440000000102030040020020050240004102800000000003000000800000200000010000000c0000000200800200001", | |
"miner": "0x0708f87a089a91c65d48721aa941084648562287", | |
"mixHash": "0x9f98d5ad272512c5a6eb24e2773774e25ca3aa4bf471225029be03803a47db67", | |
"nonce": "0x5c79ad0990913389", | |
"number": "0xcac84d", | |
"parentHash": "0x958c55140307c74b0b67d8f715b1a53190076e7340052f381d137cc61bda6004", | |
"receiptsRoot": "0x135672ab5dce3bf9f1018c2687b36b4bb6b7d4e96616d07682b97c1d709b4c9e", | |
"sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347", | |
"size": "0x1ad4", | |
"stateRoot": "0x0158cde5e048a6bc58f39eb8acc4992149aa6f67eb8d6403457f1244e2e61e83", | |
"timestamp": "0x614dfde2", | |
"totalDifficulty": "0x69be95872ca966a05d7", | |
"transactions": [ | |
{ | |
"blockHash": "0xf2d26a05cfb55a50a62dba15f4b9dde8a50214a71133720abd5e7f173809a644", | |
"blockNumber": "0xcac84d", | |
"from": "0x3fff952d5b8ba332252361ee77da5d16cd2642bc", | |
"gas": "0xa410", | |
"gasPrice": "0x25b7f3d400", | |
"hash": "0x76a958a77c2d40de90b0f6d53f813af068b69bfb58d7da6ce2666971a1bbf007", | |
"input": "0x", | |
"nonce": "0x10", | |
"r": "0xca6546858f36b1c25e613c033e2fb2c4ac003d2f850690cab524fad2ad532005", | |
"s": "0x696c076bea700c1bac31d0c91301d21c7b0d1c1c3f5b4738771434a84ad338cb", | |
"to": "0x28c6c06298d514db089934071355e5743bf21d60", | |
"transactionIndex": "0x0", | |
"type": "0x0", | |
"v": "0x26", | |
"value": "0x17b05280d1a59800" | |
}, | |
{ | |
"accessList": [], | |
"blockHash": "0xf2d26a05cfb55a50a62dba15f4b9dde8a50214a71133720abd5e7f173809a644", | |
"blockNumber": "0xcac84d", | |
"chainId": "0x1", | |
"from": "0xa3b83d0e2f3d2c675439188ef1aa13d1c6abca16", | |
"gas": "0x2a687", | |
"gasPrice": "0x21ae16538e", | |
"hash": "0x72d37bf092ee1f76aa5bbbf269315d9abac537d945cb230a6d26c505f2a1bb52", | |
"input": "0x38ed173900000000000000000000000000000000000000000000000000000002264a716900000000000000000000000000000000000000000000000e429f9254ff74e52f00000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000a3b83d0e2f3d2c675439188ef1aa13d1c6abca1600000000000000000000000000000000000000000000000000000000614dfea80000000000000000000000000000000000000000000000000000000000000002000000000000000000000000dac17f958d2ee523a2206206994597c13d831ec7000000000000000000000000d2877702675e6ceb975b4a1dff9fb7baf4c91ea9", | |
"maxFeePerGas": "0x21ae16538e", | |
"maxPriorityFeePerGas": "0x21ae16538e", | |
"nonce": "0x1d37", | |
"r": "0x88a5daee89551f17937744525197075fcfca3ed14f1533a44781c48d56ab4727", | |
"s": "0xed845c8ce04825e2cccc7b88f7d7d09a66d0adde7499576624245fc06072e90", | |
"to": "0x7a250d5630b4cf539739df2c5dacb4c659f2488d", | |
"transactionIndex": "0x1", | |
"type": "0x2", | |
"v": "0x1", | |
"value": "0x0" | |
}, | |
{ | |
"blockHash": "0xf2d26a05cfb55a50a62dba15f4b9dde8a50214a71133720abd5e7f173809a644", | |
"blockNumber": "0xcac84d", | |
"from": "0xfdbaa5eee7cdf45eec3a71a672065a67191fda7a", | |
"gas": "0x493e0", | |
"gasPrice": "0x205d0bae00", | |
"hash": "0xb01c18b636503de7a194ff98f8f093fa5ef709036b6767834dfde94bb27ff65d", | |
"input": "0x18cbafe50000000000000000000000000000000000000000000010c14a4f9a0c559800000000000000000000000000000000000000000000000000000b9195c2d0d3fc0000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000fdbaa5eee7cdf45eec3a71a672065a67191fda7a00000000000000000000000000000000000000000000000000000000614e015f0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000f411903cbc70a74d22900a5de66a2dda66507255000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2", | |
"nonce": "0x8660", | |
"r": "0x5fceba730b478dd3584cbe0eb7709a06d1202a602b195910a7ff58e53b68ee8c", | |
"s": "0x1caec7f345496101c040fc58f142099869b5656919edf251c972e8ea8d094a87", | |
"to": "0x7a250d5630b4cf539739df2c5dacb4c659f2488d", | |
"transactionIndex": "0x2", | |
"type": "0x0", | |
"v": "0x25", | |
"value": "0x0" | |
}, | |
{ | |
"accessList": [], | |
"blockHash": "0xf2d26a05cfb55a50a62dba15f4b9dde8a50214a71133720abd5e7f173809a644", | |
"blockNumber": "0xcac84d", | |
"chainId": "0x1", | |
"from": "0xb65e1f771f71aa538030773806d8c11f6a041ca7", | |
"gas": "0x96baf", | |
"gasPrice": "0x202170e400", | |
"hash": "0x6b6de6a23cc4744615940fa5827e18bea0fdcda4c4d0c36e3196a8c037bfb0e5", | |
"input": "0xefef39a100000000000000000000000000000000000000000000000000000000000000a5", | |
"maxFeePerGas": "0x202170e400", | |
"maxPriorityFeePerGas": "0x1f6ea08600", | |
"nonce": "0x63", | |
"r": "0x9891fc702aa87e72e9ee3dbc1061cb6251a78b33435266b6ddfbc7de1b37228d", | |
"s": "0x24fb28262a2a5abc330076f2faae1f8c9dbb44395fccbebbbf732f1db7e8306", | |
"to": "0x47e312d99c09ce61a866c83cbbbbed5a4b9d33e7", | |
"transactionIndex": "0x3", | |
"type": "0x2", | |
"v": "0x0", | |
"value": "0x3782dace9d90000" | |
}, | |
{ | |
"blockHash": "0xf2d26a05cfb55a50a62dba15f4b9dde8a50214a71133720abd5e7f173809a644", | |
"blockNumber": "0xcac84d", | |
"from": "0x7bfb89db2d7217c57c3ad3d4b55826efd17dc2e9", | |
"gas": "0x7a120", | |
"gasPrice": "0x2005154b5f", | |
"hash": "0x961920724eb35a32eed3f44b69d61e5887587f228b64efbb036c507bcbc6aa32", | |
"input": "0xc98075390000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000003e00100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000026000000000000000000000006b3eab0ce918088cb86d7c2d0a382c20000071a602050f090307040d060b0801000a020c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000f00000000000000000000000000000000000000000000000000000000014fe69100000000000000000000000000000000000000000000000000000000014ff37600000000000000000000000000000000000000000000000000000000014ff64000000000000000000000000000000000000000000000000000000000014ff6400000000000000000000000000000000000000000000000000000000001509e93000000000000000000000000000000000000000000000000000000000150cef2000000000000000000000000000000000000000000000000000000000150f5a2000000000000000000000000000000000000000000000000000000000151b754000000000000000000000000000000000000000000000000000000000152b52e000000000000000000000000000000000000000000000000000000000152dab9000000000000000000000000000000000000000000000000000000000152dab9000000000000000000000000000000000000000000000000000000000152dab900000000000000000000000000000000000000000000000000000000015328cb0000000000000000000000000000000000000000000000000000000001533c9200000000000000000000000000000000000000000000000000000000015376810000000000000000000000000000000000000000000000000000000000000006f2c5e72020e9a4c6b7ffd5be7e03030bcb8406ad7a355f3b803ef6ee891e4d5d8f7662e2a27f8811eea52d05b806e3abd728bb1f236b971ceb9bf942e8114195782b20b84e97142e9f6243db973acc7affd2ef8a61824b31d038109791595352a33b616e8ef1348135d729d4d6354a80b507d0ba5bcde8509be1ceb35aeb251a7bc937658c98e1202482adfee1f9d785b91a648fdbaa812e012033f8133ccac5f9081dce096c87f8b67e68e137b1f5c93845ed138e2d74821225268473ee850d000000000000000000000000000000000000000000000000000000000000000674146d5846ae90b8dd532a134e1fd07ddadf4ac0ef48ed0540799dffef02ecc90591b9d511ecefeb0372729e8bdd54a224d79cd7fd4607f1c6f8adebd213618665cb57825e336f9ee329c4a48238949310ab783756561c6211890abc774e271004bf186a5935c0a978c979b8c81fcd5a7623494209598c91da4876f5500bafb2275d7d6b0c5720b1efc9ab058ab937377403ede7083119d874fea7087f2583f72d16224bb477c60447f0964aaf4a31e01110e98bed95388b5f5a6dcddc9ec66e", | |
"nonce": "0x50b1", | |
"r": "0x27b5a2c56a69624e3d73212882877dc4674b6f30496816aa0748bcfb2356a87c", | |
"s": "0x4580fff7fa6880c0d2ab4efff14c4d26f67f2c93bc49b774a986718c2e025931", | |
"to": "0x8c318f865790ca448b99cd22160089f921060d5b", | |
"transactionIndex": "0x4", | |
"type": "0x0", | |
"v": "0x25", | |
"value": "0x0" | |
}, | |
{ | |
"blockHash": "0xf2d26a05cfb55a50a62dba15f4b9dde8a50214a71133720abd5e7f173809a644", | |
"blockNumber": "0xcac84d", | |
"from": "0xe3e0596ac55ae6044b757bab27426f7dc9e018d4", | |
"gas": "0x7a120", | |
"gasPrice": "0x2005154b5f", | |
"hash": "0x05d500201d498a7df097028dc37350f5def40d7980cf31d2e7cb0b99bcb70ed0", | |
"input": "0xc9807539000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000002600000000000000000000000000000000000000000000000000000000000000300010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000233d4bb6b38fbe8ab76dac5550cc3bc600000eea0102030908000104050706000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000001b83be3e000000000000000000000000000000000000000000000000000000001b83be3e000000000000000000000000000000000000000000000000000000001b8581e7000000000000000000000000000000000000000000000000000000001b858e1c000000000000000000000000000000000000000000000000000000001b85efc4000000000000000000000000000000000000000000000000000000001b868e75000000000000000000000000000000000000000000000000000000001b868e75000000000000000000000000000000000000000000000000000000001b868e75000000000000000000000000000000000000000000000000000000001b868e75000000000000000000000000000000000000000000000000000000001b872d2600000000000000000000000000000000000000000000000000000000000000004f4b0d41f9a909b928496b3e7cfb57c0bb69dec86248deec7ffd7a436ac4f1a47dc7d5fa61e2c92377405aa3ff0958016ccc041b3c78f872d2614d5841b34a600dccf2691c8b58220c17d7ab2b5253a99f65b98c92f84c80839d6d6b410143831ee7ee42c05eb635352c6350898330c2ba47da623cac401160aaba0cef900472300000000000000000000000000000000000000000000000000000000000000043f5371779dce0433cf022810c9d8dc0f71446c037ce99da75ad536340b73f5047b100ad84961ac35e8c307b176226d3444ee345fc872698be14601f17d894f4402a0df9390000dd6b48d404892f5e43d9582ebafffc62df8604b35e98d05343a2334b93961333da3ad76c76004ba64fb84064c23f12b916a70b33ccd9196c661", | |
"nonce": "0x4f6d", | |
"r": "0x4fd388b507102b053fd0114f32da9e1568096df083439d74a05c477707818321", | |
"s": "0x637d8f2437eda719d312e910a248c6856630ebd182ba84a257972e94574e6eaa", | |
"to": "0x0deaf87519d434dcf74551b2e907af18d2304946", | |
"transactionIndex": "0x5", | |
"type": "0x0", | |
"v": "0x26", | |
"value": "0x0" | |
}, | |
{ | |
"blockHash": "0xf2d26a05cfb55a50a62dba15f4b9dde8a50214a71133720abd5e7f173809a644", | |
"blockNumber": "0xcac84d", | |
"from": "0xf736a2d26ef45c59bcd9cc21ab62f2564fb69592", | |
"gas": "0x5208", | |
"gasPrice": "0x1fe2429300", | |
"hash": "0xfa7ea597d3418df1f2c3a0a2229ad17ec69d90d48d1d2f00f984cf3ffaf4cfd4", | |
"input": "0x", | |
"nonce": "0x0", | |
"r": "0x62d777bc384de047d189ed824c9248ad1ae9a3e6b405da28929551eb86fcf73e", | |
"s": "0x702e576139e04eb468c014dd8358fd9c63ae36542c03d058984ae00975f53e9e", | |
"to": "0x292f04a44506c2fd49bac032e1ca148c35a478c8", | |
"transactionIndex": "0x6", | |
"type": "0x0", | |
"v": "0x25", | |
"value": "0xd8d53ea4dae800" | |
}, | |
{ | |
"accessList": [], | |
"blockHash": "0xf2d26a05cfb55a50a62dba15f4b9dde8a50214a71133720abd5e7f173809a644", | |
"blockNumber": "0xcac84d", | |
"chainId": "0x1", | |
"from": "0xddfabcdc4d8ffc6d5beaf154f18b778f892a0740", | |
"gas": "0x5208", | |
"gasPrice": "0x1d9cc49d4d", | |
"hash": "0xead8a7e46123f9b4a1a70ee5174e2a4d091ef0ea4a7f557ca9ae6b85cdf3409b", | |
"input": "0x", | |
"maxFeePerGas": "0x39f98e7a00", | |
"maxPriorityFeePerGas": "0xee6b2800", | |
"nonce": "0x1eab99", | |
"r": "0x7b788aeb549a5c8ab5519743cbf3ffc82b91a259c02516c025a7e8a7d71922a0", | |
"s": "0x174ad2e7167aaa6f8b69137a4982a002da137aa3e16edae68147e243388f84ac", | |
"to": "0xf24c609e942a65efa7f745f75c16a7a7d8d04834", | |
"transactionIndex": "0x7", | |
"type": "0x2", | |
"v": "0x0", | |
"value": "0x10b25bd02564500000" | |
}, | |
{ | |
"accessList": [], | |
"blockHash": "0xf2d26a05cfb55a50a62dba15f4b9dde8a50214a71133720abd5e7f173809a644", | |
"blockNumber": "0xcac84d", | |
"chainId": "0x1", | |
"from": "0x3cd751e6b0078be393132286c442345e5dc49699", | |
"gas": "0x5208", | |
"gasPrice": "0x1d9cc49d4d", | |
"hash": "0xec6e5417a3210c14043825598e04492e515d665d4ca7375e97a8c2bf77f4edca", | |
"input": "0x", | |
"maxFeePerGas": "0x39f98e7a00", | |
"maxPriorityFeePerGas": "0xee6b2800", | |
"nonce": "0x2bb96a", | |
"r": "0x478238588efad359b5539b917840a5f250658112c46ce835e9438ecde4de10f5", | |
"s": "0x1710dc5ca7d2851099636844648dabdfc73a3175edb276d6b6a509addb688866", | |
"to": "0x1f2a60b9c18741218ab3089deaba650f828cc06f", | |
"transactionIndex": "0x8", | |
"type": "0x2", | |
"v": "0x1", | |
"value": "0xdd280b9144a000" | |
}, | |
{ | |
"accessList": [], | |
"blockHash": "0xf2d26a05cfb55a50a62dba15f4b9dde8a50214a71133720abd5e7f173809a644", | |
"blockNumber": "0xcac84d", | |
"chainId": "0x1", | |
"from": "0xb5d85cbf7cb3ee0d56b3bb207d5fc4b82f43f511", | |
"gas": "0x5208", | |
"gasPrice": "0x1d9cc49d4d", | |
"hash": "0x0d28e29eb50dca0cf7a967abaaa2003beba51468d85847caec15c0a3cc810663", | |
"input": "0x", | |
"maxFeePerGas": "0x39f98e7a00", | |
"maxPriorityFeePerGas": "0xee6b2800", | |
"nonce": "0x278617", | |
"r": "0x2290f54ef1d351813a7cbe516150f966d95f1606b4abfeb5a2d166ec09312f8c", | |
"s": "0x61ed374fecb46091433d0203b959100b9c8968dfeabc44553f74fe831d1030fe", | |
"to": "0xd9ddeb2563c455041e727e0ff210505ebe993002", | |
"transactionIndex": "0x9", | |
"type": "0x2", | |
"v": "0x0", | |
"value": "0xdd280b9144a000" | |
}, | |
{ | |
"accessList": [], | |
"blockHash": "0xf2d26a05cfb55a50a62dba15f4b9dde8a50214a71133720abd5e7f173809a644", | |
"blockNumber": "0xcac84d", | |
"chainId": "0x1", | |
"from": "0x3cd751e6b0078be393132286c442345e5dc49699", | |
"gas": "0x5208", | |
"gasPrice": "0x1d9cc49d4d", | |
"hash": "0xddec930d7433b19efe599d4dacfb485498a7bc01d90f1962ffba8394e8badbd3", | |
"input": "0x", | |
"maxFeePerGas": "0x39f98e7a00", | |
"maxPriorityFeePerGas": "0xee6b2800", | |
"nonce": "0x2bb96b", | |
"r": "0x28ed4d234243c15d23de98a83d1c0f365c6151334906f5beedeac8dc0a585792", | |
"s": "0x111493f9b281dab5b5af292a6d5feeb2d14101b492a12f5f12e41daa088ef37c", | |
"to": "0x0f2d61e10671aa8029d17c9c6b9a6d572ff1b875", | |
"transactionIndex": "0xa", | |
"type": "0x2", | |
"v": "0x0", | |
"value": "0xdd280b9144a000" | |
}, | |
{ | |
"accessList": [], | |
"blockHash": "0xf2d26a05cfb55a50a62dba15f4b9dde8a50214a71133720abd5e7f173809a644", | |
"blockNumber": "0xcac84d", | |
"chainId": "0x1", | |
"from": "0xb5d85cbf7cb3ee0d56b3bb207d5fc4b82f43f511", | |
"gas": "0x5208", | |
"gasPrice": "0x1d9cc49d4d", | |
"hash": "0xcca1c3591e866a6b5841f449a939dc765934445a4726ab7be16974344898b3ac", | |
"input": "0x", | |
"maxFeePerGas": "0x39f98e7a00", | |
"maxPriorityFeePerGas": "0xee6b2800", | |
"nonce": "0x278618", | |
"r": "0x1e425d117791b3a2fb91faf973e9f2d5e323144cf3894444a3ffec3ac1f95876", | |
"s": "0x1ca79607cda42fec28750be74b6590c8cb980f5e709024e834e0d1c2c936da80", | |
"to": "0xb81aeb9a1a516979ef199efdfd3f0f693c80e9aa", | |
"transactionIndex": "0xb", | |
"type": "0x2", | |
"v": "0x0", | |
"value": "0xdd280b9144a000" | |
}, | |
{ | |
"accessList": [], | |
"blockHash": "0xf2d26a05cfb55a50a62dba15f4b9dde8a50214a71133720abd5e7f173809a644", | |
"blockNumber": "0xcac84d", | |
"chainId": "0x1", | |
"from": "0xeb2629a2734e272bcc07bda959863f316f4bd4cf", | |
"gas": "0x5208", | |
"gasPrice": "0x1d9cc49d4d", | |
"hash": "0xe3fac88048baf31e7196668c86a7abf37ac983956fec8c1f7c3ab2c036cef7df", | |
"input": "0x", | |
"maxFeePerGas": "0x39f98e7a00", | |
"maxPriorityFeePerGas": "0xee6b2800", | |
"nonce": "0x1f6a11", | |
"r": "0x5748de69d5eeead1f0989f9a164c3f2ad5ed2cfea84158f37ad434c5898ad00c", | |
"s": "0x7160042b82465f81a152d7c5d213eff35d2612413fbbe83c87ae486b977a77ab", | |
"to": "0x826afb69aa89637c35225ba3f203cd4cdc24761e", | |
"transactionIndex": "0xc", | |
"type": "0x2", | |
"v": "0x0", | |
"value": "0xdd280b9144a000" | |
}, | |
{ | |
"accessList": [], | |
"blockHash": "0xf2d26a05cfb55a50a62dba15f4b9dde8a50214a71133720abd5e7f173809a644", | |
"blockNumber": "0xcac84d", | |
"chainId": "0x1", | |
"from": "0xddfabcdc4d8ffc6d5beaf154f18b778f892a0740", | |
"gas": "0x5208", | |
"gasPrice": "0x1d9cc49d4d", | |
"hash": "0x429796abca08d46b401617ec784ff9ca632ba01e524e9aabfbde800c469d6627", | |
"input": "0x", | |
"maxFeePerGas": "0x39f98e7a00", | |
"maxPriorityFeePerGas": "0xee6b2800", | |
"nonce": "0x1eab9a", | |
"r": "0x136a57cd277c24ac22e402147427dcbbfad479e1071bc8673ce8e7fe28fe1e18", | |
"s": "0x225c4293a5ec70c6c3126f4e56e228ae3165710ffbff5cb8a7aef60e72424e42", | |
"to": "0x0712ebfa69debc2c286ec749eb421fff6d2d6f11", | |
"transactionIndex": "0xd", | |
"type": "0x2", | |
"v": "0x0", | |
"value": "0xdd280b9144a000" | |
}, | |
{ | |
"accessList": [], | |
"blockHash": "0xf2d26a05cfb55a50a62dba15f4b9dde8a50214a71133720abd5e7f173809a644", | |
"blockNumber": "0xcac84d", | |
"chainId": "0x1", | |
"from": "0xddfabcdc4d8ffc6d5beaf154f18b778f892a0740", | |
"gas": "0x15f90", | |
"gasPrice": "0x1d9cc49d4d", | |
"hash": "0x59b9d274854e93c794d2d098bb7a16cd5dece5089f9ffca2f3d7c856c42dd042", | |
"input": "0x", | |
"maxFeePerGas": "0x39f98e7a00", | |
"maxPriorityFeePerGas": "0xee6b2800", | |
"nonce": "0x1eab9b", | |
"r": "0x611ffb592194383481aa989a05feaaba5ae80b33bdb9b33153f80943f366928a", | |
"s": "0x26f8084f87a7e7a1f8acdd8b38294830212d4b7b7a67b11f0a3321a937df22ee", | |
"to": "0x91126096a182ac95f74020d0cb5bb2ad4a0ef4ab", | |
"transactionIndex": "0xe", | |
"type": "0x2", | |
"v": "0x1", | |
"value": "0x5531f10bc8e3c00" | |
}, | |
{ | |
"accessList": [], | |
"blockHash": "0xf2d26a05cfb55a50a62dba15f4b9dde8a50214a71133720abd5e7f173809a644", | |
"blockNumber": "0xcac84d", | |
"chainId": "0x1", | |
"from": "0xeb2629a2734e272bcc07bda959863f316f4bd4cf", | |
"gas": "0x5208", | |
"gasPrice": "0x1d9cc49d4d", | |
"hash": "0xd5052b1a59a8a1bfe594524a80c9294abf6644c58d12b45b000657102de309d7", | |
"input": "0x", | |
"maxFeePerGas": "0x39f98e7a00", | |
"maxPriorityFeePerGas": "0xee6b2800", | |
"nonce": "0x1f6a12", | |
"r": "0x3ae694ffb513ff68dcb17ef4c3cb045c9dee0fc434ee1eb0cd91f02cf82835d8", | |
"s": "0x1c24cf0a8fe53df66d8c9ffc62e7ecb5e48074a441df4ac50a54c9129881fdc2", | |
"to": "0xd477b166cd2d9d5ce1ad61a741b9e422025311e9", | |
"transactionIndex": "0xf", | |
"type": "0x2", | |
"v": "0x1", | |
"value": "0x5c2fcbbfcb0400" | |
}, | |
{ | |
"accessList": [], | |
"blockHash": "0xf2d26a05cfb55a50a62dba15f4b9dde8a50214a71133720abd5e7f173809a644", | |
"blockNumber": "0xcac84d", | |
"chainId": "0x1", | |
"from": "0xb5d85cbf7cb3ee0d56b3bb207d5fc4b82f43f511", | |
"gas": "0x5208", | |
"gasPrice": "0x1d9cc49d4d", | |
"hash": "0xd1be295c344ab4b80452ff4ff62f51d888720ea3fe6a19fa6b94b7864d8be2ad", | |
"input": "0x", | |
"maxFeePerGas": "0x39f98e7a00", | |
"maxPriorityFeePerGas": "0xee6b2800", | |
"nonce": "0x278619", | |
"r": "0x9061be24604a2aa8079dcbd79ec40ca6401f8961c9734213c600aeffbfe0bbbb", | |
"s": "0x5296bd5a0575716d934e1ae7a46764352d65923fb1f3ec0cf5bd5bde4bd3741f", | |
"to": "0xb131449b315567d38a9b872de3376b2fdd28da18", | |
"transactionIndex": "0x10", | |
"type": "0x2", | |
"v": "0x1", | |
"value": "0xb1a2bc2ec50000" | |
}, | |
{ | |
"accessList": [], | |
"blockHash": "0xf2d26a05cfb55a50a62dba15f4b9dde8a50214a71133720abd5e7f173809a644", | |
"blockNumber": "0xcac84d", | |
"chainId": "0x1", | |
"from": "0xb1009683962cf2469e81315ed016bcb5dd1c55a0", | |
"gas": "0x1d4c0", | |
"gasPrice": "0x1d73fcd100", | |
"hash": "0x871dfa48e6e661a671bc9f237d78d35958f8362b3dea89b3ff65adf269173093", | |
"input": "0xa9059cbb0000000000000000000000004f6742badb049791cd9a37ea913f2bac38d01279000000000000000000000000000000000000000000000000000000000f4f19b3", | |
"maxFeePerGas": "0x1d73fcd100", | |
"maxPriorityFeePerGas": "0x1d73fcd100", | |
"nonce": "0x1", | |
"r": "0xa9e59742169039dcfd8465c9ec8ed2069b860a22a07f5acf278ce8a7f239395", | |
"s": "0x539f069f2ba681dd5d815a59b7f2a6a799a97dd4f2e68099e97c33b528995f50", | |
"to": "0xdac17f958d2ee523a2206206994597c13d831ec7", | |
"transactionIndex": "0x11", | |
"type": "0x2", | |
"v": "0x1", | |
"value": "0x0" | |
}, | |
{ | |
"accessList": [], | |
"blockHash": "0xf2d26a05cfb55a50a62dba15f4b9dde8a50214a71133720abd5e7f173809a644", | |
"blockNumber": "0xcac84d", | |
"chainId": "0x1", | |
"from": "0x7b54cd8a8329bdc06a8199529c930a4160069378", | |
"gas": "0x1d4c0", | |
"gasPrice": "0x1d73fcd100", | |
"hash": "0x41e86a55a9c00bfc5b4c6bc40073a35f99d4509254eda220dac7b54878db0f34", | |
"input": "0xa9059cbb0000000000000000000000004f6742badb049791cd9a37ea913f2bac38d01279000000000000000000000000000000000000000000000000000000000f33fa5d", | |
"maxFeePerGas": "0x1d73fcd100", | |
"maxPriorityFeePerGas": "0x1d73fcd100", | |
"nonce": "0x1", | |
"r": "0xc8d34afa33d650629a1c86eaf0b92455d2631e187e4f8f6a4d82ffdc617347d5", | |
"s": "0x557f343e69875984fc802b2eeccb1e49f5c665dd3032e523c652e5abd4d78c68", | |
"to": "0xdac17f958d2ee523a2206206994597c13d831ec7", | |
"transactionIndex": "0x12", | |
"type": "0x2", | |
"v": "0x1", | |
"value": "0x0" | |
}, | |
{ | |
"accessList": [], | |
"blockHash": "0xf2d26a05cfb55a50a62dba15f4b9dde8a50214a71133720abd5e7f173809a644", | |
"blockNumber": "0xcac84d", | |
"chainId": "0x1", | |
"from": "0x7cfed2a2d4a98680dac6aa55120f5af2ec562ebd", | |
"gas": "0x42173", | |
"gasPrice": "0x1d658edf45", | |
"hash": "0x2efec6208cff2b7f2c8a29ac74a268f8431c955004a5e9933373416206898216", | |
"input": "0x656f3d640000000000000000000000000000000000000000000000000000000000000060000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000150000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000022000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000002545cabbb88e31e10000000000000000000000000007cfed2a2d4a98680dac6aa55120f5af2ec562ebd000000000000000000000000000000000000000000000000000000000000008000000000000000000000000099d8a9c45b2eca8864373a26d1459e3dff1e17f30000000000000000000000007cfed2a2d4a98680dac6aa55120f5af2ec562ebd0000000000000000000000000000000000000000000002545cabbb88e31e0fff0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000026fa3fffb6efe8c1e69103acb4044c26b9a106a90000000000000000000000007cfed2a2d4a98680dac6aa55120f5af2ec562ebd0000000000000000000000000000000000000000000973e935b38b805c17edab00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0000000000000000000000007cfed2a2d4a98680dac6aa55120f5af2ec562ebd0000000000000000000000000000000000000000000000000000000000000000", | |
"maxFeePerGas": "0x25c161f09e", | |
"maxPriorityFeePerGas": "0xb73569f8", | |
"nonce": "0x8f2", | |
"r": "0xadc08080d16939fb921520d5b69ae362abbd6db185fa4abd50580ceb48a8ac95", | |
"s": "0x4bad97b5461fa03260ebe9ae8f5b50b7226dc85fd1ecc05cee256c2a43c9e8ee", | |
"to": "0xc319eea1e792577c319723b5e60a15da3857e7da", | |
"transactionIndex": "0x13", | |
"type": "0x2", | |
"v": "0x1", | |
"value": "0x0" | |
} | |
], | |
"transactionsRoot": "0x9cb89f86fa0cf616a3cbcca9ea375a5df283f6ed9f5e8b3ee66b255125a49186", | |
"uncles": [] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment