blocks
usage:
ctc blocks BLOCKS [options]
description:
output information about blocks
examples:
# get blocks 14000000 through 14000010
ctc blocks 14000000:14000010
# get blocks 14000000 through 15000000, every 100000 blocks
ctc blocks 14000000:15000000:100000
# get blocks 14000000 through 15000000, every 100000 blocks
ctc blocks 14000000:15000000 -n 10
# get blocks 14000000 through 14000100, with specific attributes
ctc blocks 14000000:14000100 --attributes timestamp,number
arguments:
BLOCKS block range to fetch
-n N number of blocks in block slice
--attributes ATTRIBUTES attributes to fetch from each block
--export EXPORT file path for output (.json or .csv)
--overwrite specify that output path can be overwritten
--provider PROVIDER rpc provider to use