Comment on page
Types
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 |
---|---|
number |
Type | Description |
---|---|
`"ethereum" | "rinkeby" |
Name | Type | Description |
---|---|---|
chainId | number | |
ensAddress | string | Address of the ENS resolver (optional). If not provided, Connect will attempt to find one that correspond to the chainID. |
name | string | 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 |
---|---|
string |
Name | Type | Description |
---|---|---|
urlTemplate | string | |
cache | number | The number of query results to cache. Set to 0 to disable the cache (optional). |
Last modified 6mo ago