The argument to check or convert, which can be either a simple or entry function argument type.
The expected type tag for the argument.
The position of the argument in the function call.
An array of generic type parameters that may be used for conversion.
Aptos configuration for fetching module ABIs (required for struct/enum arguments).
OptionalmoduleAbi: MoveModuleThe ABI of the module containing the function, used for type checking.
Optionaloptions: { allowUnknownStructs?: boolean }Options for the conversion process.
Checks if the provided argument is BCS encoded and converts it if necessary, with support for struct/enum arguments. This is the asynchronous version that fetches module ABIs from the network as needed.