This page describes the data types shared that are shared between the different Connect packages.
Networkish can be a number, a string or an object.
Type | Description |
| ​Chain ID of a network. |
Type | Description | ​ | ​ |
`"ethereum" | "rinkeby" | "xdai"` | Name of a network, from a selection (prefer using a chain ID). |
Name | Type | Description |
|
| ​Chain ID of a network. |
|
| Address of the ENS resolver (optional). If not provided, Connect will attempt to find one that correspond to the chainID. |
|
| Name of the network. It will be passed to ethers.js internally. |
IpfsResolverDeclaration can be a string, an object, or a IpfsResolver
instance.
Type | Description |
| ​URL template containing the |
Name | Type | Description |
|
| ​URL template containing the |
|
| The number of query results to cache. Set to |