Skip to main content

isGenesisStateId() function

Checks if id is created from given state and type is genesis

Signature:

export declare function isGenesisStateId(id: bigint, state: bigint, type: Uint8Array): boolean;

Parameters

ParameterTypeDescription
idbigint
statebigint
typeUint8Array

Returns:

boolean

boolean - returns if id is genesis