{s}omniamarkets

@somnia-chain/markets-sdk


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

Interface: OperatorAdminConfig

Defined in: operatorAdmin.ts:25

Properties

walletClient?

optional walletClient?: object

Defined in: operatorAdmin.ts:27

A pre-built signer (e.g. a browser/wagmi wallet over an injected provider).


account?

optional account?: `0x${string}` | Account

Defined in: operatorAdmin.ts:29

A local signing account (e.g. from viem's privateKeyToAccount).


privateKey?

optional privateKey?: `0x${string}`

Defined in: operatorAdmin.ts:31

Private key — the SDK derives the account.


publicClient?

optional publicClient?: object

Defined in: operatorAdmin.ts:33

Read client for receipts. Defaults to the client's WebSocket client.


marketsCore?

optional marketsCore?: `0x${string}`

Defined in: operatorAdmin.ts:35

MarketsCore address override. Defaults to config.addresses.marketsCore.


gas?

optional gas?: bigint

Defined in: operatorAdmin.ts:37

Default gas ceiling per tx.