Function fetchFunctionAbi
- fetchFunctionAbi(moduleAddress, moduleName, functionName, aptosConfig): Promise<MoveFunction | undefined>
Parameters
- moduleAddress: string
- moduleName: string
- functionName: string
- aptosConfig: AptosConfig
Returns Promise<MoveFunction | undefined>
Fetches a function ABI from the on-chain module ABI. It doesn't validate whether it's a view or entry function.