Skip to main content

multiGetTypes

Fetch types by their string representations.

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.

Returns a list of types that is guaranteed to be the same length as keys. If a type in keys could not be found, its corresponding entry in the result will be null.

multiGetTypes(
keys: [String!]!
): [MoveType]!

Arguments

multiGetTypes.keys ● [String!]! non-null scalar

Type

MoveType object

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