getMoveFunctionArgTypes

open suspend override fun getMoveFunctionArgTypes(id: String): Result<GetMoveFunctionArgTypesQuery.Data?, SuiError>

Fetches the argument types for a specific Move function.

This implementation parses the input id string (e.g., "0x2::sui::transfer_object") into its constituent parts before making the query.

Return

A Result which is either:

  • Ok: Containing a nullable GetMoveFunctionArgTypesQuery.Data object with the argument types.

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

Parameters

id

The identifier of the Move function in the format package::module::function.