Interface DriftClientAccountEvents

Hierarchy

  • DriftClientAccountEvents

Properties

error: ((e: Error) => void)

Type declaration

    • (e: Error): void
    • Parameters

      • e: Error

      Returns void

oraclePriceUpdate: ((publicKey: PublicKey, data: OraclePriceData) => void)

Type declaration

perpMarketAccountUpdate: ((payload: PerpMarketAccount) => void)

Type declaration

spotMarketAccountUpdate: ((payload: SpotMarketAccount) => void)

Type declaration

stateAccountUpdate: ((payload: StateAccount) => void)

Type declaration

update: void
userAccountUpdate: ((payload: UserAccount) => void)

Type declaration

Generated using TypeDoc