@somnia-chain/markets-sdk


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

Interface: RegisterOperatorResult

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

Result of OperatorAdmin.registerOperator — carries the id the contract assigned, which every later operator call keys on.

Extends

Properties

operatorId

operatorId: number

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

The auto-assigned operator id (decoded from OperatorRegistered).


hash

hash: `0x${string}`

Defined in: packages/sdk/src/trade.ts:126

The transaction hash.

Inherited from

TxResult.hash


receipt

receipt: TransactionReceipt

Defined in: packages/sdk/src/trade.ts:128

The mined receipt (status, gas used, logs).

Inherited from

TxResult.receipt


executionTimeMicros?

optional executionTimeMicros?: number

Defined in: packages/sdk/src/trade.ts:139

Node-side end-to-end time of the write in microseconds: from the node receiving the send to its answer, which covers mempool, finality and execution inside Somnia. Set when the node reports it with the receipt (eth_sendRawTransactionSync and session sends on a current Somnia node, or an executor that passes it through). Absent on an older node, on the eth_sendRawTransaction fallback, and for a wallet-client send. For a write with prerequisites (an approval first), it times the last transaction only.

Inherited from

TxResult.executionTimeMicros