teckel Ethereum icon

teckel Ethereum

Query the Ethereum blockchain via the teckel platform

Gas Price

AI-generated

Summary

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'.

Links

Discussion