Skip to main content

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