Skip to content

Centralized Sequencer Node

The centralized-sequencer node implements a pluggable centralized sequencer scheme. It can be configured using the following flags:

FlagUsageDefault
batch-timeTime in seconds to wait before generating a new batch2 seconds
da_addressDA addresshttp://localhost:26658
da_auth_tokenAuth token for the DA""
da_namespaceDA namespace where the sequencer submits transactions""
hostCentralized sequencer hostlocalhost
portCentralized sequencer port50051
listen-allListen on all network interfaces (0.0.0.0) instead of just localhostdisabled
metricsEnable Prometheus metricsdisabled
metrics-addressAddress to expose Prometheus metrics":8080"

See centralized-sequencer --help for details.

The centralized-sequencer node reports Prometheus metrics when the -metrics flag is enabled.

By default, metrics are exported to http://localhost:8080/metrics.

The listening address and port can be configured with the -metrics-address flag.

The following metrics are available:

NameTypeTagsDescription
sequencer_gas_priceGaugeGas price of the DA transaction
sequencer_last_blob_sizeGaugeLast blob size submitted to the DA
sequencer_transaction_statusGaugeTransaction status of the DA transaction
sequencer_num_pending_blocksGaugeNumber of blocks pending DA submission
sequencer_included_block_heightGaugeBlock height of the last DA transaction

Released under the APACHE-2.0 License