Variable SerializedTransactionDataV2Const

SerializedTransactionDataV2: ObjectSchema<{
    commands: ArraySchema<BaseSchema<EnumInputShape<{
        $Intent: {
            data: {};
            inputs: {};
            name: string;
        };
        MakeMoveVec: {
            elements: EnumInputShape<{
                GasCoin: true;
                Input: number;
                NestedResult: [(...), (...)];
                Result: number;
            }>[];
            type: null | string;
        };
        MergeCoins: {
            destination: EnumInputShape<{
                GasCoin: true;
                Input: number;
                NestedResult: [number, number];
                Result: number;
            }>;
            sources: EnumInputShape<{
                GasCoin: true;
                Input: number;
                NestedResult: [(...), (...)];
                Result: number;
            }>[];
        };
        MoveCall: {
            arguments: EnumInputShape<{
                GasCoin: true;
                Input: number;
                NestedResult: [(...), (...)];
                Result: number;
            }>[];
            function: string;
            module: string;
            package: string;
            typeArguments: string[];
        };
        Publish: {
            dependencies: string[];
            modules: string[];
        };
        SplitCoins: {
            amounts: EnumInputShape<{
                GasCoin: true;
                Input: number;
                NestedResult: [(...), (...)];
                Result: number;
            }>[];
            coin: EnumInputShape<{
                GasCoin: true;
                Input: number;
                NestedResult: [number, number];
                Result: number;
            }>;
        };
        TransferObjects: {
            address: EnumInputShape<{
                GasCoin: true;
                Input: number;
                NestedResult: [number, number];
                Result: number;
            }>;
            objects: EnumInputShape<{
                GasCoin: true;
                Input: number;
                NestedResult: [(...), (...)];
                Result: number;
            }>[];
        };
        Upgrade: {
            dependencies: string[];
            modules: string[];
            package: string;
            ticket: EnumInputShape<{
                GasCoin: true;
                Input: number;
                NestedResult: [number, number];
                Result: number;
            }>;
        };
    }>>, EnumInputShape<{
        $Intent: {
            data: {};
            inputs: {};
            name: string;
        };
        MakeMoveVec: {
            elements: EnumInputShape<{
                GasCoin: true;
                Input: number;
                NestedResult: [(...), (...)];
                Result: number;
            }>[];
            type: null | string;
        };
        MergeCoins: {
            destination: EnumInputShape<{
                GasCoin: true;
                Input: number;
                NestedResult: [number, number];
                Result: number;
            }>;
            sources: EnumInputShape<{
                GasCoin: true;
                Input: number;
                NestedResult: [(...), (...)];
                Result: number;
            }>[];
        };
        MoveCall: {
            arguments: EnumInputShape<{
                GasCoin: true;
                Input: number;
                NestedResult: [(...), (...)];
                Result: number;
            }>[];
            function: string;
            module: string;
            package: string;
            typeArguments: string[];
        };
        Publish: {
            dependencies: string[];
            modules: string[];
        };
        SplitCoins: {
            amounts: EnumInputShape<{
                GasCoin: true;
                Input: number;
                NestedResult: [(...), (...)];
                Result: number;
            }>[];
            coin: EnumInputShape<{
                GasCoin: true;
                Input: number;
                NestedResult: [number, number];
                Result: number;
            }>;
        };
        TransferObjects: {
            address: EnumInputShape<{
                GasCoin: true;
                Input: number;
                NestedResult: [number, number];
                Result: number;
            }>;
            objects: EnumInputShape<{
                GasCoin: true;
                Input: number;
                NestedResult: [(...), (...)];
                Result: number;
            }>[];
        };
        Upgrade: {
            dependencies: string[];
            modules: string[];
            package: string;
            ticket: EnumInputShape<{
                GasCoin: true;
                Input: number;
                NestedResult: [number, number];
                Result: number;
            }>;
        };
    }>[]>;
    expiration: NullishSchema<BaseSchema<EnumInputShape<{
        Epoch: string | number;
        None: true;
    }>>, undefined, undefined | null | EnumInputShape<{
        Epoch: string | number;
        None: true;
    }>>;
    gasData: ObjectSchema<{
        budget: NullableSchema<UnionSchema<(StringSchema<string> | NumberSchema<number>)[], string | number>, undefined, null | string | number>;
        owner: NullableSchema<SchemaWithTransform<StringSchema<string>, string>, undefined, null | string>;
        payment: NullableSchema<ArraySchema<ObjectSchema<{
            digest: StringSchema<string>;
            objectId: SchemaWithTransform<StringSchema<string>, string>;
            version: UnionSchema<((...) | (...))[], string | number>;
        }, undefined, {
            digest: string;
            objectId: string;
            version: string | number;
        }>, {
            digest: string;
            objectId: string;
            version: string | number;
        }[]>, undefined, null | {
            digest: string;
            objectId: string;
            version: string | number;
        }[]>;
        price: NullableSchema<UnionSchema<(StringSchema<string> | NumberSchema<number>)[], string | number>, undefined, null | string | number>;
    }, undefined, {
        budget: null | string | number;
        owner: null | string;
        payment: null | {
            digest: string;
            objectId: string;
            version: string | number;
        }[];
        price: null | string | number;
    }>;
    inputs: ArraySchema<BaseSchema<EnumInputShape<{
        Object: EnumInputShape<{
            ImmOrOwnedObject: {
                digest: string;
                objectId: string;
                version: string | number;
            };
            Receiving: {
                digest: string;
                objectId: string;
                version: string | number;
            };
            SharedObject: {
                initialSharedVersion: string | number;
                mutable: boolean;
                objectId: string;
            };
        }>;
        Pure: {
            bytes: string;
        };
        UnresolvedObject: {
            digest?: null | string;
            initialSharedVersion?: null | string | number;
            objectId: string;
            version?: null | string | number;
        };
        UnresolvedPure: {
            value: unknown;
        };
    }>>, EnumInputShape<{
        Object: EnumInputShape<{
            ImmOrOwnedObject: {
                digest: string;
                objectId: string;
                version: string | number;
            };
            Receiving: {
                digest: string;
                objectId: string;
                version: string | number;
            };
            SharedObject: {
                initialSharedVersion: string | number;
                mutable: boolean;
                objectId: string;
            };
        }>;
        Pure: {
            bytes: string;
        };
        UnresolvedObject: {
            digest?: null | string;
            initialSharedVersion?: null | string | number;
            objectId: string;
            version?: null | string | number;
        };
        UnresolvedPure: {
            value: unknown;
        };
    }>[]>;
    sender: NullishSchema<SchemaWithTransform<StringSchema<string>, string>, undefined, undefined | null | string>;
    version: LiteralSchema<2, 2>;
}, undefined, {
    commands: EnumInputShape<{
        $Intent: {
            data: {};
            inputs: {};
            name: string;
        };
        MakeMoveVec: {
            elements: EnumInputShape<{
                GasCoin: true;
                Input: number;
                NestedResult: [number, number];
                Result: number;
            }>[];
            type: null | string;
        };
        MergeCoins: {
            destination: EnumInputShape<{
                GasCoin: true;
                Input: number;
                NestedResult: [number, number];
                Result: number;
            }>;
            sources: EnumInputShape<{
                GasCoin: true;
                Input: number;
                NestedResult: [number, number];
                Result: number;
            }>[];
        };
        MoveCall: {
            arguments: EnumInputShape<{
                GasCoin: true;
                Input: number;
                NestedResult: [number, number];
                Result: number;
            }>[];
            function: string;
            module: string;
            package: string;
            typeArguments: string[];
        };
        Publish: {
            dependencies: string[];
            modules: string[];
        };
        SplitCoins: {
            amounts: EnumInputShape<{
                GasCoin: true;
                Input: number;
                NestedResult: [number, number];
                Result: number;
            }>[];
            coin: EnumInputShape<{
                GasCoin: true;
                Input: number;
                NestedResult: [number, number];
                Result: number;
            }>;
        };
        TransferObjects: {
            address: EnumInputShape<{
                GasCoin: true;
                Input: number;
                NestedResult: [number, number];
                Result: number;
            }>;
            objects: EnumInputShape<{
                GasCoin: true;
                Input: number;
                NestedResult: [number, number];
                Result: number;
            }>[];
        };
        Upgrade: {
            dependencies: string[];
            modules: string[];
            package: string;
            ticket: EnumInputShape<{
                GasCoin: true;
                Input: number;
                NestedResult: [number, number];
                Result: number;
            }>;
        };
    }>[];
    expiration: undefined | null | EnumInputShape<{
        Epoch: string | number;
        None: true;
    }>;
    gasData: {
        budget: null | string | number;
        owner: null | string;
        payment: null | {
            digest: string;
            objectId: string;
            version: string | number;
        }[];
        price: null | string | number;
    };
    inputs: EnumInputShape<{
        Object: EnumInputShape<{
            ImmOrOwnedObject: {
                digest: string;
                objectId: string;
                version: string | number;
            };
            Receiving: {
                digest: string;
                objectId: string;
                version: string | number;
            };
            SharedObject: {
                initialSharedVersion: string | number;
                mutable: boolean;
                objectId: string;
            };
        }>;
        Pure: {
            bytes: string;
        };
        UnresolvedObject: {
            digest?: null | string;
            initialSharedVersion?: null | string | number;
            objectId: string;
            version?: null | string | number;
        };
        UnresolvedPure: {
            value: unknown;
        };
    }>[];
    sender: undefined | null | string;
    version: 2;
}> = ...

