Skip to main content

⚠️ This is the alpha version. The operation or type does not exist in the beta version.

PublishTransaction

Publishes a Move Package.

type PublishTransaction {
modules: [Base64!]!
dependencies: [SuiAddress!]!
}

Fields

PublishTransaction.modules ● [Base64!]! non-null scalar

Bytecode for the modules to be published, BCS serialized and Base64 encoded.

PublishTransaction.dependencies ● [SuiAddress!]! non-null scalar

IDs of the transitive dependencies of the package to be published.

Implemented By

ProgrammableTransaction union