Skip to content

Latest commit

 

History

History
32 lines (18 loc) · 489 Bytes

cast-find-block.md

File metadata and controls

32 lines (18 loc) · 489 Bytes

cast find-block

NAME

cast-find-block - Get the block number closest to the provided timestamp.

SYNOPSIS

cast find-block [options] timestamp

DESCRIPTION

Get the block number closest to the provided timestamp.

OPTIONS

RPC Options

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

{{#include common-options.md}}

EXAMPLES

  1. Get the block number closest to New Years 2021
    cast find-block 1609459200

SEE ALSO

cast