Skip to main content

PackageKey

Identifies a specific version of a package.

The address field must be specified, as well as at most one of version, or atCheckpoint. If neither is provided, the package is fetched at the current checkpoint.

See Query.package for more details.

input PackageKey {
address: SuiAddress!
atCheckpoint: UInt53
version: UInt53
}

Fields

PackageKey.address ● SuiAddress! non-null scalar

The object's ID.

PackageKey.atCheckpoint ● UInt53 scalar

If specified, tries to fetch the latest version as of this checkpoint.

PackageKey.version ● UInt53 scalar

If specified, tries to fetch the package at this exact version.

Member Of

multiGetPackages query