publish Package Transaction
abstract suspend fun publishPackageTransaction(account: AccountAddressInput, metadataBytes: HexInput, moduleBytecode: List<HexInput>, options: InputGenerateTransactionOptions = InputGenerateTransactionOptions()): SimpleTransaction
Builds a transaction to publish a new Move package.
Return
A SimpleTransaction object ready to be signed and submitted.
Parameters
account
The address of the publishing account.
metadata Bytes
The serialized package metadata.
module Bytecode
A list of serialized bytecodes for each module in the package.
options
Optional configuration for the transaction.