getNormalizedMoveModule

abstract suspend fun getNormalizedMoveModule(packageId: String, module: String): Result<GetNormalizedMoveModuleQuery.Data?, SuiError>

Fetches the normalized representation of a specific module within a package.

Return

A Result which is either:

  • Ok: Containing a nullable GetNormalizedMoveModuleQuery.Data object with the normalized module details.

  • Err: Containing a SuiError object with a list of GraphQLErrors.

Parameters

packageId

The ID of the package containing the module.

module

The name of the module.