Actions20
- Block Number
- Chain ID
- Gas Price
- Get Balance
- Get Block by Hash
- Get Block by Number
- Get Block Tx Count by Hash
- Get Block Tx Count by Number
- Get Code
- Get My Balance
- Get Transaction by Block Hash and Index
- Get Transaction by Block Number and Index
- Get Transaction by Hash
- Get Transaction Count
- Get Transaction Receipt
- Get Uncle Count by Block Hash
- Get Uncle Count by Block Number
- Help
- Peer Count
- Syncing
Gas Price
AI-generatedSummary
Queries the Ethereum blockchain for the current gas price on a specified network.
Inputs
- network (required) — The network to query. Options: mainnet or sepolia.
Output shape
A list of items, each containing the raw API response object with the gas price (as a hex string) for the requested network.
The gas price is returned as a hexadecimal string (e.g., '0x4a817c00' for 1 Gwei). The response is a single item per input item.
Examples
Example 1: Fetch current Mainnet gas price
Set operation to 'Gas Price', network to 'mainnet'.
Example 2: Fetch current Sepolia testnet gas price
Set operation to 'Gas Price', network to 'sepolia'.