Function: getChainInfo()
getChainInfo(
chainNameOrId
):ChainInfo
Get the default chain information for a given chain name.
Parameters
• chainNameOrId: number
| keyof TablelandNetworkConfig
The requested chain name or ID.
Returns
An object containing the default chainId, contractAddress, chainName, and baseUrl for the given chain.
Source
@tableland/sdk/src/helpers/chains.ts:82