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.

TypeOrigin

Information about which previous versions of a package introduced its types.

type TypeOrigin {
module: String
struct: String
definingId: SuiAddress
}

Fields

TypeOrigin.module ● String scalar

Module defining the type.

TypeOrigin.struct ● String scalar

Name of the struct.

TypeOrigin.definingId ● SuiAddress scalar

The storage ID of the package that first defined this type.

Member Of

MovePackage object