get Type Layout
Resolves the on-chain memory layout for a specified Move type.
This is useful for serialization and deserialization.
Return
A Result which is either:
Ok
: Containing a nullable GetTypeLayoutQuery.Data object with the type layout details.Err
: Containing a SuiError object with a list of GraphQLErrors.
Parameters
type
The string representation of the Move type to resolve.