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 提供支持
在本页
  • 所有 Monitor 通用变量:
  • Address Monitor:
  • Block Monitor:
  • Arweave Monitor:
  • NFT Monitor:
  • DEX Monitor:
  • Value Monitor:
  • Snapshot Monitor:
  • 变量详细说明
  • $bot
  • $alert
  • $chain
  • $block
  • $tx
  • $nft
  • $dex
  • $snapshot
  • $value
  1. 高级功能
  2. 告警通知模板

消息模版变量汇总表

所有 Monitor 通用变量:

  • $bot

  • $alert

Address Monitor:

  • $bot

  • $alert

  • $chain

  • $block

  • $tx

Block Monitor:

  • $bot

  • $alert

  • $chain

  • $block

Arweave Monitor:

  • $bot

  • $alert

  • $chain

  • $block

  • $tx

NFT Monitor:

  • $bot

  • $alert

  • $block

  • $nft

DEX Monitor:

  • $bot

  • $alert

  • $dex

Value Monitor:

  • $bot

  • $alert

  • $value

Snapshot Monitor:

  • $bot

  • $alert

  • $Snapshot

变量详细说明

$bot

param
type
comment

$bot.name

string

此 Bot 的名称

$bot.url

string

此 Bot 的链接

$alert

param
type
comment

$alert.time

string

alert 触发的时间,按照用户所在时区

$alert.timestamp

uint64

时间戳

$chain

param
type
comment

$chain.type

string

ethereum

$chain.chainId

uint64

chain_id

$chain.symbol

string

链native token的symbol

$chain.decimals

int

链native token的decimals

$chain.explore

string

区块浏览器链接

$block

param
type
comment

$block.hash

string

区块hash

$block.height

uint64

区块高度

$block.minter

string

区块挖掘者 address

$block.baseFeePerGas

float64

该block的 basefee, 单位gwei

$block.gasUsedPercent

float64

该block 的 gas 使用的百分比

$tx

param
type
comment

$tx.hash

string

交易hash

$tx.nonce

string

交易nonce

$tx.from

string

from address

$tx.to

string

to address

$tx.value

string

tx value

$tx.gas

string

tx 花费的gas数量

$tx.input

string

tx 的input data

…

$nft

param
type
comment

$tx.hash

string

交易hash

$tx.nonce

string

交易nonce

$tx.from

string

from address

$tx.to

string

to address

$tx.value

string

tx value

$tx.gas

string

tx 花费的gas数量

$tx.input

string

tx 的input data

…

$dex

param
type
comment

$dex.name

string

dex name

$dex.address

string

dex swap 合约地址

$dex.tokenBase.symbol

string

tokenBase symbol

$dex.tokenBase.address

string

tokenBase address

$dex.tokenBase.decimals

int

tokenBase 精度

$dex.tokenBase.amount

decimal

tokenBase 数量

$dex.tokenBase.balance

decimal

tokenBase流动性

$dex.tokenQuote.symbol

string

tokenQuote symbol

$dex.tokenQuote.address

string

tokenQuote address

$dex.tokenQuote.decimals

int

tokenQuote 精度

$dex.tokenQuote.amount

decimal

tokenQuote 数量

$dex.tokenQuote.balance

decimal

tokenQuote 流动性

$dex.value

decimal

token数量

$dex.USDValue

decimal

token usd价值

$dex.price

decimal

价格

$dex.priceUSD

decimal

usd本位价格

$dex.action

string

动作

$dex.tokenIn.symbol

string

tokenIn symbol

$dex.tokenIn.address

string

tokenIn address

$dex.tokenIn.decimals

int

tokenIn 精度

$dex.tokenIn.amount

decimal

tokenIn 数量

$dex.tokenOut.symbol

string

tokenOut symbol

$dex.tokenOut.address

string

tokenOut address

$dex.tokenOut.decimals

int

tokenOut 精度

$dex.tokenOut.amount

decimal

tokenOut 数量

$dex.direction

📈 📉

上涨 /下跌

$dex.changed.duration

string

变动时间区间

$dex.changed.rate

decimal

变动速率

$dex.changed.direction

📈 📉

上涨 /下跌

$snapshot

param
type
comment

$snapshot.event

string

回调事件

$snapshot.time

string

时间

$snapshot.proposal.id

string

id

$snapshot.proposal.title

string

标题

$snapshot.proposal.author

string

作者

$snapshot.proposal.state

string

状态

$snapshot.proposal.event

string

事件

$snapshot.proposal.space

string

space

$snapshot.proposal.link

string

链接

$snapshot.proposal.body

string

内容

$snapshot.proposal.start

string

开始时间

$snapshot.proposal.end

string

结束时间

$snapshot.space.id

string

space id

$snapshot.space.name

string

space 名字

$snapshot.space.about

string

space 介绍

$snapshot.space.network

string

space network

$snapshot.space.symbol

string

space 符号

$value

param
type
comment

$value.values

map

formater 后的数值,为动态解析,比如 $value.values.balance, $value.values[”outpu0”]

$value.condition

string

所有 condition 内容转为字符串

$value.conditions

map

bot配置的condition转为map,key为condition 第一个字段, value为condition转为字符串

上一页告警通知模板下一页Condition(s) 说明

最后更新于10个月前

💻