get Type Layout
abstract suspend fun getTypeLayout(type: String): <Error class: unknown class><GetTypeLayoutQuery.Data?, <Error class: unknown class>>
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 SdkErrorDetails.
Parameters
type
The string representation of the Move type to resolve.