Preparing search index...
The search index is not available
@drift-labs/sdk
@drift-labs/sdk
pyth
getPythProgramKeyForCluster
Function getPythProgramKeyForCluster
get
Pyth
Program
Key
For
Cluster
(
cluster
:
Cluster
)
:
PublicKey
Gets the public key of the Pyth program running on the given cluster.
Parameters
cluster:
Cluster
Returns
PublicKey
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
@drift-
labs/sdk
BN
pyth
Pyth
Connection
Pyth
Http
Client
Base
Ema
Mapping
Data
Price
Price
Component
Price
Data
Product
Product
Data
Account
Type
Corp
Action
Derive
Type
MAX_
SLOT_
DIFFERENCE
Magic
Price
Status
Price
Type
Version
Version2
get
Pyth
Program
Key
For
Cluster
parse
Base
Data
parse
Mapping
Data
parse
Price
Data
parse
Product
Data
Generated using
TypeDoc
Gets the public key of the Pyth program running on the given cluster.