feat: add fetch price from pyth tool

This commit is contained in:
Zhe
2024-12-22 19:27:49 +00:00
parent 7d076c8f4c
commit 761299e4f2
3 changed files with 60 additions and 3 deletions

View File

@@ -77,3 +77,11 @@ export interface FetchPriceResponse {
message?: string;
code?: string;
}
export interface PythFetchPriceResponse {
status: "success" | "error";
priceFeedID: string;
price?: string;
message?: string;
code?: string;
}