Skip to content

getChain

getChain(id?): FilecoinChain

Defined in: packages/synapse-core/src/chains.ts:355

Get a chain by id

Parameter Type Description
id? number The chain id. Defaults to mainnet.

FilecoinChain

Errors getChain.ErrorType