fetchFunctionAbi

suspend fun fetchFunctionAbi(moduleAddress: String, moduleName: String, functionName: String, aptosConfig: AptosConfig): Option<MoveFunction>

Fetches a function ABI from the on-chain module ABI. It doesn't validate whether it's a view or entry function.

Parameters

moduleAddress
moduleName
functionName
aptosConfig