Skip to main content

Function: getBaseUrl()

getBaseUrl(chainNameOrId): string

Get the default host uri for a given chain name.

Parameters

chainNameOrId: number | keyof TablelandNetworkConfig

The requested chain name.

Returns

string

A string representing the default host uri for a given chain.

Source

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