Function generateViewFunctionPayloadWithABI

  • Generates a payload for a view function call using the provided ABI and arguments. This function ensures that the type arguments and function arguments are correctly formatted and match the expected counts as defined in the ABI.

    Parameters

    Returns EntryFunction

    Error if the type argument count does not match the ABI or if the function arguments do not match the expected parameters defined in the ABI.