Type declaration

  • commands: ArraySchema<BaseSchema<EnumInputShape<{
        $Intent: {
            data: {};
            inputs: {};
            name: string;
        };
        MakeMoveVec: {
            elements: EnumInputShape<{
                GasCoin: true;
                Input: number;
                NestedResult: [(...), (...)];
                Result: number;
            }>[];
            type: null | string;
        };
        MergeCoins: {
            destination: EnumInputShape<{
                GasCoin: true;
                Input: number;
                NestedResult: [number, number];
                Result: number;
            }>;
            sources: EnumInputShape<{
                GasCoin: true;
                Input: number;
                NestedResult: [(...), (...)];
                Result: number;
            }>[];
        };
        MoveCall: {
            arguments: EnumInputShape<{
                GasCoin: true;
                Input: number;
                NestedResult: [(...), (...)];
                Result: number;
            }>[];
            function: string;
            module: string;
            package: string;
            typeArguments: string[];
        };
        Publish: {
            dependencies: string[];
            modules: string[];
        };
        SplitCoins: {
            amounts: EnumInputShape<{
                GasCoin: true;
                Input: number;
                NestedResult: [(...), (...)];
                Result: number;
            }>[];
            coin: EnumInputShape<{
                GasCoin: true;
                Input: number;
                NestedResult: [number, number];
                Result: number;
            }>;
        };
        TransferObjects: {
            address: EnumInputShape<{
                GasCoin: true;
                Input: number;
                NestedResult: [number, number];
                Result: number;
            }>;
            objects: EnumInputShape<{
                GasCoin: true;
                Input: number;
                NestedResult: [(...), (...)];
                Result: number;
            }>[];
        };
        Upgrade: {
            dependencies: string[];
            modules: string[];
            package: string;
            ticket: EnumInputShape<{
                GasCoin: true;
                Input: number;
                NestedResult: [number, number];
                Result: number;
            }>;
        };
    }>>, EnumInputShape<{
        $Intent: {
            data: {};
            inputs: {};
            name: string;
        };
        MakeMoveVec: {
            elements: EnumInputShape<{
                GasCoin: true;
                Input: number;
                NestedResult: [(...), (...)];
                Result: number;
            }>[];
            type: null | string;
        };
        MergeCoins: {
            destination: EnumInputShape<{
                GasCoin: true;
                Input: number;
                NestedResult: [number, number];
                Result: number;
            }>;
            sources: EnumInputShape<{
                GasCoin: true;
                Input: number;
                NestedResult: [(...), (...)];
                Result: number;
            }>[];
        };
        MoveCall: {
            arguments: EnumInputShape<{
                GasCoin: true;
                Input: number;
                NestedResult: [(...), (...)];
                Result: number;
            }>[];
            function: string;
            module: string;
            package: string;
            typeArguments: string[];
        };
        Publish: {
            dependencies: string[];
            modules: string[];
        };
        SplitCoins: {
            amounts: EnumInputShape<{
                GasCoin: true;
                Input: number;
                NestedResult: [(...), (...)];
                Result: number;
            }>[];
            coin: EnumInputShape<{
                GasCoin: true;
                Input: number;
                NestedResult: [number, number];
                Result: number;
            }>;
        };
        TransferObjects: {
            address: EnumInputShape<{
                GasCoin: true;
                Input: number;
                NestedResult: [number, number];
                Result: number;
            }>;
            objects: EnumInputShape<{
                GasCoin: true;
                Input: number;
                NestedResult: [(...), (...)];
                Result: number;
            }>[];
        };
        Upgrade: {
            dependencies: string[];
            modules: string[];
            package: string;
            ticket: EnumInputShape<{
                GasCoin: true;
                Input: number;
                NestedResult: [number, number];
                Result: number;
            }>;
        };
    }>[]>
  • expiration: NullishSchema<BaseSchema<EnumInputShape<{
        Epoch: string | number;
        None: true;
    }>>, undefined, undefined | null | EnumInputShape<{
        Epoch: string | number;
        None: true;
    }>>
  • gasData: ObjectSchema<{
        budget: NullableSchema<UnionSchema<(StringSchema<string> | NumberSchema<number>)[], string | number>, undefined, null | string | number>;
        owner: NullableSchema<SchemaWithTransform<StringSchema<string>, string>, undefined, null | string>;
        payment: NullableSchema<ArraySchema<ObjectSchema<{
            digest: StringSchema<string>;
            objectId: SchemaWithTransform<StringSchema<string>, string>;
            version: UnionSchema<((...) | (...))[], string | number>;
        }, undefined, {
            digest: string;
            objectId: string;
            version: string | number;
        }>, {
            digest: string;
            objectId: string;
            version: string | number;
        }[]>, undefined, null | {
            digest: string;
            objectId: string;
            version: string | number;
        }[]>;
        price: NullableSchema<UnionSchema<(StringSchema<string> | NumberSchema<number>)[], string | number>, undefined, null | string | number>;
    }, undefined, {
        budget: null | string | number;
        owner: null | string;
        payment: null | {
            digest: string;
            objectId: string;
            version: string | number;
        }[];
        price: null | string | number;
    }>
  • inputs: ArraySchema<BaseSchema<EnumInputShape<{
        Object: EnumInputShape<{
            ImmOrOwnedObject: {
                digest: string;
                objectId: string;
                version: string | number;
            };
            Receiving: {
                digest: string;
                objectId: string;
                version: string | number;
            };
            SharedObject: {
                initialSharedVersion: string | number;
                mutable: boolean;
                objectId: string;
            };
        }>;
        Pure: {
            bytes: string;
        };
        UnresolvedObject: {
            digest?: null | string;
            initialSharedVersion?: null | string | number;
            objectId: string;
            version?: null | string | number;
        };
        UnresolvedPure: {
            value: unknown;
        };
    }>>, EnumInputShape<{
        Object: EnumInputShape<{
            ImmOrOwnedObject: {
                digest: string;
                objectId: string;
                version: string | number;
            };
            Receiving: {
                digest: string;
                objectId: string;
                version: string | number;
            };
            SharedObject: {
                initialSharedVersion: string | number;
                mutable: boolean;
                objectId: string;
            };
        }>;
        Pure: {
            bytes: string;
        };
        UnresolvedObject: {
            digest?: null | string;
            initialSharedVersion?: null | string | number;
            objectId: string;
            version?: null | string | number;
        };
        UnresolvedPure: {
            value: unknown;
        };
    }>[]>
  • sender: NullishSchema<SchemaWithTransform<StringSchema<string>, string>, undefined, undefined | null | string>
  • version: LiteralSchema<2, 2>

