Skip to main content

Type Alias: RequestInspector()

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

T

T

Parameters

input

IotaTransportRequestOptions

executeRequest

() => Promise<T>

Returns

Promise<T>