Skip to main content

RequestInspector

@iota/iota-sdk


@iota/iota-sdk / client / RequestInspector

Type Alias: RequestInspector

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

Defined in: sdk/typescript/src/client/http-transport.ts:18

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>