quiseos
Version:
EVM Networks & Node Providers Parameters Documentation
32 lines (29 loc) • 714 B
text/typescript
import type BlockExplorer from './blockExplorer'
import type Contract from './contract'
import type NativeCurrency from './nativeCurrency'
import type RpcNode from './rpcNode'
interface Network {
id: number
name: string
network: string
infoUrl: string
docsUrl: string
eipUrl: string
nativeCurrency: NativeCurrency
rpcNodes: {
[key: string]: RpcNode
public: RpcNode
default: RpcNode
}
blockExplorers?: {
[key: string]: BlockExplorer
default: BlockExplorer
}
contracts?: {
ensRegistry?: Contract
ensUniversalResolver?: Contract
multicall3?: Contract
}
testnet: boolean
}
export default Network