Skip to content

Commit ffb6c46

Browse files
authored
Merge pull request #5 from AmbireTech/improvement/networks-array-type
Improvement / Networks Array Type
2 parents f5a0e46 + e9d5a7e commit ffb6c46

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

src/constants/networks/networks.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,17 @@ export enum NETWORKS {
1515
'aurora' = 'aurora'
1616
}
1717

18-
const networks = [
18+
export type NetworkType = {
19+
id: string
20+
chainId: number
21+
rpc: string
22+
nativeAssetSymbol: string
23+
name: string
24+
explorerUrl: string
25+
unstoppableDomainsChain: string
26+
}
27+
28+
const networks: NetworkType[] = [
1929
{
2030
id: NETWORKS.ethereum,
2131
chainId: 1,

0 commit comments

Comments
 (0)