@somnia-chain/markets-sdk


@somnia-chain/markets-sdk / index / SetOperatorEnabledParams

Interface: SetOperatorEnabledParams

Defined in: packages/sdk/src/operatorAdmin.ts:141

Params for OperatorAdmin.setOperatorEnabled.

Properties

operatorId

operatorId: number

Defined in: packages/sdk/src/operatorAdmin.ts:143

The operator to flip. Caller must be its owner.


enabled

enabled: boolean

Defined in: packages/sdk/src/operatorAdmin.ts:145

New enabled flag (the operator-wide kill switch).


gas?

optional gas?: bigint

Defined in: packages/sdk/src/operatorAdmin.ts:147

Gas ceiling for this tx; overrides the config default.