@latticexyz/network / NetworkConfig
Interface: NetworkConfig
Table of contents
Properties
- blockExplorer
- cacheAgeThreshold
- cacheInterval
- chainId
- clock
- encoders
- initialBlockNumber
- privateKey
- provider
- pruneOptions
- snapshotServiceUrl
- streamServiceUrl
Properties
blockExplorer
• Optional
blockExplorer: string
Defined in
types.ts:18 (opens in a new tab)
cacheAgeThreshold
• Optional
cacheAgeThreshold: number
Defined in
types.ts:19 (opens in a new tab)
cacheInterval
• Optional
cacheInterval: number
Defined in
types.ts:20 (opens in a new tab)
chainId
• chainId: number
Defined in
types.ts:11 (opens in a new tab)
clock
• clock: ClockConfig
Defined in
types.ts:13 (opens in a new tab)
encoders
• Optional
encoders: boolean
Defined in
types.ts:21 (opens in a new tab)
initialBlockNumber
• Optional
initialBlockNumber: number
Defined in
types.ts:17 (opens in a new tab)
privateKey
• Optional
privateKey: string
Defined in
types.ts:12 (opens in a new tab)
provider
• provider: ProviderConfig
Defined in
types.ts:14 (opens in a new tab)
pruneOptions
• Optional
pruneOptions: Object
Type declaration
Name | Type |
---|---|
hashedComponentId | string |
playerAddress | string |
Defined in
types.ts:22 (opens in a new tab)
snapshotServiceUrl
• Optional
snapshotServiceUrl: string
Defined in
types.ts:15 (opens in a new tab)
streamServiceUrl
• Optional
streamServiceUrl: string