Skip to content

getChain

getChain(id?): FilecoinChain

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

Get a chain by id

ParameterTypeDescription
id?numberThe chain id. Defaults to mainnet.

FilecoinChain

Errors getChain.ErrorType