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
| Parameter | Type |
|---|---|
input | IotaTransportRequestOptions |
executeRequest | () => Promise<T> |
Returns
Promise<T>