# Estimate L1 rollup fee

By [harrywon99.eth](https://paragraph.com/@harrywon99) · 2023-09-04

---

l1\_fee is obtained from this rpc method eth\_getTransactionReceipt, l2\_fee is to parse the transaction directly from the block, in the transaction with gas \* gasPrice or gasUsed \* gasPrice

l2 fee by parsing the transaction directly from the block, l2 fee = gas \* gasPrice or gasUsed \* gasPrice

---

*Originally published on [harrywon99.eth](https://paragraph.com/@harrywon99/estimate-l1-rollup-fee)*
