1.0 gas costs
 Share
The version of the browser you are using is no longer supported. Please upgrade to a supported browser.Dismiss

 
View only
 
 
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABAC
1
ApproximationsGas price
2
ParamCompute (µs)History (bytes)State (bytes)BandwidthBloom topicMem quadComputedActualCoefficient
3
DUP333FASTESTSTEP
4
SWAP333FASTESTSTEP
5
PUSH333FASTESTSTEPMax execution time (us)31415921per microsecond
6
Max history growth per day (MB)32176.705502127per history byte
7
ADD333FASTESTSTEPMax state growth per day (MB)113190.8991181per state byte
8
MUL555FASTSTEPMax block size50.2561.053949per bandwidth byte
9
SUB333FASTESTSTEPMax bloom topics per block12566250.0073213per bloom topic
10
DIV555FASTSTEPMax memory (MB)390.001969793296
per memory quad (eg. 160 bytes -> 5 words -> 25 quads)
11
SDIV555FASTSTEP
12
MOD555FASTSTEP
13
SMOD555FASTSTEPGas limit3141592
14
ADDMOD888MIDSTEP
15
MULMOD888MIDSTEP
16
EXPBASE101010SLOWSTEP
17
EXPBYTE101010
18
SIGNEXTEND555FASTSTEP
19
LT333FASTESTSTEP
20
GT333FASTESTSTEP
21
SLT333FASTESTSTEP
22
SGT333FASTESTSTEP
23
EQ333FASTESTSTEP
24
ISZERO333FASTESTSTEP
25
AND333FASTESTSTEP
26
OR333FASTESTSTEP
27
XOR333FASTESTSTEP
28
NOT333FASTESTSTEP
29
BYTE333FASTESTSTEP
30
SHA3BASE303030
31
SHA3WORD666
32
ECRECOVER300030003000
33
SHA256BASE606060
34
SHA256WORD121212
35
RIPEMD160BASE600600600
36
RIPEMD160WORD120120120
37
IDENTITYBASE151515
38
IDENTITYWORD333
39
ADDRESS222QUICKSTEP
40
BALANCE202020EXTSTEP
41
ORIGIN222QUICKSTEP
42
CALLER222QUICKSTEP
43
CALLVALUE222QUICKSTEP
44
CALLDATALOAD333FASTESTSTEP
45
CALLDATASIZE222QUICKSTEP
46
CALLDATACOPYBASE
333FASTESTSTEP
47
CODESIZE222QUICKSTEP
48
CODECOPYBASE333FASTESTSTEP
49
GASPRICE222QUICKSTEP
50
EXTCODESIZE202020EXTSTEP
51
EXTCODECOPYBASE
202020EXTSTEP
52
GCOPYWORD333
53
BLOCKHASH202020EXTSTEP
54
COINBASE222QUICKSTEP
55
TIMESTAMP222QUICKSTEP
56
NUMBER222QUICKSTEP
57
DIFFICULTY222QUICKSTEP
58
GASLIMIT222QUICKSTEP
59
POP222QUICKSTEP
60
MLOAD333FASTESTSTEP
61
MSTORE333FASTESTSTEP
62
MSTORE8333FASTESTSTEP
63
SLOAD505050
64
STORAGEADD2007508020501.0560420000
65
STORAGEMOD20075005229.1265955000
66
STORAGEKILL200750-80-10042.80285
5000, plus 15000 refund
67
JUMP888MIDSTEP
68
JUMPI101010SLOWSTEP
69
PC222QUICKSTEP
70
MSIZE222QUICKSTEP
71
GAS222QUICKSTEP
72
JUMPDEST111
73
GLOG32101349.0623426375
74
GLOGTOPIC20161377.2953554375
75
GLOGDATA117.7055021278
76
CREATE40100012831180.5892432000
77
CREATEDATA31193.8991181200
New: full_memory_gas_cost = 3 * W + floor(W*W / 512)
78
GCALL404040
79
GCALLVALUETRANSFER
10006705.5021279000
Note: 2300 additional free gas to internal execution for calls that have value transfer
80
GCALLSTIPEND2300
81
GCALLNEWACCOUNT
012824435.0871125000
82
83
RETURN550ZEROSTEP
84
STOP110ZEROSTEP
85
SUICIDE100100ZEROSTEP
86
GSUICIDEREFUND-128-24435.08711
24000 refund
87
MEMWORD333
88
QUADCOEFFDIV10.001969793296
512 (divisor)
Old: full_memory_gas_cost = W + floor(W*W / 1024), W = words in memory
89
GTX10000120011024762.5369421000
90
GTXDATANONZERO
1167.7594511368
91
GTXDATAZERO0.06250.06254.2349656964
92
93
See https://github.com/ethereum/cpp-ethereum/blob/poc9trie/feeStructure.json
94
TierNameGas
95
0ZEROSTEP0
96
1QUICKSTEP2
97
2FASTESTSTEP3
98
3FASTSTEP5
99
4MIDSTEP8
100
5SLOWSTEP10
Loading...
 
 
 
Sheet1
Sheet2