Docs

BatchToReveal

type BatchToReveal = {
batchId: BigNumber;
batchUri: string;
placeholderMetadata: objectOutputType<
{
animation_url: ZodOptional<ZodNullable<ZodString>>;
attributes: ZodNullable<
ZodOptional<
ZodUnion<
[
ZodArray<
ZodObject<
{},
"strip",
ZodUnion<
[
ZodEffects<
ZodUnion<
[
ZodBigInt,
ZodType<BigNumber, ZodTypeDef, BigNumber>,
ZodType<BN, ZodTypeDef, BN>,
]
>,
string,
bigint | BN | BigNumber
>,
ZodUnknown,
]
>,
objectOutputType<
{},
ZodUnion<
[
ZodEffects<
ZodUnion<
[
ZodBigInt,
ZodType<
BigNumber,
ZodTypeDef,
BigNumber
>,
ZodType<BN, ZodTypeDef, BN>,
]
>,
string,
bigint | BN | BigNumber
>,
ZodUnknown,
]
>,
"strip"
>,
objectInputType<
{},
ZodUnion<
[
ZodEffects<
ZodUnion<
[
ZodBigInt,
ZodType<
BigNumber,
ZodTypeDef,
BigNumber
>,
ZodType<BN, ZodTypeDef, BN>,
]
>,
string,
bigint | BN | BigNumber
>,
ZodUnknown,
]
>,
"strip"
>
>,
"many"
>,
ZodObject<
{},
"strip",
ZodUnion<
[
ZodEffects<
ZodUnion<
[
ZodBigInt,
ZodType<BigNumber, ZodTypeDef, BigNumber>,
ZodType<BN, ZodTypeDef, BN>,
]
>,
string,
bigint | BN | BigNumber
>,
ZodUnknown,
]
>,
objectOutputType<
{},
ZodUnion<
[
ZodEffects<
ZodUnion<
[
ZodBigInt,
ZodType<BigNumber, ZodTypeDef, BigNumber>,
ZodType<BN, ZodTypeDef, BN>,
]
>,
string,
bigint | BN | BigNumber
>,
ZodUnknown,
]
>,
"strip"
>,
objectInputType<
{},
ZodUnion<
[
ZodEffects<
ZodUnion<
[
ZodBigInt,
ZodType<BigNumber, ZodTypeDef, BigNumber>,
ZodType<BN, ZodTypeDef, BN>,
]
>,
string,
bigint | BN | BigNumber
>,
ZodUnknown,
]
>,
"strip"
>
>,
]
>
>
>;
background_color: ZodNullable<
ZodOptional<
ZodUnion<
[
ZodString,
ZodEffects<ZodString, string, string>,
ZodString,
]
>
>
>;
description: ZodNullable<ZodOptional<ZodNullable<ZodString>>>;
external_url: ZodOptional<ZodNullable<ZodString>>;
id: ZodString;
image: ZodOptional<ZodNullable<ZodString>>;
name: ZodNullable<
ZodOptional<ZodUnion<[ZodString, ZodNumber]>>
>;
properties: ZodNullable<
ZodOptional<
ZodUnion<
[
ZodArray<
ZodObject<
{},
"strip",
ZodUnion<
[
ZodEffects<
ZodUnion<
[
ZodBigInt,
ZodType<BigNumber, ZodTypeDef, BigNumber>,
ZodType<BN, ZodTypeDef, BN>,
]
>,
string,
bigint | BN | BigNumber
>,
ZodUnknown,
]
>,
objectOutputType<
{},
ZodUnion<
[
ZodEffects<
ZodUnion<
[
ZodBigInt,
ZodType<
BigNumber,
ZodTypeDef,
BigNumber
>,
ZodType<BN, ZodTypeDef, BN>,
]
>,
string,
bigint | BN | BigNumber
>,
ZodUnknown,
]
>,
"strip"
>,
objectInputType<
{},
ZodUnion<
[
ZodEffects<
ZodUnion<
[
ZodBigInt,
ZodType<
BigNumber,
ZodTypeDef,
BigNumber
>,
ZodType<BN, ZodTypeDef, BN>,
]
>,
string,
bigint | BN | BigNumber
>,
ZodUnknown,
]
>,
"strip"
>
>,
"many"
>,
ZodObject<
{},
"strip",
ZodUnion<
[
ZodEffects<
ZodUnion<
[
ZodBigInt,
ZodType<BigNumber, ZodTypeDef, BigNumber>,
ZodType<BN, ZodTypeDef, BN>,
]
>,
string,
bigint | BN | BigNumber
>,
ZodUnknown,
]
>,
objectOutputType<
{},
ZodUnion<
[
ZodEffects<
ZodUnion<
[
ZodBigInt,
ZodType<BigNumber, ZodTypeDef, BigNumber>,
ZodType<BN, ZodTypeDef, BN>,
]
>,
string,
bigint | BN | BigNumber
>,
ZodUnknown,
]
>,
"strip"
>,
objectInputType<
{},
ZodUnion<
[
ZodEffects<
ZodUnion<
[
ZodBigInt,
ZodType<BigNumber, ZodTypeDef, BigNumber>,
ZodType<BN, ZodTypeDef, BN>,
]
>,
string,
bigint | BN | BigNumber
>,
ZodUnknown,
]
>,
"strip"
>
>,
]
>
>
>;
uri: ZodString;
},
ZodUnion<
[
ZodEffects<
ZodUnion<
[
ZodBigInt,
ZodType<BigNumber, ZodTypeDef, BigNumber>,
ZodType<BN, ZodTypeDef, BN>,
]
>,
string,
bigint | BN | BigNumber
>,
ZodUnknown,
]
>,
"strip"
>;
};