cast gas-price
NAME
cast-gas-price - Get the current gas price.
SYNOPSIS
cast gas-price
[options]
DESCRIPTION
Get the current gas price.
OPTIONS
RPC Options
--rpc-url
url
The RPC endpoint. Accepts a URL or an existing alias in the [rpc_endpoints] table, like mainnet
.
Environment: ETH_RPC_URL
--flashbots
Use the Flashbots RPC URL (https://rpc.flashbots.net)
Common Options
-h
--help
Prints help information.
EXAMPLES
- Get the current gas price:
cast gas-price