ChainBot Docs
中文
中文
  • 🎉ChainBot 介绍
  • ☺️快速开始
  • 🚀基础使用
    • 🤖监控/Bot
      • Transaction Bot 监控
      • Event Bot 监控
      • DEX Bot 监控
      • Value Bot 监控
      • NFT Bot 监控
      • Snapshot Bot 监控
      • Block Bot 监控
      • Arweave Bot 监控
    • 🧲列表/List
      • 创建 List
      • 管理 List
    • 📝合约管理/Contract
      • 添加合约
      • 管理合约
    • 📮通知渠道/Notify Channels
      • Email
      • Slack
      • Discord
      • Telegram
      • DingTalk
      • Pushover
      • Pagerduty
      • Webhook
      • Lark
      • Cobo Argus
    • 🔔订阅/Subscription
  • 💻高级功能
    • Fork Bot
    • 管理 Bot
    • 告警通知模板
      • 消息模版变量汇总表
    • Condition(s) 说明
    • Webhooks
    • ⛏️支持的数据源
    • API
      • Api Key申请
      • Api Doc
  • Bot 配置案例
    • Event Bot 案例
    • Dex Bot 案例
    • Value Bot 案例
    • Transaction Bot 案例
    • Block Bot 案例
    • NFT Bot 案例
    • Snapshot Bot 案例
    • Arweave Bot 案例
  • 🫂隐私条款
    • Privacy Policy
    • Terms of Services
  • Support
    • 🤔FAQ
    • 📩Contact us
由 GitBook 提供支持
在本页
  • Block Bot 监控是什么?
  • Block Bot 监控典型场景
  • 如何配置 Block Bot 监控?
  1. 基础使用
  2. 监控/Bot

Block Bot 监控

上一页Snapshot Bot 监控下一页Arweave Bot 监控

最后更新于10个月前

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}

通知消息示例

Block Bot 监控案例

Block Bot 案例

[ Ethereum Base Fee monitor ] BaseFee: 10.35 Gwei View: Time: 2022-11-30T11:28:11+04:00 Created By

🚀
🤖
了解告警通知模板?
https://etherscan.io/block/16081313
ChainBot.io
Create a Block Bot