mirror of
https://github.com/d0zingcat/solana-agent-kit.git
synced 2026-05-23 15:10:42 +00:00
feat: get tps
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user