Skip to main content

type

Fetch a structured representation of a concrete type, including its layout information.

Types are canonicalized: In the input they can be at any package address at or after the package that first defines them, and in the output they will be relocated to the package that first defines them.

Fails if the type is malformed, returns null if a type mentioned does not exist.

type(
type: String!
): MoveType

Arguments

type.type ● String! non-null scalar

Type

MoveType object

Represents concrete types (no type parameters, no references).