A SocketPendingSubscriber listens for pending transactions and emits "pending" events.

Extends

Accessors

filter

get filter(): any[]

The filter.

Returns

any[]

Source

providers/provider-socket.ts:46

Methods

pause()

pause(dropWhilePaused?): void

Pause the subscriber.

Parameters

ParameterTypeDescription
dropWhilePaused?booleanWhether to drop logs while paused.

Returns

void

Inherited from

SocketSubscriber.pause

Source

providers/provider-socket.ts:98


resume()

resume(): void

Resume the subscriber.

Returns

void

Inherited from

SocketSubscriber.resume

Source

providers/provider-socket.ts:111


start()

start(): void

Start the subscriber.

Returns

void

Inherited from

SocketSubscriber.start

Source

providers/provider-socket.ts:76


stop()

stop(): void

Stop the subscriber.

Returns

void

Inherited from

SocketSubscriber.stop

Source

providers/provider-socket.ts:86