Build nested ABI payloads
Use encode_function_args when a protocol expects ABI-encoded function arguments nested inside another payload, or when reproducing Solidity abi.encode(...) output.
- Use encode_function_data for top-level contract calldata.
- Use the canonical signature when an ABI has overloaded functions.
- The ABI and argument coercion rules match encode_function_data.
Local SQL