Interface OrderSubscriberEvents

Hierarchy

  • OrderSubscriberEvents

Properties

orderCreated: ((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

      Returns void

updateReceived: ((pubkey: PublicKey, slot: number, dataType: "raw" | "decoded" | "buffer") => void)

Type declaration

    • (pubkey: PublicKey, slot: number, dataType: "raw" | "decoded" | "buffer"): void
    • Parameters

      • pubkey: PublicKey
      • slot: number
      • dataType: "raw" | "decoded" | "buffer"

      Returns void

userUpdated: ((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

      Returns void

Generated using TypeDoc