Skip to content

Instantly share code, notes, and snippets.

@TOMOAKI12345
Last active August 25, 2016 14:45
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 TOMOAKI12345/729371f1186270b5573c2affb7280b9a to your computer and use it in GitHub Desktop.
Save TOMOAKI12345/729371f1186270b5573c2affb7280b9a to your computer and use it in GitHub Desktop.
ethereum full block cost (block gasLimit * gasPrice)

Cost for flooding network ?

eth.getBlock('latest') { difficulty: 67152520821340, extraData: "0xe4b883e5bda9e7a59ee4bb99e9b1bc", gasLimit: 4712388, gasUsed: 480752, hash: "0x021b08887e6e168ea22f130ff8dca3a9d0240363fb49e5a228be2627caaf90dd", logsBloom: "0x00000000040000020000080000060000000000000000000000800000000000020000040000000000000000000010400000000000004000080004000000202000000000000000000000400000000000000000000000040000408000000000000000900000000000000000004000000000000008000000000040028000000010000000000000000000000000400000020000400000000010000000000100001100020000040000000000002006000000000800010000000000000000000000000000004800008000000000000000000000000400000000000020010000000000000010000000000000000000000000080000010000000000000000000000000002", miner: "0x61c808d82a3ac53231750dadc13c777b59310bd9", nonce: "0x67c5d056ba10e0f8", number: 2137556, parentHash: "0x70fec830bcc239a7aa22386572d12a0eb63b22f3e6811b2252d40e183b74afa5", receiptRoot: "0xcbfa1d5749f6a039908796f135ed7951da65a0336223137b51066d63b6016639", sha3Uncles: "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347", size: 2425, stateRoot: "0x560bc1eccbe23b950c0f7cd526909f44546f25ecc2f42e3d52860f9ae4b0eb33", timestamp: 1472136190, totalDifficulty: 52149698633925734937, transactions: ["0x35feb5b3a0c925d3b30439584f2330117d2d2b168beaf40bf33719df1b96015f", "0x9bd666f79649878b2454cda312950fceda516be0e9b1cf6fb1134654fe4094bf", "0x59b423a21d278344f85c70786d2de4f01e2561c0b5399a36a83969f15f995667", "0x20ebc48f99916e26cacaf728f64c9721a2aba4b96c74c9cdd1b22b87f87a61a8", "0x149382a7b57445b6cedd1f4340bd82f77a1a4ba6672570519b25ec07065e13f4", "0x6783c96e6587c9086d5a197739fdf12c0b15cb9c3ea8dacbdc152ff9e98c484c", "0x38adb8a55a6720d9795cb64a8647e47ad11aa68540a42ff7c39f51630d2b34cc", "0xf1b98fe3a9213dccd65792c628184692780bb05a5c8bc530e0144d793738b815", "0x601d71660cd69dfa1233576c05927646de31a38e165c8bd6bbeb10f8b67cf722", "0x5398c3b6ace349ab9b33387946f9c85963740d42c6732a0ce2a4436d0d031b99", "0xf9cb2aa7a9537ef280ecc2a06957b42e98c13b3d1436e0a69449bba4b75bb19b", "0xc133936c1aafc373d6b4bc4acf17357351a4c43fb1951d095989749b9b7b6689", "0x628381d0dc408f124f47cf335bc9b4dd014d4f7c06ae24bf3ad6fd15db9a7d01"], transactionsRoot: "0x0951145e6043c22f94bdff20c7567dc56bd5c7762e8a05c3d37a3084d95d363f", uncles: [] } eth.gasPrice * eth.getBlock('latest').gasLimit / Math.pow(10, 18) 0.09424776

0.0942 Ether per block.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment