Skip to content

Schemas

const Schemas: {
lotusSignature: ZodObject<{
Data: ZodString;
Type: ZodUnion<[ZodLiteral<1>, ZodLiteral<2>]>;
}, "strip", ZodTypeAny, {
Data: string;
Type: 1 | 2;
}, {
Data: string;
Type: 1 | 2;
}>;
signature: ZodObject<{
data: ZodEffects<ZodType<BufferSource, ZodTypeDef, BufferSource>, Uint8Array<ArrayBufferLike>, BufferSource>;
type: ZodEnum<["SECP256K1", "BLS"]>;
}, "strip", ZodTypeAny, {
data: Uint8Array<ArrayBufferLike>;
type: "SECP256K1" | "BLS";
}, {
data: BufferSource;
type: "SECP256K1" | "BLS";
}>;
};

Defined in: packages/iso-filecoin/src/signature.js:22

Type declaration

lotusSignature

lotusSignature: ZodObject<{
Data: ZodString;
Type: ZodUnion<[ZodLiteral<1>, ZodLiteral<2>]>;
}, "strip", ZodTypeAny, {
Data: string;
Type: 1 | 2;
}, {
Data: string;
Type: 1 | 2;
}>;

signature

signature: ZodObject<{
data: ZodEffects<ZodType<BufferSource, ZodTypeDef, BufferSource>, Uint8Array<ArrayBufferLike>, BufferSource>;
type: ZodEnum<["SECP256K1", "BLS"]>;
}, "strip", ZodTypeAny, {
data: Uint8Array<ArrayBufferLike>;
type: "SECP256K1" | "BLS";
}, {
data: BufferSource;
type: "SECP256K1" | "BLS";
}>;