@@ -222,7 +222,7 @@ export class PythLazerClient {
222
222
* @param params - Optional query parameters to filter symbols
223
223
* @returns Promise resolving to array of symbol information
224
224
*/
225
- async get_symbols ( params ?: SymbolsQueryParams ) : Promise < SymbolResponse [ ] > {
225
+ async getSymbols ( params ?: SymbolsQueryParams ) : Promise < SymbolResponse [ ] > {
226
226
const url = new URL ( `${ this . metadataServiceUrl } /v1/symbols` ) ;
227
227
228
228
if ( params ?. query ) {
@@ -252,12 +252,12 @@ export class PythLazerClient {
252
252
* @param params - Parameters for the latest price request
253
253
* @returns Promise resolving to JsonUpdate with current price data
254
254
*/
255
- async get_latest_price ( params : LatestPriceRequest ) : Promise < JsonUpdate > {
255
+ async getLatestPrice ( params : LatestPriceRequest ) : Promise < JsonUpdate > {
256
256
const url = `${ this . priceServiceUrl } /v1/latest_price` ;
257
257
258
258
try {
259
259
const body = JSON . stringify ( params ) ;
260
- this . logger . debug ( "get_latest_price " , { url, body } ) ;
260
+ this . logger . debug ( "getLatestPrice " , { url, body } ) ;
261
261
const response = await this . authenticatedFetch ( url , {
262
262
method : "POST" ,
263
263
headers : {
@@ -283,12 +283,12 @@ export class PythLazerClient {
283
283
* @param params - Parameters for the price request including timestamp
284
284
* @returns Promise resolving to JsonUpdate with price data at the specified time
285
285
*/
286
- async get_price ( params : PriceRequest ) : Promise < JsonUpdate > {
286
+ async getPrice ( params : PriceRequest ) : Promise < JsonUpdate > {
287
287
const url = `${ this . priceServiceUrl } /v1/price` ;
288
288
289
289
try {
290
290
const body = JSON . stringify ( params ) ;
291
- this . logger . debug ( "get_price " , { url, body } ) ;
291
+ this . logger . debug ( "getPrice " , { url, body } ) ;
292
292
const response = await this . authenticatedFetch ( url , {
293
293
method : "POST" ,
294
294
headers : {
0 commit comments