@somnia-chain/markets-sdk


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

Function: blockActivityKey()

blockActivityKey(blockNumber, opts?): ClientQueryKey

Defined in: packages/sdk/src/queryKeys.ts:183

Key for client.getBlockActivity(blockNumber, opts).

The block alone identifies the question — the client resolves the anchoring timestamp itself, so there is no second argument that could disagree with it.

Parameters

blockNumber

bigint | null | undefined

opts?

BlockActivityOptions

Returns

ClientQueryKey