Skip to main content

Function: isTestnet()

isTestnet(chainNameOrId): boolean

Get whether or not a chain is a testnet.

Parameters

chainNameOrId: number | keyof TablelandNetworkConfig

The requested chain name or ID.

Returns

boolean

An boolean to indicate the testnet classification of the given chain.

Source

@tableland/sdk/src/helpers/chains.ts:101