Skip to content

@acala-network/chopsticks-coreDocs


@acala-network/chopsticks-core / genesisSchema

Variable: genesisSchema

const genesisSchema: ZodObject<object, "strip", ZodTypeAny, object, object>

Type declaration

genesis

genesis: ZodObject<object, "strip", ZodTypeAny, object, object>

Type declaration

raw

raw: ZodObject<object, "strip", ZodTypeAny, object, object>

Type declaration
top

top: ZodRecord<ZodString, ZodString>

id

id: ZodString

name

name: ZodString

properties

properties: ZodObject<object, "strip", ZodTypeAny, object, object>

Type declaration

ss58Format

ss58Format: ZodOptional<ZodNumber>

tokenDecimals

tokenDecimals: ZodOptional<ZodUnion<[ZodNumber, ZodArray<ZodNumber, "many">]>>

tokenSymbol

tokenSymbol: ZodOptional<ZodUnion<[ZodString, ZodArray<ZodString, "many">]>>

Defined in

packages/core/src/schema/index.ts:3