You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
\* Most transactions don't perform any disk reads, as only archived entries and 'classic' entries (G-accounts, trustlines) are considered to be disk reads. Live smart contract state is in-memory and is not counted towards this limit.
31
+
32
+
### TTL extension parameters
33
+
34
+
These define TTL extension parameters.
35
+
36
+
| Persistent entry TTL on creation | 120 days || Temporary entry TTL on creation | 1 day || Max ledger entry TTL extension | 6 months |
37
+
38
+
### Ledger-wide limits
39
+
40
+
These define the maximum amount of work done by all the transactions in a single ledger (single block).
| 1KB of Events/return value | 10,000 (80,000/max tx) |
43
-
| Write 1KB to ledger |~11,800 (826'000/max tx) |
44
-
| 30 days of rent for 1 KB of persistent storage | 0.29 XLM |
45
-
| 30 days of rent for 1 KB of temporary storage | 0.145 XLM |
46
-
47
-
Note that the write fee normally fluctuates a bit (within 100 stroops/KB). However, if the ledger grows too quickly, the write fee will grow in a linear fashion with a steep slope.
48
-
49
-
The ledger rent cost ('Write 1KB' entries in the table) is based on the write fee, rent period and some coefficient.
56
+
| 10,000 CPU instructions | 25 (250,000/max tx) |
57
+
| Read 1 ledger entry from disk | 6,250 (625,000/max tx) |
| 1KB of Events/return value | 10,000 (160,000/max tx) |
64
+
| 30 days of rent for 1 KB of persistent storage |~427,000 |
65
+
| 30 days of rent for 1 KB of temporary storage |~213,500 |
66
+
67
+
Note, that the rent fees provided here may go up in case if a lot of contract data is written to the ledger within a short time period. This happens because the rent fees are designed in such a way that the closer the state size to some validator-defined threshold, the more expensive it gets to write new data or extend the TTLs.
0 commit comments