Skip to main content

latestPackage

The latest version of the package at address.

This corresponds to the package with the highest version that shares its original ID with the package at address.

latestPackage(
address: SuiAddress!
): MovePackage

Arguments

latestPackage.address ● SuiAddress! non-null scalar

Type

MovePackage object

A MovePackage is a kind of Move object that represents code that has been published on chain. It exposes information about its modules, type definitions, functions, and dependencies.