Skip to main content
⚠️ This is the beta version of the Sui GraphQL schema. The beta schema will replace the alpha GraphQL schema upon its official release.

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!
version: UInt53
atCheckpoint: UInt53
}

Fields

PackageKey.address ● SuiAddress! non-null scalar

The object's ID.

PackageKey.version ● UInt53 scalar

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

PackageKey.atCheckpoint ● UInt53 scalar

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

Member Of

multiGetPackages query