Documentation

    Interface UnsafePublishParams

    Create an unsigned transaction to publish a Move package.

    interface UnsafePublishParams {
        compiledModules: string[];
        dependencies: string[];
        gas?: null | string;
        gasBudget: string;
        sender: string;
        signal?: AbortSignal;
    }
    Index

    Properties

    compiledModules: string[]

    the compiled bytes of a Move package

    dependencies: string[]

    a list of transitive dependency addresses that this set of modules depends on.

    gas?: null | string

    gas object to be used in this transaction, node will pick one from the signer's possession if not provided

    gasBudget: string

    the gas budget, the transaction will fail if the gas cost exceed the budget

    sender: string

    the transaction signer's Sui address

    signal?: AbortSignal
    MMNEPVFCICPMFPCPTTAAATR