Preparing search index...
The search index is not available
@drift-labs/sdk
@drift-labs/sdk
DriftClientAccountEvents
Interface DriftClientAccountEvents
Hierarchy
DriftClientAccountEvents
Index
Properties
error
oracle
Price
Update
perp
Market
Account
Update
spot
Market
Account
Update
state
Account
Update
update
user
Account
Update
Properties
error
error
:
(
(
e
:
Error
)
=>
void
)
Type declaration
(
e
:
Error
)
:
void
Parameters
e:
Error
Returns
void
oracle
Price
Update
oracle
Price
Update
:
(
(
publicKey
:
PublicKey
, data
:
OraclePriceData
)
=>
void
)
Type declaration
(
publicKey
:
PublicKey
, data
:
OraclePriceData
)
:
void
Parameters
publicKey:
PublicKey
data:
OraclePriceData
Returns
void
perp
Market
Account
Update
perp
Market
Account
Update
:
(
(
payload
:
PerpMarketAccount
)
=>
void
)
Type declaration
(
payload
:
PerpMarketAccount
)
:
void
Parameters
payload:
PerpMarketAccount
Returns
void
spot
Market
Account
Update
spot
Market
Account
Update
:
(
(
payload
:
SpotMarketAccount
)
=>
void
)
Type declaration
(
payload
:
SpotMarketAccount
)
:
void
Parameters
payload:
SpotMarketAccount
Returns
void
state
Account
Update
state
Account
Update
:
(
(
payload
:
StateAccount
)
=>
void
)
Type declaration
(
payload
:
StateAccount
)
:
void
Parameters
payload:
StateAccount
Returns
void
update
update
:
void
user
Account
Update
user
Account
Update
:
(
(
payload
:
UserAccount
)
=>
void
)
Type declaration
(
payload
:
UserAccount
)
:
void
Parameters
payload:
UserAccount
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
@drift-
labs/sdk
BN
pyth
Drift
Client
Account
Events
error
oracle
Price
Update
perp
Market
Account
Update
spot
Market
Account
Update
state
Account
Update
update
user
Account
Update
Generated using
TypeDoc