ToggleSub
Description
Action ID
SDK Action
const toggleSubAction = new dfs.actions.basic.ToggleSubAction(
subId,
active
);Action Type
Input Parameters
/// @param subId ID of the subscription to toggle
/// @param active Whether to activate or deactivate the subscription
struct Params {
uint256 subId;
bool active;
}Return Value
Events and Logs
Last updated