--- title: gwei description: OpenBB SDK Function --- import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; # gwei Returns the most recent Ethereum gas fees in gwei Source Code: [[link](https://github.com/OpenBB-finance/OpenBBTerminal/tree/main/openbb_terminal/cryptocurrency/onchain/ethgasstation_model.py#L13)] ```python openbb.crypto.onchain.gwei() ``` --- ## Parameters This function does not take any parameters. --- ## Returns | Type | Description | | ---- | ----------- | | pd.DataFrame | four gas fees and durations
(fees for slow, average, fast and
fastest transactions in gwei and
its average durations in seconds) | ---
Current gwei fees Source Code: [[link](https://github.com/OpenBB-finance/OpenBBTerminal/tree/main/openbb_terminal/cryptocurrency/onchain/ethgasstation_view.py#L14)] ```python openbb.crypto.onchain.gwei_chart(export: str = "") ``` --- ## Parameters | Name | Type | Description | Default | Optional | | ---- | ---- | ----------- | ------- | -------- | | export | str | Export dataframe data to csv,json,xlsx file | | True | --- ## Returns This function does not return anything ---