Message Variable Template

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

paramtypecomment

$bot.name

string

The name of the Bot

$bot.url

string

The link to the Bot

$alert

paramtypecomment

$alert.time

string

The time the alert was triggered, in the user's time zone

$alert.timestamp

uint64

Timestamp

$chain

paramtypecomment

$chain.type

string

ethereum

$chain.chainId

uint64

chain_id

$chain.symbol

string

The symbol of the native token of the chain

$chain.decimals

int

The decimals of the native token of the chain

$chain.explore

string

Link to the block explorer

$block

paramtypecomment

$block.hash

string

Block hash

$block.height

uint64

Block height

$block.minter

string

Block miner address

$block.baseFeePerGas

float64

Base fee per gas for the block, in gwei

$block.gasUsedPercent

float64

Percentage of gas used in the block

$tx

paramtypecomment

$tx.hash

string

Transaction hash

$tx.nonce

string

Transaction nonce

$tx.from

string

From address

$tx.to

string

To address

$tx.value

string

Transaction value

$tx.gas

string

Quantity of gas used by the transaction

$tx.input

string

Input data of the transaction

…

$nft

paramtypecomment

$tx.hash

string

Transaction hash

$tx.nonce

string

Transaction nonce

$tx.from

string

From address

$tx.to

string

To address

$tx.value

string

Transaction value

$tx.gas

string

Quantity of gas used by the transaction

$tx.input

string

Input data of the transaction

…

$dex

paramtypecomment

$dex.name

string

DEX name

$dex.address

string

DEX swap contract address

$dex.tokenBase.symbol

string

Token base symbol

$dex.tokenBase.address

string

Token base address

$dex.tokenBase.decimals

int

Token base decimals

$dex.tokenBase.amount

decimal

Token base amount

$dex.tokenBase.balance

decimal

Token base liquidity

$dex.tokenQuote.symbol

string

Token quote symbol

$dex.tokenQuote.address

string

Token quote address

$dex.tokenQuote.decimals

int

Token quote decimals

$dex.tokenQuote.amount

decimal

Token quote amount

$dex.tokenQuote.balance

decimal

Token quote liquidity

$dex.value

decimal

Token quantity

$dex.USDValue

decimal

Token USD value

$dex.price

decimal

Price

$dex.priceUSD

decimal

USD-based price

$dex.action

string

Action

$dex.tokenIn.symbol

string

Token in symbol

$dex.tokenIn.address

string

Token in address

$dex.tokenIn.decimals

int

Token in decimals

$dex.tokenIn.amount

decimal

Token in amount

$dex.tokenOut.symbol

string

Token out symbol

$dex.tokenOut.address

string

Token out address

$dex.tokenOut.decimals

int

Token out decimals

$dex.tokenOut.amount

decimal

Token out amount

$dex.direction

📈 📉

Up / Down

$dex.changed.duration

string

Change duration

$dex.changed.rate

decimal

Change rate

$dex.changed.direction

📈 📉

Up / Down

$snapshot

paramtypecomment

$snapshot.event

string

Callback event

$snapshot.time

string

Time

$snapshot.proposal.id

string

ID

$snapshot.proposal.title

string

Title

$snapshot.proposal.author

string

Author

$snapshot.proposal.state

string

State

$snapshot.proposal.event

string

Event

$snapshot.proposal.space

string

Space

$snapshot.proposal.link

string

Link

$snapshot.proposal.body

string

Content

$snapshot.proposal.start

string

Start time

$snapshot.proposal.end

string

End time

$snapshot.space.id

string

Space ID

$snapshot.space.name

string

Space name

$snapshot.space.about

string

Space description

$snapshot.space.network

string

Space network

$snapshot.space.symbol

string

Space symbol

$value

paramtypecomment

$value.values

map

Formatted values, for dynamic parsing, such as $value.values.balance, $value.values[”outpu0”]

$value.condition

string

All condition content converted to a string

$value.conditions

map

Conditions configured in the bot converted to a map, with the key as the first field of the condition, and the value as the condition converted to a string

Last updated