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
Parameter | Type | Description |
---|---|---|
id | bigint | |
state | bigint | |
type | Uint8Array |
Returns:
boolean
boolean - returns if id is genesis