getNormalizedMoveFunction

abstract suspend fun getNormalizedMoveFunction(id: String): Result<GetNormalizedMoveFunctionQuery.Data?, SuiError>

Fetches the normalized (desugared and with types expanded) representation of a Move function.

Return

A Result which is either:

  • Ok: Containing a nullable GetNormalizedMoveFunctionQuery.Data object with the normalized function details.

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

Parameters

id

The identifier of the Move function.