Interface OrderSubscriberEvents
Properties
orderCreated
order
Created
: ((account
: UserAccount, updatedOrders
: Order[], pubkey
: PublicKey, slot
: number, dataType
: "raw" | "decoded" | "buffer") => void)
Type declaration
-
- (account: UserAccount, updatedOrders: Order[], pubkey: PublicKey, slot: number, dataType: "raw" | "decoded" | "buffer"): void
-
Parameters
-
-
updatedOrders: Order[]
-
-
slot: number
-
dataType: "raw" | "decoded" | "buffer"
Returns void
updateReceived
update
Received
: ((pubkey
: PublicKey, slot
: number, dataType
: "raw" | "decoded" | "buffer") => void)
Type declaration
-
- (pubkey: PublicKey, slot: number, dataType: "raw" | "decoded" | "buffer"): void
-
Parameters
-
-
slot: number
-
dataType: "raw" | "decoded" | "buffer"
Returns void
userUpdated
user
Updated
: ((account
: UserAccount, pubkey
: PublicKey, slot
: number, dataType
: "raw" | "decoded" | "buffer") => void)
Type declaration
-
- (account: UserAccount, pubkey: PublicKey, slot: number, dataType: "raw" | "decoded" | "buffer"): void
-
Parameters
-
-
-
slot: number
-
dataType: "raw" | "decoded" | "buffer"
Returns void