Skip to main content

Interface: IotaTransport

Methods

request()

request<T>(input): Promise<T>

Type Parameters

T = unknown

Parameters

input: IotaTransportRequestOptions

Returns

Promise<T>


subscribe()

subscribe<T>(input): Promise<() => Promise<boolean>>

Type Parameters

T = unknown

Parameters

input: IotaTransportSubscribeOptions<T>

Returns

Promise<() => Promise<boolean>>