Resource Limits & Fees
Current Inclusion Fees
For the past three hours, inclusion fee statistics for smart contract transactions on the Mainnet network are:
Loading...
Resource Limits
note
Resource limitations and fees only apply to smart contract transactions. Read more about the inner workings of fees on Stellar in the Fees section.
Network Setting | Value |
---|---|
Soroban txn per ledger | 100 |
Max CPU instructions per txn | 100 million |
Memory limit per txn | 40 MB |
Ledger key size (contract storage key) | 250 bytes |
Ledger entry size (including Wasm entries) per txn | 128 KiB |
Read/Write ledger entries per txn | 40 read; 25 write |
Read/Write bytes per txn | 200 KB read; 129 KiB write |
Transaction size | 129 KiB |
Persistent entry minimal/initial lifetime | 120 days |
Temporary entry minimal/initial lifetime | 1 day |
Max ledger entry expiration bump | 6 months |
Events+return value size bytes | 8 KB |
Max write bytes per ledger | 140 KiB |
Max txs size in bytes per ledger | 130 KiB |
Eviction scan size | 500 KB |
Resource Fees
Network Setting | Cost (stroops) |
---|---|
10,000 instructions | 25 (250,000/max tx) |
Read 1 ledger entry | 6,250 (250,000/max tx) |
Write 1 ledger entry | 10,000 (250,000/max tx) |
Read 1KB from ledger | 1,786 (250,000/max tx) |
1KB of transaction size (bandwidth) | 1,624 (113,642/max tx) |
1KB of transaction size (history) | 16,235 (1,136,418/max tx) |
1KB of Events/return value | 10,000 (80,000/max tx) |
Write 1KB to ledger | ~11,800 (826'000/max tx) |
30 days of rent for 1 KB of persistent storage | 0.29 XLM |
30 days of rent for 1 KB of temporary storage | 0.145 XLM |
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.
The ledger rent cost ('Write 1KB' entries in the table) is based on the write fee, rent period and some coefficient.