feat: get tps

This commit is contained in:
Arihant Bansal
2024-11-27 17:24:15 +05:30
parent c26f6093ec
commit f05a70f08c
4 changed files with 42 additions and 0 deletions

View File

@@ -11,6 +11,7 @@ import {
registerDomain,
lendAsset,
getLendingDetails,
getTPS,
} from "../tools";
import { CollectionOptions, LuloDepositAssetMint } from "../types";
import { DEFAULT_OPTIONS } from "../constants";
@@ -94,4 +95,8 @@ export class SolanaAgentKit {
async fetchLendingDetails(LULO_API_KEY: string) {
return getLendingDetails(this, LULO_API_KEY);
}
async getTPS() {
return getTPS(this);
}
}