Types
Last updated
Was this helpful?
This page describes the data types shared that are shared between the different Connect packages.
NetworkishNetworkish can be a number, a string or an object.
number
Chain ID of a network.
`"ethereum"
"rinkeby"
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.
IpfsResolverDeclarationIpfsResolverDeclaration can be a string, an object, or a IpfsResolver instance.
string
URL template containing the {cid} and {path} parameters.
cache
number
The number of query results to cache. Set to 0 to disable the cache (optional).
Last updated
Was this helpful?
Was this helpful?
