Block Bot 监控

Block Bot 监控是什么?

Block Bot 监控用于对目标链区块 Gas 消耗情况的追踪,从而达到对链可能发生情况做预判的目的。

Block Bot 监控典型场景

  1. 区块 Gas Fee 数值监控

  2. 区块 Gas 消耗占总区块限制最大比例的监控

  3. 监控区块 miner

支持的数据源

数据源类型稳定性

Ethereum

on chain

极高

如何配置 Block Bot 监控?

登录 ChainBot 平台后,右上角 "Create Bot" -> "Block Monitor"。

Info 说明

字段名说明是否必填

Name

Bot 监控名

Chain

用户选择的链

Tags

Bot 监控 tags,利于搜索

Conditions 说明

参数Symbol说明

Miner

==

监控特定矿工产出区块

BlockNumber

>, >=, <, <=, ==

区块高度

BaseFeePerGas

>, >=, <, <=, ==

区块 Gas Fee

GasUsedPercent

>, >=, <, <=, ==

区块 Gas 消耗占比

模板变量说明

变量说明

$block.number

区块高度

$block.baseFeePerGas

区块 gas fee

$block.gasUsedPercent

区块消耗 Gas 的百分比

$block.miner

矿工地址

$block.time

区块产生时间

默认告警模板

[{$bot.name}]
View: https://etherscan.io/block/{$block.height}
Time: {$alert.time}

了解告警通知模板?

通知消息示例

[ Ethereum Base Fee monitor ] BaseFee: 10.35 Gwei View: https://etherscan.io/block/16081313 Time: 2022-11-30T11:28:11+04:00 Created By ChainBot.io

Block Bot 监控案例

Block Bot 案例

最后更新于