Properties
commitment
commitment: Commitment
Optional
decodeData
decodeData?: boolean
decodeFn
decode
Fn
: ((name
: string, data
: Buffer) => UserAccount)
Type declaration
-
- (name: string, data: Buffer): UserAccount
-
Parameters
-
name: string
-
data: Buffer
eventEmitter
event
Emitter
: StrictEventEmitter<EventEmitter<DefaultEventMap>, OrderSubscriberEvents, OrderSubscriberEvents, "addEventListener" | "removeEventListener", "on" | "addListener" | "removeListener" | "once" | "emit">
Optional
fetchPromise
fetchPromise?: Promise<void>
fetchPromiseResolver
fetchPromiseResolver: (() => void)
mostRecentSlot
mostRecentSlot: number
subscription
subscription: PollingSubscription | WebsocketSubscription
usersAccounts
users
Accounts
: Map<string, { slot
: number; userAccount
: UserAccount; }> = ...
Creates a new DLOB for the order subscriber to fill. This will allow a caller to extend the DLOB Subscriber with a custom DLOB type.
Returns
New, empty DLOB object.