Estimating StarkGate fees

StarkGate enforces a minimum fee for all transactions to account for the L1 → L2 message costs. For more information, see L1 → L2 message fees.

You can estimate the fee using the following L1 functions:


Estimates the fee for a deposit transaction.


Estimates the fee for an enrollment transaction.