Skip to content

Latest commit

 

History

History
39 lines (23 loc) · 682 Bytes

cast-basefee.md

File metadata and controls

39 lines (23 loc) · 682 Bytes

cast basefee

NAME

cast-base-fee - Get the basefee of a block.

SYNOPSIS

cast base-fee [options] [block]

DESCRIPTION

Get the basefee of a block.

The specified block can be a block number, or any of the tags: earliest, finalized, safe, latest or pending. Default to latest.

OPTIONS

RPC Options

{{#include ../common/rpc-url-option.md}}

{{#include common-options.md}}

EXAMPLES

  1. Get the basefee of the latest block:

    cast base-fee
  2. Get the basefee of the genesis block:

    cast base-fee 1

SEE ALSO

cast, cast block, cast age