Docs

SplitsContractOutput

let SplitsContractOutput: ZodObject<
{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodString>;
name: ZodString;
recipients: ZodArray<
ZodObject<
{
address: ZodUnion<
[
ZodType<string, ZodTypeDef, string>,
ZodType<
`0x${string}`,
ZodTypeDef,
`${string}.eth` | `${string}.cb.id`
>,
]
>;
sharesBps: ZodNumber;
},
"strip",
ZodTypeAny,
{ address: string; sharesBps: number },
{ address: string; sharesBps: number }
>,
"many"
>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
},
"strip",
ZodUnknown,
objectOutputType<
{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodString>;
name: ZodString;
recipients: ZodArray<
ZodObject<
{
address: ZodUnion<
[
ZodType<string, ZodTypeDef, string>,
ZodType<
`0x${string}`,
ZodTypeDef,
`${string}.eth` | `${string}.cb.id`
>,
]
>;
sharesBps: ZodNumber;
},
"strip",
ZodTypeAny,
{ address: string; sharesBps: number },
{ address: string; sharesBps: number }
>,
"many"
>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
},
ZodUnknown,
"strip"
>,
objectInputType<
{
app_uri: ZodOptional<ZodString>;
description: ZodOptional<ZodString>;
external_link: ZodOptional<ZodString>;
image: ZodOptional<ZodString>;
name: ZodString;
recipients: ZodArray<
ZodObject<
{
address: ZodUnion<
[
ZodType<string, ZodTypeDef, string>,
ZodType<
`0x${string}`,
ZodTypeDef,
`${string}.eth` | `${string}.cb.id`
>,
]
>;
sharesBps: ZodNumber;
},
"strip",
ZodTypeAny,
{ address: string; sharesBps: number },
{ address: string; sharesBps: number }
>,
"many"
>;
social_urls: ZodOptional<ZodRecord<ZodString, ZodString>>;
},
ZodUnknown,
"strip"
>
>;