Quicknode RPC icon

Quicknode RPC

Interact with blockchain via Quicknode RPC

Get Gas Price

AI-generated

Summary

Retrieves the current gas price for a specified network via Quicknode RPC.

Inputs

None.

Output shape

A single record containing gas price in Wei and Gwei, plus network metadata.

Returns a JSON object with fields gasPriceWei (string), gasPriceGwei (string), method, and network.

Examples

Example 1: Check current gas price for the configured network.

No parameters required; uses default RPC endpoint and network from credentials.

Links

Discussion