@pythnetwork/client
Version:
Client for consuming Pyth price data
18 lines (17 loc) • 657 B
TypeScript
import { Idl, Coder } from '@coral-xyz/anchor';
import { PythOracleEventCoder } from './events';
import { PythOracleAccountCoder } from './accounts';
import { PythOracleInstructionCoder } from './instructions';
import { PythOracleStateCoder } from './state';
import { PythOracleTypesCoder } from './types';
/**
* Coder for PythOracleCoder
*/
export declare class PythOracleCoder implements Coder {
readonly accounts: PythOracleAccountCoder;
readonly events: PythOracleEventCoder;
readonly instruction: PythOracleInstructionCoder;
readonly state: PythOracleStateCoder;
readonly types: PythOracleTypesCoder;
constructor(idl: Idl);
}