mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-04-17 08:29:51 +03:00
Fix: network codes
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
import { z } from 'zod';
|
||||
import { networkCodes } from '../../constants';
|
||||
import { SupportedChainId } from '../../types';
|
||||
|
||||
export const pureChainInfoPayloadSchema = z.object({
|
||||
chainId: z.nativeEnum(SupportedChainId),
|
||||
label: z.string(),
|
||||
shortName: z.string(),
|
||||
code: z.string(),
|
||||
code: z.enum(networkCodes),
|
||||
explorer: z.string(),
|
||||
rpc: z.string(),
|
||||
baseCurrencyName: z.string(),
|
||||
|
||||
Reference in New Issue
Block a user