Generates a payload for a view function call using the provided ABI and arguments. This function is synchronous and works offline with pre-fetched ABIs (no network calls). Does NOT support struct/enum arguments.
The input data for generating the view function payload.
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.
Generates a payload for a view function call using the provided ABI and arguments. This function is synchronous and works offline with pre-fetched ABIs (no network calls). Does NOT support struct/enum arguments.