Evolution SDK

NetworkId.ts

NetworkId overview


Table of contents


arbitrary

arbitrary

FastCheck generator for creating NetworkId instances. Generates values 0 (Testnet) or 1 (Mainnet).

Signature

export declare const arbitrary: FastCheck.Arbitrary<number>

Added in v2.0.0

schemas

NetworkId

Schema for NetworkId representing a Cardano network identifier. 0 = Testnet, 1 = Mainnet

Signature

export declare const NetworkId: Schema.refine<number, typeof Schema.NonNegative>

Added in v2.0.0

utils

NetworkId (type alias)

Signature

export type NetworkId = typeof NetworkId.Type