getTypeLayout

open suspend override fun getTypeLayout(type: String): Result<GetTypeLayoutQuery.Data?, SuiError>

Resolves the on-chain memory layout for a specified Move type.

This is useful for serialization and deserialization.

Return

A Result which is either:

Parameters

type

The string representation of the Move type to resolve.