Column mapping for stream function output. It lets you map columns you want into the DataTypes you want.

interface ColumnMapping {
    block?: Record<string, DataType>;
    decodedLog?: Record<string, DataType>;
    log?: Record<string, DataType>;
    trace?: Record<string, DataType>;
    transaction?: Record<string, DataType>;
}

Properties

block?: Record<string, DataType>

Mapping for block data.

decodedLog?: Record<string, DataType>

Mapping for decoded log data.

log?: Record<string, DataType>

Mapping for log data.

trace?: Record<string, DataType>

Mapping for trace data.

transaction?: Record<string, DataType>

Mapping for transaction data.