unsafe_publish
Create an unsigned transaction to publish a Move package.
Parameters:
signer< SuiAddress > - The transaction signer's Sui address
compiled_modules<[ Base64 ]> - The compiled bytes of a Move package
dependencies<[ ObjectID ]> - A list of transitive dependency addresses that this set of modules depends on.
gas< ObjectID > - Gas object to be used in this transaction, node will pick one from the signer's possession if not provided
gas_budget< BigInt_for_uint64 > - The gas budget, the transaction will fail if the gas cost exceed the budget
Returns:
TransactionBlockBytes< TransactionBlockBytes >
Example:
Last updated