@sentio/sdkType aliases
HandlerOptions
Type Alias in @sentio/sdk
Defined in @sentio/sdk
type HandlerOptions<F, D> = Omit<Partial<F>, "$typeName" | "$unknown"> & object;Handler options that extend fetch configuration with optional partitioning support.
Type Declaration
| Name | Type | Description |
|---|---|---|
partitionKey? | string | PartitionHandler<D> | Optional partition key for data partitioning. Can be a static string or a function that computes the key from the data. |
skipDecoding? | boolean | Optional whether to skip decoding By default the processor will do decoding (e.g. replace string number to bigint, byte array to base64, etc), however in some case you might skip the decoding (meaning no data_decoded field) and only access the raw data field |
Type Parameters
| Type Parameter | Description |
|---|---|
F | The fetch configuration type (e.g., EthFetchConfig, MoveFetchConfig) |
D | The data type that will be processed (e.g., Event, Transaction, Block) |