getChain
getChain(
id?):FilecoinChain
Defined in: packages/synapse-core/src/chains.ts:335
Get a chain by id
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
id? | number | The chain id. Defaults to mainnet. |
Returns
Section titled “Returns”Throws
Section titled “Throws”Errors getChain.ErrorType