abi section is present in your pipeline configuration.
What is an ABI?
An ABI (Application Binary Interface) is the JSON description of a smart contract’s interface: its functions and events, with the name and Solidity type of every input and output. EVM logs and transaction calldata are emitted as raw, unlabeled hex, and the ABI is the schema that says how to decode that hex back into named, typed fields. Block explorers use a contract’s ABI to display human-readable events and function calls instead of raw bytes. The Pipeline API applies the same idea at stream scale: you supply an ABI, and matching logs and calldata are decoded into structured, typed rows automatically.Applicability
ABI decoding only applies to the following topic entities:logs- raw event logs emitted by smart contracts.transactions- raw transaction calldata submitted to the network.
Decoders
The pipeline provides two decoders, each responsible for a different entity type:| Decoder | Input Entity | Output Tables |
|---|---|---|
| EventDecoder | logs | {chain_name}_evt_{event_name} tables |
| FunctionDecoder | transactions | {chain_name}_fn_{function_name} tables |
Data Flow
Configuration
Add theabi section to your pipeline configuration to enable decoding:
Fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
path | string | Yes | — | Path to the ABI JSON file. Must conform to the standard Solidity ABI JSON format. |
contract_addresses | list | No | — | Optional list of contract addresses to filter on. When omitted, all contracts are decoded. |
unmatched | string | No | skip | Strategy for records that do not match any ABI entry. skip drops the record; raw_table writes it to raw_logs or raw_transactions. |
Next Steps
Event Decoding
Decode event logs into structured evt_ tables.
Function Decoding
Decode transaction calldata into structured fn_ tables.
Reference
ABI file format, type mappings, and filtering behavior.