Skip to main content

Gas Benchmarks

The gas usage of the FLow Protocol is not deterministic and varies by user. Calls to third-party contracts, such as ERC-20 tokens, may use an arbitrary amount of gas. The values in the table below are rough estimations - you shouldn't take them for granted.

The following gas benchmarks are generated using a 6-decimal token.

FunctionGas Usage
adjustRatePerSecond44171
create113681
deposit32975
depositViaBroker22732
pause7522
refund11939
restart7036
void (solvent stream)10060
void (insolvent stream)37460
withdraw (insolvent stream)57688
withdraw (solvent stream)38156
withdrawMax51988