Variable SerializedTransactionDataV1Const
SerializedTransactionDataV1: ObjectSchema<
{
expiration: NullishSchema<
UnionSchema<
[
ObjectSchema<
{
Epoch: SchemaWithPipe<
[NumberSchema<undefined>, IntegerAction<number, undefined>],
>;
},
undefined,
>,
ObjectSchema<
{ None: NullableSchema<LiteralSchema<true, undefined>, never> },
undefined,
>,
],
undefined,
>,
never,
>;
gasConfig: ObjectSchema<
{
budget: OptionalSchema<
SchemaWithPipe<
[
UnionSchema<
[
NumberSchema<undefined>,
StringSchema<undefined>,
BigintSchema<undefined>,
],
undefined,
>,
CheckAction<string | number | bigint, undefined>,
],
>,
never,
>;
owner: OptionalSchema<StringSchema<undefined>, never>;
payment: OptionalSchema<
ArraySchema<
ObjectSchema<
{
digest: StringSchema<undefined>;
objectId: StringSchema<undefined>;
version: UnionSchema<
[
SchemaWithPipe<(...)>,
StringSchema<(...)>,
BigintSchema<(...)>,
],
undefined,
>;
},
undefined,
>,
undefined,
>,
never,
>;
price: OptionalSchema<
SchemaWithPipe<
[
UnionSchema<
[
NumberSchema<undefined>,
StringSchema<undefined>,
BigintSchema<undefined>,
],
undefined,
>,
CheckAction<string | number | bigint, undefined>,
],
>,
never,
>;
},
undefined,
>;
inputs: ArraySchema<
UnionSchema<
[
ObjectSchema<
{
index: SchemaWithPipe<
[NumberSchema<undefined>, IntegerAction<number, undefined>],
>;
kind: LiteralSchema<"Input", undefined>;
type: OptionalSchema<LiteralSchema<"object", undefined>, never>;
value: UnknownSchema;
},
undefined,
>,
ObjectSchema<
{
index: SchemaWithPipe<
[NumberSchema<undefined>, IntegerAction<number, undefined>],
>;
kind: LiteralSchema<"Input", undefined>;
type: LiteralSchema<"pure", undefined>;
value: UnknownSchema;
},
undefined,
>,
],
undefined,
>,
undefined,
>;
sender: OptionalSchema<StringSchema<undefined>, never>;
transactions: ArraySchema<
UnionSchema<
[
ObjectSchema<
{
arguments: ArraySchema<
UnionSchema<
[
UnionSchema<(...), (...)>,
ObjectSchema<(...), (...)>,
ObjectSchema<(...), (...)>,
ObjectSchema<(...), (...)>,
],
undefined,
>,
undefined,
>;
kind: LiteralSchema<"MoveCall", undefined>;
target: GenericSchema<
`${string}::${string}::${string}`,
`${string}::${string}::${string}`,
>;
typeArguments: ArraySchema<StringSchema<undefined>, undefined>;
},
undefined,
>,
ObjectSchema<
{
address: UnionSchema<
[
UnionSchema<[(...), (...)], undefined>,
ObjectSchema<{ kind: ... }, undefined>,
ObjectSchema<{ index: ...; kind: ... }, undefined>,
ObjectSchema<
{ index: ...; kind: ...; resultIndex: ... },
undefined,
>,
],
undefined,
>;
kind: LiteralSchema<"TransferObjects", undefined>;
objects: ArraySchema<
UnionSchema<
[
UnionSchema<(...), (...)>,
ObjectSchema<(...), (...)>,
ObjectSchema<(...), (...)>,
ObjectSchema<(...), (...)>,
],
undefined,
>,
undefined,
>;
},
undefined,
>,
ObjectSchema<
{
amounts: ArraySchema<
UnionSchema<
[
UnionSchema<(...), (...)>,
ObjectSchema<(...), (...)>,
ObjectSchema<(...), (...)>,
ObjectSchema<(...), (...)>,
],
undefined,
>,
undefined,
>;
coin: UnionSchema<
[
UnionSchema<[(...), (...)], undefined>,
ObjectSchema<{ kind: ... }, undefined>,
ObjectSchema<{ index: ...; kind: ... }, undefined>,
ObjectSchema<
{ index: ...; kind: ...; resultIndex: ... },
undefined,
>,
],
undefined,
>;
kind: LiteralSchema<"SplitCoins", undefined>;
},
undefined,
>,
],
undefined,
>,
undefined,
>;
version: LiteralSchema<1, undefined>;
},
undefined,
> = ...