{chain_name}_fn_{function_name} tables.
How It Works
- The normalizer produces rows for the
transactionstable, each containing aninput_datafield (hex-encoded calldata) - The decoder matches the first 4 bytes of
input_data(the function selector) against ABI function entries - Parameters are decoded from
input_data[4:]using ABI type definitions - Each decoded call is emitted to a
{chain_name}_fn_{function_name_snake_case}table
Only
function ABI entries with stateMutability of nonpayable or payable are used. View and pure functions are excluded since they do not appear in transaction calldata.Output Schema
Each decoded function table includes envelope columns from the source transaction plus the ABI-defined parameters:Example
For an ERC-20transfer function call on Base:
base_fn_transfer would contain:
Configuration
Function decoding is activated by setting theabi section in your pipeline config and using a transactions topic entity:
to_address field (the contract being called).