Readonly
programReadonly
pubkeyTODO: wrap this one up with the gateway bridge oracle fn
Loads the oracle data for this Oracle
account from on chain.
A promise that resolves to the oracle data.
Get the pubkey of the stats account for this oracle.
A promise that resolves to the pubkey of the stats account.
Static
createCreates a new oracle account. linked to the specified queue. After creation the oracle still must receive run approval and verify their enclave measurement.
The program that owns the oracle account.
The queue that the oracle will be linked to.
A promise that resolves to a tuple containing the oracle account and the transaction signature.
Static
createSVMCreates a new oracle account for SVM chains (non-solana). linked to the specified queue. After creation the oracle still must receive run approval and verify their enclave measurement.
The program that owns the oracle account.
The queue that the oracle will be linked to.
A promise that resolves to a tuple containing the oracle account and the transaction signature.
Static
loadLoads the oracle data for this Oracle
account from on chain.
A promise that resolves to the oracle data.
Static
loadLoads the oracle data for a list of Oracle
accounts from on chain.
The program that owns the oracle accounts.
The public keys of the oracle accounts to load.
A promise that resolves to an array of oracle data.
This class represents an oracle account on chain.