Skip to main content

Type Alias: RequestInspector()

type RequestInspector = <T>(input, executeRequest) => Promise<T>;

A function that can inspect and modify RPC requests before they are executed. Useful for monitoring, tracing, and error handling.

Type Parameters

Type Parameter
T

Parameters

ParameterType
inputIotaTransportRequestOptions
executeRequest() => Promise<T>

Returns

Promise<T>