Merge pull request #3 from arihantbansal/get-block-details

get tps
This commit is contained in:
ARYAN
2024-11-27 17:38:30 +05:30
committed by GitHub
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";
@@ -106,4 +107,8 @@ export class SolanaAgentKit {
async fetchLendingDetails(LULO_API_KEY: string) {
return getLendingDetails(this, LULO_API_KEY);
}
async getTPS() {
return getTPS(this);
}
}