Skip to main content

UpgradeTransaction

Upgrades a Move Package.

type UpgradeTransaction {
modules: [Base64!]!
dependencies: [IotaAddress!]!
currentPackage: IotaAddress!
upgradeTicket: TransactionArgument!
}

Fields

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

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

UpgradeTransaction.dependencies ● [IotaAddress!]! non-null scalar

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

UpgradeTransaction.currentPackage ● IotaAddress! non-null scalar

ID of the package being upgraded.

UpgradeTransaction.upgradeTicket ● TransactionArgument! non-null union

The UpgradeTicket authorizing the upgrade.

Implemented By

ProgrammableTransaction union