Type declaration

  • commands: EnumInputShape<{
        $Intent: {
            data: {};
            inputs: {};
            name: string;
        };
        MakeMoveVec: {
            elements: EnumInputShape<{
                GasCoin: true;
                Input: number;
                NestedResult: [number, number];
                Result: number;
            }>[];
            type: null | string;
        };
        MergeCoins: {
            destination: EnumInputShape<{
                GasCoin: true;
                Input: number;
                NestedResult: [number, number];
                Result: number;
            }>;
            sources: EnumInputShape<{
                GasCoin: true;
                Input: number;
                NestedResult: [number, number];
                Result: number;
            }>[];
        };
        MoveCall: {
            arguments: EnumInputShape<{
                GasCoin: true;
                Input: number;
                NestedResult: [number, number];
                Result: number;
            }>[];
            function: string;
            module: string;
            package: string;
            typeArguments: string[];
        };
        Publish: {
            dependencies: string[];
            modules: string[];
        };
        SplitCoins: {
            amounts: EnumInputShape<{
                GasCoin: true;
                Input: number;
                NestedResult: [number, number];
                Result: number;
            }>[];
            coin: EnumInputShape<{
                GasCoin: true;
                Input: number;
                NestedResult: [number, number];
                Result: number;
            }>;
        };
        TransferObjects: {
            address: EnumInputShape<{
                GasCoin: true;
                Input: number;
                NestedResult: [number, number];
                Result: number;
            }>;
            objects: EnumInputShape<{
                GasCoin: true;
                Input: number;
                NestedResult: [number, number];
                Result: number;
            }>[];
        };
        Upgrade: {
            dependencies: string[];
            modules: string[];
            package: string;
            ticket: EnumInputShape<{
                GasCoin: true;
                Input: number;
                NestedResult: [number, number];
                Result: number;
            }>;
        };
    }>[]
  • expiration: undefined | null | EnumInputShape<{
        Epoch: string | number;
        None: true;
    }>
  • gasData: {
        budget: null | string | number;
        owner: null | string;
        payment: null | {
            digest: string;
            objectId: string;
            version: string | number;
        }[];
        price: null | string | number;
    }
    • budget: null | string | number
    • owner: null | string
    • payment: null | {
          digest: string;
          objectId: string;
          version: string | number;
      }[]
    • price: null | string | number
  • inputs: EnumInputShape<{
        Object: EnumInputShape<{
            ImmOrOwnedObject: {
                digest: string;
                objectId: string;
                version: string | number;
            };
            Receiving: {
                digest: string;
                objectId: string;
                version: string | number;
            };
            SharedObject: {
                initialSharedVersion: string | number;
                mutable: boolean;
                objectId: string;
            };
        }>;
        Pure: {
            bytes: string;
        };
        UnresolvedObject: {
            digest?: null | string;
            initialSharedVersion?: null | string | number;
            objectId: string;
            version?: null | string | number;
        };
        UnresolvedPure: {
            value: unknown;
        };
    }>[]
  • sender: undefined | null | string
  • version: 2