FuelGlobalProcessor

Class in @sentio/sdk/fuel

Defined in @sentio/sdk/fuel

Implements

Constructors

Constructor

new FuelGlobalProcessor(config: GlobalFuelProcessorConfig): FuelGlobalProcessor;

Parameters

ParameterType
configGlobalFuelProcessorConfig

Returns

FuelGlobalProcessor

Properties

PropertyModifierTypeDefault value
blockHandlerspublicnever[][]
configreadonlyGlobalFuelProcessorConfigundefined
txHandlerspublicCallHandler<Data_FuelTransaction>[][]

Methods

configure()

configure(): Promise<void>;

Returns

Promise<void>

Implementation of

FuelBaseProcessor.configure


onTransaction()

onTransaction(handler: (transaction: FuelTransaction, ctx: FuelContext) => void | Promise<void>, config?: FuelFetchConfig): FuelGlobalProcessor;

Parameters

ParameterTypeDefault value
handler(transaction: FuelTransaction, ctx: FuelContext) => void | Promise<void>undefined
configFuelFetchConfigDEFAULT_FUEL_FETCH_CONFIG

Returns

FuelGlobalProcessor


bind()

static bind(config: GlobalFuelProcessorConfig): FuelGlobalProcessor;

Parameters

ParameterType
configGlobalFuelProcessorConfig

Returns

FuelGlobalProcessor

On this page