@somnia-chain/markets-sdk / native / SomniaBlockParam
Type Alias: SomniaBlockParam
SomniaBlockParam =
SomniaBlockTag|bigint|number
Defined in: packages/sdk/src/native/types.ts:36
Where to read from: a tag, or an exact block number.
Note the node rejects a JSON number (-32602 invalid parameters) — pass a
bigint/number here and this module hex-encodes it for you.