@somnia-chain/markets-sdk


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

Interface: SetOperatorEnabledParams

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

Params for OperatorAdmin.setOperatorEnabled.

Properties

operatorId

operatorId: number

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

The operator to flip. Caller must be its owner.


enabled

enabled: boolean

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

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


gas?

optional gas?: bigint

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

Gas ceiling for this tx; overrides the config default.