For the complete documentation index, see llms.txt. This page is also available as Markdown.

GasPriceTrigger

Description

Trigger contract that verifies if the current gas price of tx is lower than the max allowed gas price

Trigger ID

0x020a2a1f

SDK Action

const gasPriceTrigger = new dfs.triggers.GasPriceTrigger(
    maxGasPrice
);

Subscription Parameters

/// @param maxGasPrice max gas price that represents the triggerable point
struct SubParams {
    uint256 maxGasPrice;
}

Calldata Parameters

None

IsChangeable

false

Last updated