@somnia-chain/markets-sdk


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

Function: blockActivityKey()

blockActivityKey(blockNumber, opts?, chain?): ClientQueryKey

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

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

chain?

QueryKeyChainOptions

Returns

ClientQueryKey