@aptos-labs/ts-sdk - v5.1.4
    Preparing search index...

    Function fetchFunctionAbi

    • Fetches the ABI of a specified function from the on-chain module ABI. This function allows you to access the details of a specific function within a module.

      Parameters

      • moduleAddress: string

        The address of the module from which to fetch the function ABI.

      • moduleName: string

        The name of the module containing the function.

      • functionName: string

        The name of the function whose ABI is to be fetched.

      • aptosConfig: AptosConfig

        The configuration settings for Aptos.

      Returns Promise<undefined | MoveFunction>