get Normalized Move Modules By Package
abstract suspend fun getNormalizedMoveModulesByPackage(packageId: String, cursor: String?): Result<GetNormalizedMoveModulesByPackageQuery.Data?, SuiError>
Fetches a paginated list of all normalized modules within a given package.
Return
A Result which is either:
Ok
: Containing a nullable GetNormalizedMoveModulesByPackageQuery.Data object with a list of modules and a pagination cursor.Err
: Containing a SuiError object with a list of GraphQLErrors.
Parameters
package Id
The ID of the package to query modules from.
cursor
An optional cursor string for pagination.