Variable SerializedTransactionDataV1Const
SerializedTransactionDataV1: ObjectSchema<{ expiration: NullishSchema<UnionSchema<(ObjectSchema<{ Epoch: NumberSchema<number>; }, undefined, { Epoch: number; }> | ObjectSchema<{ None: NullableSchema<LiteralSchema<true, true>, undefined, null | true>; }, undefined, { None: null | true; }>)[], { Epoch: number; } | { None: null | true; }>, undefined, undefined | null | { Epoch: number; } | { None: null | true; }>; gasConfig: ObjectSchema<{ budget: OptionalSchema<UnionSchema<(StringSchema<string> | NumberSchema<number> | BigintSchema<bigint>)[], string | number | bigint>, undefined, undefined | string | number | bigint>; owner: OptionalSchema<StringSchema<string>, undefined, undefined | string>; payment: OptionalSchema<ArraySchema<ObjectSchema<{ digest: StringSchema<string>; objectId: StringSchema<string>; version: UnionSchema<((...
) | (...
) | (...
))[], string | number | bigint>; }, undefined, { digest: string; objectId: string; version: string | number | bigint; }>, { digest: string; objectId: string; version: string | number | bigint; }[]>, undefined, undefined | { digest: string; objectId: string; version: string | number | bigint; }[]>; price: OptionalSchema<UnionSchema<(StringSchema<string> | NumberSchema<number> | BigintSchema<bigint>)[], string | number | bigint>, undefined, undefined | string | number | bigint>; }, undefined, { budget?: string | number | bigint; owner?: string; payment?: { digest: string; objectId: string; version: string | number | bigint; }[]; price?: string | number | bigint; }>; inputs: ArraySchema<UnionSchema<(ObjectSchema<{ index: NumberSchema<number>; kind: LiteralSchema<"Input", "Input">; type: OptionalSchema<LiteralSchema<"object", "object">, undefined, undefined | "object">; value: UnknownSchema<unknown>; }, undefined, { index: number; kind: "Input"; type?: "object"; value: unknown; }> | ObjectSchema<{ index: NumberSchema<number>; kind: LiteralSchema<"Input", "Input">; type: LiteralSchema<"pure", "pure">; value: UnknownSchema<unknown>; }, undefined, { index: number; kind: "Input"; type: "pure"; value: unknown; }>)[], { index: number; kind: "Input"; type?: "object"; value: unknown; } | { index: number; kind: "Input"; type: "pure"; value: unknown; }>, ({ index: number; kind: "Input"; type?: "object"; value: unknown; } | { index: number; kind: "Input"; type: "pure"; value: unknown; })[]>; sender: OptionalSchema<StringSchema<string>, undefined, undefined | string>; transactions: ArraySchema<UnionSchema<(ObjectSchema<{ arguments: ArraySchema<UnionSchema<(...
)[], (...
) | (...
) | (...
) | (...
) | (...
)>, ((...
) | (...
) | (...
) | (...
) | (...
))[]>; kind: LiteralSchema<"MoveCall", "MoveCall">; target: BaseSchema<`${string}::${string}::${string}`>; typeArguments: ArraySchema<StringSchema<string>, string[]>; }, undefined, { arguments: ({ index: ...
; kind: ...
; type?: ...
; value: ...
; } | { index: ...
; kind: ...
; type: ...
; value: ...
; } | { kind: ...
; } | { index: ...
; kind: ...
; } | { index: ...
; kind: ...
; resultIndex: ...
; })[]; kind: "MoveCall"; target: `${string}::${string}::${string}`; typeArguments: string[]; }> | ObjectSchema<{ address: UnionSchema<((...
) | (...
) | (...
) | (...
))[], { index: ...
; kind: ...
; type?: ...
; value: ...
; } | { index: ...
; kind: ...
; type: ...
; value: ...
; } | { kind: ...
; } | { index: ...
; kind: ...
; } | { index: ...
; kind: ...
; resultIndex: ...
; }>; kind: LiteralSchema<"TransferObjects", "TransferObjects">; objects: ArraySchema<UnionSchema<(...
)[], (...
) | (...
) | (...
) | (...
) | (...
)>, ((...
) | (...
) | (...
) | (...
) | (...
))[]>; }, undefined, { address: { index: number; kind: "Input"; type?: (...
) | (...
); value: unknown; } | { index: number; kind: "Input"; type: "pure"; value: unknown; } | { kind: "GasCoin"; } | { index: number; kind: "Result"; } | { index: number; kind: "NestedResult"; resultIndex: number; }; kind: "TransferObjects"; objects: ({ index: ...
; kind: ...
; type?: ...
; value: ...
; } | { index: ...
; kind: ...
; type: ...
; value: ...
; } | { kind: ...
; } | { index: ...
; kind: ...
; } | { index: ...
; kind: ...
; resultIndex: ...
; })[]; }> | ObjectSchema<{ amounts: ArraySchema<UnionSchema<(...
)[], (...
) | (...
) | (...
) | (...
) | (...
)>, ((...
) | (...
) | (...
) | (...
) | (...
))[]>; coin: UnionSchema<((...
) | (...
) | (...
) | (...
))[], { index: ...
; kind: ...
; type?: ...
; value: ...
; } | { index: ...
; kind: ...
; type: ...
; value: ...
; } | { kind: ...
; } | { index: ...
; kind: ...
; } | { index: ...
; kind: ...
; resultIndex: ...
; }>; kind: LiteralSchema<"SplitCoins", "SplitCoins">; }, undefined, { amounts: ({ index: ...
; kind: ...
; type?: ...
; value: ...
; } | { index: ...
; kind: ...
; type: ...
; value: ...
; } | { kind: ...
; } | { index: ...
; kind: ...
; } | { index: ...
; kind: ...
; resultIndex: ...
; })[]; coin: { index: number; kind: "Input"; type?: (...
) | (...
); value: unknown; } | { index: number; kind: "Input"; type: "pure"; value: unknown; } | { kind: "GasCoin"; } | { index: number; kind: "Result"; } | { index: number; kind: "NestedResult"; resultIndex: number; }; kind: "SplitCoins"; }> | ObjectSchema<{ destination: UnionSchema<((...
) | (...
) | (...
) | (...
))[], { index: ...
; kind: ...
; type?: ...
; value: ...
; } | { index: ...
; kind: ...
; type: ...
; value: ...
; } | { kind: ...
; } | { index: ...
; kind: ...
; } | { index: ...
; kind: ...
; resultIndex: ...
; }>; kind: LiteralSchema<"MergeCoins", "MergeCoins">; sources: ArraySchema<UnionSchema<(...
)[], (...
) | (...
) | (...
) | (...
) | (...
)>, ((...
) | (...
) | (...
) | (...
) | (...
))[]>; }, undefined, { destination: { index: number; kind: "Input"; type?: (...
) | (...
); value: unknown; } | { index: number; kind: "Input"; type: "pure"; value: unknown; } | { kind: "GasCoin"; } | { index: number; kind: "Result"; } | { index: number; kind: "NestedResult"; resultIndex: number; }; kind: "MergeCoins"; sources: ({ index: ...
; kind: ...
; type?: ...
; value: ...
; } | { index: ...
; kind: ...
; type: ...
; value: ...
; } | { kind: ...
; } | { index: ...
; kind: ...
; } | { index: ...
; kind: ...
; resultIndex: ...
; })[]; }> | ObjectSchema<{ kind: LiteralSchema<"MakeMoveVec", "MakeMoveVec">; objects: ArraySchema<UnionSchema<(...
)[], (...
) | (...
) | (...
) | (...
) | (...
)>, ((...
) | (...
) | (...
) | (...
) | (...
))[]>; type: UnionSchema<((...
) | (...
))[], { Some: ...
; } | { None: ...
; }>; }, undefined, { kind: "MakeMoveVec"; objects: ({ index: ...
; kind: ...
; type?: ...
; value: ...
; } | { index: ...
; kind: ...
; type: ...
; value: ...
; } | { kind: ...
; } | { index: ...
; kind: ...
; } | { index: ...
; kind: ...
; resultIndex: ...
; })[]; type: { Some: TypeTag; } | { None: (...
) | (...
); }; }> | ObjectSchema<{ dependencies: ArraySchema<StringSchema<string>, string[]>; kind: LiteralSchema<"Publish", "Publish">; modules: ArraySchema<ArraySchema<NumberSchema<(...
)>, (...
)[]>, (...
)[][]>; }, undefined, { dependencies: string[]; kind: "Publish"; modules: number[][]; }> | ObjectSchema<{ dependencies: ArraySchema<StringSchema<string>, string[]>; kind: LiteralSchema<"Upgrade", "Upgrade">; modules: ArraySchema<ArraySchema<NumberSchema<(...
)>, (...
)[]>, (...
)[][]>; packageId: StringSchema<string>; ticket: UnionSchema<((...
) | (...
) | (...
) | (...
))[], { index: ...
; kind: ...
; type?: ...
; value: ...
; } | { index: ...
; kind: ...
; type: ...
; value: ...
; } | { kind: ...
; } | { index: ...
; kind: ...
; } | { index: ...
; kind: ...
; resultIndex: ...
; }>; }, undefined, { dependencies: string[]; kind: "Upgrade"; modules: number[][]; packageId: string; ticket: { index: number; kind: "Input"; type?: (...
) | (...
); value: unknown; } | { index: number; kind: "Input"; type: "pure"; value: unknown; } | { kind: "GasCoin"; } | { index: number; kind: "Result"; } | { index: number; kind: "NestedResult"; resultIndex: number; }; }>)[], { arguments: ({ index: number; kind: "Input"; type?: "object"; value: unknown; } | { index: number; kind: "Input"; type: "pure"; value: unknown; } | { kind: "GasCoin"; } | { index: number; kind: "Result"; } | { index: number; kind: "NestedResult"; resultIndex: number; })[]; kind: "MoveCall"; target: `${string}::${string}::${string}`; typeArguments: string[]; } | { address: { index: number; kind: "Input"; type?: "object"; value: unknown; } | { index: number; kind: "Input"; type: "pure"; value: unknown; } | { kind: "GasCoin"; } | { index: number; kind: "Result"; } | { index: number; kind: "NestedResult"; resultIndex: number; }; kind: "TransferObjects"; objects: ({ index: number; kind: "Input"; type?: "object"; value: unknown; } | { index: number; kind: "Input"; type: "pure"; value: unknown; } | { kind: "GasCoin"; } | { index: number; kind: "Result"; } | { index: number; kind: "NestedResult"; resultIndex: number; })[]; } | { amounts: ({ index: number; kind: "Input"; type?: "object"; value: unknown; } | { index: number; kind: "Input"; type: "pure"; value: unknown; } | { kind: "GasCoin"; } | { index: number; kind: "Result"; } | { index: number; kind: "NestedResult"; resultIndex: number; })[]; coin: { index: number; kind: "Input"; type?: "object"; value: unknown; } | { index: number; kind: "Input"; type: "pure"; value: unknown; } | { kind: "GasCoin"; } | { index: number; kind: "Result"; } | { index: number; kind: "NestedResult"; resultIndex: number; }; kind: "SplitCoins"; } | { destination: { index: number; kind: "Input"; type?: "object"; value: unknown; } | { index: number; kind: "Input"; type: "pure"; value: unknown; } | { kind: "GasCoin"; } | { index: number; kind: "Result"; } | { index: number; kind: "NestedResult"; resultIndex: number; }; kind: "MergeCoins"; sources: ({ index: number; kind: "Input"; type?: "object"; value: unknown; } | { index: number; kind: "Input"; type: "pure"; value: unknown; } | { kind: "GasCoin"; } | { index: number; kind: "Result"; } | { index: number; kind: "NestedResult"; resultIndex: number; })[]; } | { kind: "MakeMoveVec"; objects: ({ index: number; kind: "Input"; type?: "object"; value: unknown; } | { index: number; kind: "Input"; type: "pure"; value: unknown; } | { kind: "GasCoin"; } | { index: number; kind: "Result"; } | { index: number; kind: "NestedResult"; resultIndex: number; })[]; type: { Some: TypeTag; } | { None: null | true; }; } | { dependencies: string[]; kind: "Publish"; modules: number[][]; } | { dependencies: string[]; kind: "Upgrade"; modules: number[][]; packageId: string; ticket: { index: number; kind: "Input"; type?: "object"; value: unknown; } | { index: number; kind: "Input"; type: "pure"; value: unknown; } | { kind: "GasCoin"; } | { index: number; kind: "Result"; } | { index: number; kind: "NestedResult"; resultIndex: number; }; }>, ({ arguments: ({ index: number; kind: "Input"; type?: "object"; value: unknown; } | { index: number; kind: "Input"; type: "pure"; value: unknown; } | { kind: "GasCoin"; } | { index: number; kind: "Result"; } | { index: number; kind: "NestedResult"; resultIndex: number; })[]; kind: "MoveCall"; target: `${string}::${string}::${string}`; typeArguments: string[]; } | { address: { index: number; kind: "Input"; type?: "object"; value: unknown; } | { index: number; kind: "Input"; type: "pure"; value: unknown; } | { kind: "GasCoin"; } | { index: number; kind: "Result"; } | { index: number; kind: "NestedResult"; resultIndex: number; }; kind: "TransferObjects"; objects: ({ index: number; kind: "Input"; type?: "object"; value: unknown; } | { index: number; kind: "Input"; type: "pure"; value: unknown; } | { kind: "GasCoin"; } | { index: number; kind: "Result"; } | { index: number; kind: "NestedResult"; resultIndex: number; })[]; } | { amounts: ({ index: number; kind: "Input"; type?: "object"; value: unknown; } | { index: number; kind: "Input"; type: "pure"; value: unknown; } | { kind: "GasCoin"; } | { index: number; kind: "Result"; } | { index: number; kind: "NestedResult"; resultIndex: number; })[]; coin: { index: number; kind: "Input"; type?: "object"; value: unknown; } | { index: number; kind: "Input"; type: "pure"; value: unknown; } | { kind: "GasCoin"; } | { index: number; kind: "Result"; } | { index: number; kind: "NestedResult"; resultIndex: number; }; kind: "SplitCoins"; } | { destination: { index: number; kind: "Input"; type?: "object"; value: unknown; } | { index: number; kind: "Input"; type: "pure"; value: unknown; } | { kind: "GasCoin"; } | { index: number; kind: "Result"; } | { index: number; kind: "NestedResult"; resultIndex: number; }; kind: "MergeCoins"; sources: ({ index: number; kind: "Input"; type?: "object"; value: unknown; } | { index: number; kind: "Input"; type: "pure"; value: unknown; } | { kind: "GasCoin"; } | { index: number; kind: "Result"; } | { index: number; kind: "NestedResult"; resultIndex: number; })[]; } | { kind: "MakeMoveVec"; objects: ({ index: number; kind: "Input"; type?: "object"; value: unknown; } | { index: number; kind: "Input"; type: "pure"; value: unknown; } | { kind: "GasCoin"; } | { index: number; kind: "Result"; } | { index: number; kind: "NestedResult"; resultIndex: number; })[]; type: { Some: TypeTag; } | { None: null | true; }; } | { dependencies: string[]; kind: "Publish"; modules: number[][]; } | { dependencies: string[]; kind: "Upgrade"; modules: number[][]; packageId: string; ticket: { index: number; kind: "Input"; type?: "object"; value: unknown; } | { index: number; kind: "Input"; type: "pure"; value: unknown; } | { kind: "GasCoin"; } | { index: number; kind: "Result"; } | { index: number; kind: "NestedResult"; resultIndex: number; }; })[]>; version: LiteralSchema<1, 1>; }, undefined, { expiration: undefined | null | { Epoch: number; } | { None: null | true; }; gasConfig: { budget?: string | number | bigint; owner?: string; payment?: { digest: string; objectId: string; version: string | number | bigint; }[]; price?: string | number | bigint; }; inputs: ({ index: number; kind: "Input"; type?: "object"; value: unknown; } | { index: number; kind: "Input"; type: "pure"; value: unknown; })[]; sender?: string; transactions: ({ arguments: ({ index: number; kind: "Input"; type?: "object"; value: unknown; } | { index: number; kind: "Input"; type: "pure"; value: unknown; } | { kind: "GasCoin"; } | { index: number; kind: "Result"; } | { index: number; kind: "NestedResult"; resultIndex: number; })[]; kind: "MoveCall"; target: `${string}::${string}::${string}`; typeArguments: string[]; } | { address: { index: number; kind: "Input"; type?: "object"; value: unknown; } | { index: number; kind: "Input"; type: "pure"; value: unknown; } | { kind: "GasCoin"; } | { index: number; kind: "Result"; } | { index: number; kind: "NestedResult"; resultIndex: number; }; kind: "TransferObjects"; objects: ({ index: number; kind: "Input"; type?: "object"; value: unknown; } | { index: number; kind: "Input"; type: "pure"; value: unknown; } | { kind: "GasCoin"; } | { index: number; kind: "Result"; } | { index: number; kind: "NestedResult"; resultIndex: number; })[]; } | { amounts: ({ index: number; kind: "Input"; type?: "object"; value: unknown; } | { index: number; kind: "Input"; type: "pure"; value: unknown; } | { kind: "GasCoin"; } | { index: number; kind: "Result"; } | { index: number; kind: "NestedResult"; resultIndex: number; })[]; coin: { index: number; kind: "Input"; type?: "object"; value: unknown; } | { index: number; kind: "Input"; type: "pure"; value: unknown; } | { kind: "GasCoin"; } | { index: number; kind: "Result"; } | { index: number; kind: "NestedResult"; resultIndex: number; }; kind: "SplitCoins"; } | { destination: { index: number; kind: "Input"; type?: "object"; value: unknown; } | { index: number; kind: "Input"; type: "pure"; value: unknown; } | { kind: "GasCoin"; } | { index: number; kind: "Result"; } | { index: number; kind: "NestedResult"; resultIndex: number; }; kind: "MergeCoins"; sources: ({ index: number; kind: "Input"; type?: "object"; value: unknown; } | { index: number; kind: "Input"; type: "pure"; value: unknown; } | { kind: "GasCoin"; } | { index: number; kind: "Result"; } | { index: number; kind: "NestedResult"; resultIndex: number; })[]; } | { kind: "MakeMoveVec"; objects: ({ index: number; kind: "Input"; type?: "object"; value: unknown; } | { index: number; kind: "Input"; type: "pure"; value: unknown; } | { kind: "GasCoin"; } | { index: number; kind: "Result"; } | { index: number; kind: "NestedResult"; resultIndex: number; })[]; type: { Some: TypeTag; } | { None: null | true; }; } | { dependencies: string[]; kind: "Publish"; modules: number[][]; } | { dependencies: string[]; kind: "Upgrade"; modules: number[][]; packageId: string; ticket: { index: number; kind: "Input"; type?: "object"; value: unknown; } | { index: number; kind: "Input"; type: "pure"; value: unknown; } | { kind: "GasCoin"; } | { index: number; kind: "Result"; } | { index: number; kind: "NestedResult"; resultIndex: number; }; })[]; version: 1; }> = ... Type declaration
expiration: NullishSchema<UnionSchema<(ObjectSchema<{
Epoch: NumberSchema<number>;
}, undefined, {
Epoch: number;
}> | ObjectSchema<{
None: NullableSchema<LiteralSchema<true, true>, undefined, null | true>;
}, undefined, {
None: null | true;
}>)[], {
Epoch: number;
} | {
None: null | true;
}>, undefined, undefined | null | {
Epoch: number;
} | {
None: null | true;
}>
gasConfig: ObjectSchema<{
budget: OptionalSchema<UnionSchema<(StringSchema<string> | NumberSchema<number> | BigintSchema<bigint>)[], string | number | bigint>, undefined, undefined | string | number | bigint>;
owner: OptionalSchema<StringSchema<string>, undefined, undefined | string>;
payment: OptionalSchema<ArraySchema<ObjectSchema<{
digest: StringSchema<string>;
objectId: StringSchema<string>;
version: UnionSchema<((...) | (...) | (...))[], string | number | bigint>;
}, undefined, {
digest: string;
objectId: string;
version: string | number | bigint;
}>, {
digest: string;
objectId: string;
version: string | number | bigint;
}[]>, undefined, undefined | {
digest: string;
objectId: string;
version: string | number | bigint;
}[]>;
price: OptionalSchema<UnionSchema<(StringSchema<string> | NumberSchema<number> | BigintSchema<bigint>)[], string | number | bigint>, undefined, undefined | string | number | bigint>;
}, undefined, {
budget?: string | number | bigint;
owner?: string;
payment?: {
digest: string;
objectId: string;
version: string | number | bigint;
}[];
price?: string | number | bigint;
}>
inputs: ArraySchema<UnionSchema<(ObjectSchema<{
index: NumberSchema<number>;
kind: LiteralSchema<"Input", "Input">;
type: OptionalSchema<LiteralSchema<"object", "object">, undefined, undefined | "object">;
value: UnknownSchema<unknown>;
}, undefined, {
index: number;
kind: "Input";
type?: "object";
value: unknown;
}> | ObjectSchema<{
index: NumberSchema<number>;
kind: LiteralSchema<"Input", "Input">;
type: LiteralSchema<"pure", "pure">;
value: UnknownSchema<unknown>;
}, undefined, {
index: number;
kind: "Input";
type: "pure";
value: unknown;
}>)[], {
index: number;
kind: "Input";
type?: "object";
value: unknown;
} | {
index: number;
kind: "Input";
type: "pure";
value: unknown;
}>, ({
index: number;
kind: "Input";
type?: "object";
value: unknown;
} | {
index: number;
kind: "Input";
type: "pure";
value: unknown;
})[]>
sender: OptionalSchema<StringSchema<string>, undefined, undefined | string>
transactions: ArraySchema<UnionSchema<(ObjectSchema<{
arguments: ArraySchema<UnionSchema<(...)[], (...) | (...) | (...) | (...) | (...)>, ((...) | (...) | (...) | (...) | (...))[]>;
kind: LiteralSchema<"MoveCall", "MoveCall">;
target: BaseSchema<`${string}::${string}::${string}`>;
typeArguments: ArraySchema<StringSchema<string>, string[]>;
}, undefined, {
arguments: ({
index: ...;
kind: ...;
type?: ...;
value: ...;
} | {
index: ...;
kind: ...;
type: ...;
value: ...;
} | {
kind: ...;
} | {
index: ...;
kind: ...;
} | {
index: ...;
kind: ...;
resultIndex: ...;
})[];
kind: "MoveCall";
target: `${string}::${string}::${string}`;
typeArguments: string[];
}> | ObjectSchema<{
address: UnionSchema<((...) | (...) | (...) | (...))[], {
index: ...;
kind: ...;
type?: ...;
value: ...;
} | {
index: ...;
kind: ...;
type: ...;
value: ...;
} | {
kind: ...;
} | {
index: ...;
kind: ...;
} | {
index: ...;
kind: ...;
resultIndex: ...;
}>;
kind: LiteralSchema<"TransferObjects", "TransferObjects">;
objects: ArraySchema<UnionSchema<(...)[], (...) | (...) | (...) | (...) | (...)>, ((...) | (...) | (...) | (...) | (...))[]>;
}, undefined, {
address: {
index: number;
kind: "Input";
type?: (...) | (...);
value: unknown;
} | {
index: number;
kind: "Input";
type: "pure";
value: unknown;
} | {
kind: "GasCoin";
} | {
index: number;
kind: "Result";
} | {
index: number;
kind: "NestedResult";
resultIndex: number;
};
kind: "TransferObjects";
objects: ({
index: ...;
kind: ...;
type?: ...;
value: ...;
} | {
index: ...;
kind: ...;
type: ...;
value: ...;
} | {
kind: ...;
} | {
index: ...;
kind: ...;
} | {
index: ...;
kind: ...;
resultIndex: ...;
})[];
}> | ObjectSchema<{
amounts: ArraySchema<UnionSchema<(...)[], (...) | (...) | (...) | (...) | (...)>, ((...) | (...) | (...) | (...) | (...))[]>;
coin: UnionSchema<((...) | (...) | (...) | (...))[], {
index: ...;
kind: ...;
type?: ...;
value: ...;
} | {
index: ...;
kind: ...;
type: ...;
value: ...;
} | {
kind: ...;
} | {
index: ...;
kind: ...;
} | {
index: ...;
kind: ...;
resultIndex: ...;
}>;
kind: LiteralSchema<"SplitCoins", "SplitCoins">;
}, undefined, {
amounts: ({
index: ...;
kind: ...;
type?: ...;
value: ...;
} | {
index: ...;
kind: ...;
type: ...;
value: ...;
} | {
kind: ...;
} | {
index: ...;
kind: ...;
} | {
index: ...;
kind: ...;
resultIndex: ...;
})[];
coin: {
index: number;
kind: "Input";
type?: (...) | (...);
value: unknown;
} | {
index: number;
kind: "Input";
type: "pure";
value: unknown;
} | {
kind: "GasCoin";
} | {
index: number;
kind: "Result";
} | {
index: number;
kind: "NestedResult";
resultIndex: number;
};
kind: "SplitCoins";
}> | ObjectSchema<{
destination: UnionSchema<((...) | (...) | (...) | (...))[], {
index: ...;
kind: ...;
type?: ...;
value: ...;
} | {
index: ...;
kind: ...;
type: ...;
value: ...;
} | {
kind: ...;
} | {
index: ...;
kind: ...;
} | {
index: ...;
kind: ...;
resultIndex: ...;
}>;
kind: LiteralSchema<"MergeCoins", "MergeCoins">;
sources: ArraySchema<UnionSchema<(...)[], (...) | (...) | (...) | (...) | (...)>, ((...) | (...) | (...) | (...) | (...))[]>;
}, undefined, {
destination: {
index: number;
kind: "Input";
type?: (...) | (...);
value: unknown;
} | {
index: number;
kind: "Input";
type: "pure";
value: unknown;
} | {
kind: "GasCoin";
} | {
index: number;
kind: "Result";
} | {
index: number;
kind: "NestedResult";
resultIndex: number;
};
kind: "MergeCoins";
sources: ({
index: ...;
kind: ...;
type?: ...;
value: ...;
} | {
index: ...;
kind: ...;
type: ...;
value: ...;
} | {
kind: ...;
} | {
index: ...;
kind: ...;
} | {
index: ...;
kind: ...;
resultIndex: ...;
})[];
}> | ObjectSchema<{
kind: LiteralSchema<"MakeMoveVec", "MakeMoveVec">;
objects: ArraySchema<UnionSchema<(...)[], (...) | (...) | (...) | (...) | (...)>, ((...) | (...) | (...) | (...) | (...))[]>;
type: UnionSchema<((...) | (...))[], {
Some: ...;
} | {
None: ...;
}>;
}, undefined, {
kind: "MakeMoveVec";
objects: ({
index: ...;
kind: ...;
type?: ...;
value: ...;
} | {
index: ...;
kind: ...;
type: ...;
value: ...;
} | {
kind: ...;
} | {
index: ...;
kind: ...;
} | {
index: ...;
kind: ...;
resultIndex: ...;
})[];
type: {
Some: TypeTag;
} | {
None: (...) | (...);
};
}> | ObjectSchema<{
dependencies: ArraySchema<StringSchema<string>, string[]>;
kind: LiteralSchema<"Publish", "Publish">;
modules: ArraySchema<ArraySchema<NumberSchema<(...)>, (...)[]>, (...)[][]>;
}, undefined, {
dependencies: string[];
kind: "Publish";
modules: number[][];
}> | ObjectSchema<{
dependencies: ArraySchema<StringSchema<string>, string[]>;
kind: LiteralSchema<"Upgrade", "Upgrade">;
modules: ArraySchema<ArraySchema<NumberSchema<(...)>, (...)[]>, (...)[][]>;
packageId: StringSchema<string>;
ticket: UnionSchema<((...) | (...) | (...) | (...))[], {
index: ...;
kind: ...;
type?: ...;
value: ...;
} | {
index: ...;
kind: ...;
type: ...;
value: ...;
} | {
kind: ...;
} | {
index: ...;
kind: ...;
} | {
index: ...;
kind: ...;
resultIndex: ...;
}>;
}, undefined, {
dependencies: string[];
kind: "Upgrade";
modules: number[][];
packageId: string;
ticket: {
index: number;
kind: "Input";
type?: (...) | (...);
value: unknown;
} | {
index: number;
kind: "Input";
type: "pure";
value: unknown;
} | {
kind: "GasCoin";
} | {
index: number;
kind: "Result";
} | {
index: number;
kind: "NestedResult";
resultIndex: number;
};
}>)[], {
arguments: ({
index: number;
kind: "Input";
type?: "object";
value: unknown;
} | {
index: number;
kind: "Input";
type: "pure";
value: unknown;
} | {
kind: "GasCoin";
} | {
index: number;
kind: "Result";
} | {
index: number;
kind: "NestedResult";
resultIndex: number;
})[];
kind: "MoveCall";
target: `${string}::${string}::${string}`;
typeArguments: string[];
} | {
address: {
index: number;
kind: "Input";
type?: "object";
value: unknown;
} | {
index: number;
kind: "Input";
type: "pure";
value: unknown;
} | {
kind: "GasCoin";
} | {
index: number;
kind: "Result";
} | {
index: number;
kind: "NestedResult";
resultIndex: number;
};
kind: "TransferObjects";
objects: ({
index: number;
kind: "Input";
type?: "object";
value: unknown;
} | {
index: number;
kind: "Input";
type: "pure";
value: unknown;
} | {
kind: "GasCoin";
} | {
index: number;
kind: "Result";
} | {
index: number;
kind: "NestedResult";
resultIndex: number;
})[];
} | {
amounts: ({
index: number;
kind: "Input";
type?: "object";
value: unknown;
} | {
index: number;
kind: "Input";
type: "pure";
value: unknown;
} | {
kind: "GasCoin";
} | {
index: number;
kind: "Result";
} | {
index: number;
kind: "NestedResult";
resultIndex: number;
})[];
coin: {
index: number;
kind: "Input";
type?: "object";
value: unknown;
} | {
index: number;
kind: "Input";
type: "pure";
value: unknown;
} | {
kind: "GasCoin";
} | {
index: number;
kind: "Result";
} | {
index: number;
kind: "NestedResult";
resultIndex: number;
};
kind: "SplitCoins";
} | {
destination: {
index: number;
kind: "Input";
type?: "object";
value: unknown;
} | {
index: number;
kind: "Input";
type: "pure";
value: unknown;
} | {
kind: "GasCoin";
} | {
index: number;
kind: "Result";
} | {
index: number;
kind: "NestedResult";
resultIndex: number;
};
kind: "MergeCoins";
sources: ({
index: number;
kind: "Input";
type?: "object";
value: unknown;
} | {
index: number;
kind: "Input";
type: "pure";
value: unknown;
} | {
kind: "GasCoin";
} | {
index: number;
kind: "Result";
} | {
index: number;
kind: "NestedResult";
resultIndex: number;
})[];
} | {
kind: "MakeMoveVec";
objects: ({
index: number;
kind: "Input";
type?: "object";
value: unknown;
} | {
index: number;
kind: "Input";
type: "pure";
value: unknown;
} | {
kind: "GasCoin";
} | {
index: number;
kind: "Result";
} | {
index: number;
kind: "NestedResult";
resultIndex: number;
})[];
type: {
Some: TypeTag;
} | {
None: null | true;
};
} | {
dependencies: string[];
kind: "Publish";
modules: number[][];
} | {
dependencies: string[];
kind: "Upgrade";
modules: number[][];
packageId: string;
ticket: {
index: number;
kind: "Input";
type?: "object";
value: unknown;
} | {
index: number;
kind: "Input";
type: "pure";
value: unknown;
} | {
kind: "GasCoin";
} | {
index: number;
kind: "Result";
} | {
index: number;
kind: "NestedResult";
resultIndex: number;
};
}>, ({
arguments: ({
index: number;
kind: "Input";
type?: "object";
value: unknown;
} | {
index: number;
kind: "Input";
type: "pure";
value: unknown;
} | {
kind: "GasCoin";
} | {
index: number;
kind: "Result";
} | {
index: number;
kind: "NestedResult";
resultIndex: number;
})[];
kind: "MoveCall";
target: `${string}::${string}::${string}`;
typeArguments: string[];
} | {
address: {
index: number;
kind: "Input";
type?: "object";
value: unknown;
} | {
index: number;
kind: "Input";
type: "pure";
value: unknown;
} | {
kind: "GasCoin";
} | {
index: number;
kind: "Result";
} | {
index: number;
kind: "NestedResult";
resultIndex: number;
};
kind: "TransferObjects";
objects: ({
index: number;
kind: "Input";
type?: "object";
value: unknown;
} | {
index: number;
kind: "Input";
type: "pure";
value: unknown;
} | {
kind: "GasCoin";
} | {
index: number;
kind: "Result";
} | {
index: number;
kind: "NestedResult";
resultIndex: number;
})[];
} | {
amounts: ({
index: number;
kind: "Input";
type?: "object";
value: unknown;
} | {
index: number;
kind: "Input";
type: "pure";
value: unknown;
} | {
kind: "GasCoin";
} | {
index: number;
kind: "Result";
} | {
index: number;
kind: "NestedResult";
resultIndex: number;
})[];
coin: {
index: number;
kind: "Input";
type?: "object";
value: unknown;
} | {
index: number;
kind: "Input";
type: "pure";
value: unknown;
} | {
kind: "GasCoin";
} | {
index: number;
kind: "Result";
} | {
index: number;
kind: "NestedResult";
resultIndex: number;
};
kind: "SplitCoins";
} | {
destination: {
index: number;
kind: "Input";
type?: "object";
value: unknown;
} | {
index: number;
kind: "Input";
type: "pure";
value: unknown;
} | {
kind: "GasCoin";
} | {
index: number;
kind: "Result";
} | {
index: number;
kind: "NestedResult";
resultIndex: number;
};
kind: "MergeCoins";
sources: ({
index: number;
kind: "Input";
type?: "object";
value: unknown;
} | {
index: number;
kind: "Input";
type: "pure";
value: unknown;
} | {
kind: "GasCoin";
} | {
index: number;
kind: "Result";
} | {
index: number;
kind: "NestedResult";
resultIndex: number;
})[];
} | {
kind: "MakeMoveVec";
objects: ({
index: number;
kind: "Input";
type?: "object";
value: unknown;
} | {
index: number;
kind: "Input";
type: "pure";
value: unknown;
} | {
kind: "GasCoin";
} | {
index: number;
kind: "Result";
} | {
index: number;
kind: "NestedResult";
resultIndex: number;
})[];
type: {
Some: TypeTag;
} | {
None: null | true;
};
} | {
dependencies: string[];
kind: "Publish";
modules: number[][];
} | {
dependencies: string[];
kind: "Upgrade";
modules: number[][];
packageId: string;
ticket: {
index: number;
kind: "Input";
type?: "object";
value: unknown;
} | {
index: number;
kind: "Input";
type: "pure";
value: unknown;
} | {
kind: "GasCoin";
} | {
index: number;
kind: "Result";
} | {
index: number;
kind: "NestedResult";
resultIndex: number;
};
})[]>
version: LiteralSchema<1, 1>
Type declaration
expiration: undefined | null | {
Epoch: number;
} | {
None: null | true;
}
gasConfig: {
budget?: string | number | bigint;
owner?: string;
payment?: {
digest: string;
objectId: string;
version: string | number | bigint;
}[];
price?: string | number | bigint;
}
Optional
budget?: string | number | bigint
Optional
owner?: string
Optional
payment?: {
digest: string;
objectId: string;
version: string | number | bigint;
}[]
Optional
price?: string | number | bigint
inputs: ({
index: number;
kind: "Input";
type?: "object";
value: unknown;
} | {
index: number;
kind: "Input";
type: "pure";
value: unknown;
})[]
Optional
sender?: string
transactions: ({
arguments: ({
index: number;
kind: "Input";
type?: "object";
value: unknown;
} | {
index: number;
kind: "Input";
type: "pure";
value: unknown;
} | {
kind: "GasCoin";
} | {
index: number;
kind: "Result";
} | {
index: number;
kind: "NestedResult";
resultIndex: number;
})[];
kind: "MoveCall";
target: `${string}::${string}::${string}`;
typeArguments: string[];
} | {
address: {
index: number;
kind: "Input";
type?: "object";
value: unknown;
} | {
index: number;
kind: "Input";
type: "pure";
value: unknown;
} | {
kind: "GasCoin";
} | {
index: number;
kind: "Result";
} | {
index: number;
kind: "NestedResult";
resultIndex: number;
};
kind: "TransferObjects";
objects: ({
index: number;
kind: "Input";
type?: "object";
value: unknown;
} | {
index: number;
kind: "Input";
type: "pure";
value: unknown;
} | {
kind: "GasCoin";
} | {
index: number;
kind: "Result";
} | {
index: number;
kind: "NestedResult";
resultIndex: number;
})[];
} | {
amounts: ({
index: number;
kind: "Input";
type?: "object";
value: unknown;
} | {
index: number;
kind: "Input";
type: "pure";
value: unknown;
} | {
kind: "GasCoin";
} | {
index: number;
kind: "Result";
} | {
index: number;
kind: "NestedResult";
resultIndex: number;
})[];
coin: {
index: number;
kind: "Input";
type?: "object";
value: unknown;
} | {
index: number;
kind: "Input";
type: "pure";
value: unknown;
} | {
kind: "GasCoin";
} | {
index: number;
kind: "Result";
} | {
index: number;
kind: "NestedResult";
resultIndex: number;
};
kind: "SplitCoins";
} | {
destination: {
index: number;
kind: "Input";
type?: "object";
value: unknown;
} | {
index: number;
kind: "Input";
type: "pure";
value: unknown;
} | {
kind: "GasCoin";
} | {
index: number;
kind: "Result";
} | {
index: number;
kind: "NestedResult";
resultIndex: number;
};
kind: "MergeCoins";
sources: ({
index: number;
kind: "Input";
type?: "object";
value: unknown;
} | {
index: number;
kind: "Input";
type: "pure";
value: unknown;
} | {
kind: "GasCoin";
} | {
index: number;
kind: "Result";
} | {
index: number;
kind: "NestedResult";
resultIndex: number;
})[];
} | {
kind: "MakeMoveVec";
objects: ({
index: number;
kind: "Input";
type?: "object";
value: unknown;
} | {
index: number;
kind: "Input";
type: "pure";
value: unknown;
} | {
kind: "GasCoin";
} | {
index: number;
kind: "Result";
} | {
index: number;
kind: "NestedResult";
resultIndex: number;
})[];
type: {
Some: TypeTag;
} | {
None: null | true;
};
} | {
dependencies: string[];
kind: "Publish";
modules: number[][];
} | {
dependencies: string[];
kind: "Upgrade";
modules: number[][];
packageId: string;
ticket: {
index: number;
kind: "Input";
type?: "object";
value: unknown;
} | {
index: number;
kind: "Input";
type: "pure";
value: unknown;
} | {
kind: "GasCoin";
} | {
index: number;
kind: "Result";
} | {
index: number;
kind: "NestedResult";
resultIndex: number;
};
})[]
version: 1