Preparing search index...
The search index is not available
@drift-labs/sdk
@drift-labs/sdk
WebSocketInsuranceFundStakeAccountSubscriber
Class WebSocketInsuranceFundStakeAccountSubscriber
Hierarchy
WebSocketInsuranceFundStakeAccountSubscriber
Implements
InsuranceFundStakeAccountSubscriber
Index
Constructors
constructor
Properties
commitment?
event
Emitter
insurance
Fund
Stake
Account
Public
Key
insurance
Fund
Stake
Data
Account
Subscriber
is
Subscribed
program
resub
Timeout
Ms?
Methods
assert
Is
Subscribed
fetch
get
Insurance
Fund
Stake
Account
And
Slot
subscribe
unsubscribe
update
Data
Constructors
constructor
new
Web
Socket
Insurance
Fund
Stake
Account
Subscriber
(
program
:
Program
<
Idl
>
, insuranceFundStakeAccountPublicKey
:
PublicKey
, resubTimeoutMs
?:
number
, commitment
?:
Commitment
)
:
WebSocketInsuranceFundStakeAccountSubscriber
Parameters
program:
Program
<
Idl
>
insuranceFundStakeAccountPublicKey:
PublicKey
Optional
resubTimeoutMs:
number
Optional
commitment:
Commitment
Returns
WebSocketInsuranceFundStakeAccountSubscriber
Properties
Optional
commitment
commitment
?:
Commitment
event
Emitter
event
Emitter
:
StrictEventEmitter
<
EventEmitter
<
DefaultEventMap
>
,
InsuranceFundStakeAccountEvents
,
InsuranceFundStakeAccountEvents
,
"addEventListener"
|
"removeEventListener"
,
"on"
|
"addListener"
|
"removeListener"
|
"once"
|
"emit"
>
insurance
Fund
Stake
Account
Public
Key
insurance
Fund
Stake
Account
Public
Key
:
PublicKey
insurance
Fund
Stake
Data
Account
Subscriber
insurance
Fund
Stake
Data
Account
Subscriber
:
AccountSubscriber
<
InsuranceFundStake
>
is
Subscribed
is
Subscribed
:
boolean
program
program
:
Program
<
Idl
>
Optional
resub
Timeout
Ms
resub
Timeout
Ms
?:
number
Methods
assert
Is
Subscribed
assert
Is
Subscribed
(
)
:
void
Returns
void
fetch
fetch
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
get
Insurance
Fund
Stake
Account
And
Slot
get
Insurance
Fund
Stake
Account
And
Slot
(
)
:
DataAndSlot
<
InsuranceFundStake
>
Returns
DataAndSlot
<
InsuranceFundStake
>
subscribe
subscribe
(
insuranceFundStakeAccount
?:
InsuranceFundStake
)
:
Promise
<
boolean
>
Parameters
Optional
insuranceFundStakeAccount:
InsuranceFundStake
Returns
Promise
<
boolean
>
unsubscribe
unsubscribe
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
update
Data
update
Data
(
insuranceFundStake
:
InsuranceFundStake
, slot
:
number
)
:
void
Parameters
insuranceFundStake:
InsuranceFundStake
slot:
number
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
@drift-
labs/sdk
BN
pyth
Web
Socket
Insurance
Fund
Stake
Account
Subscriber
constructor
commitment?
event
Emitter
insurance
Fund
Stake
Account
Public
Key
insurance
Fund
Stake
Data
Account
Subscriber
is
Subscribed
program
resub
Timeout
Ms?
assert
Is
Subscribed
fetch
get
Insurance
Fund
Stake
Account
And
Slot
subscribe
unsubscribe
update
Data
Generated using
TypeDoc