mirror of
https://github.com/d0zingcat/solana-agent-kit.git
synced 2026-05-14 07:26:46 +00:00
wip
This commit is contained in:
@@ -12,6 +12,8 @@ import {
|
||||
launchPumpFunToken,
|
||||
lendAsset,
|
||||
getTPS,
|
||||
fetchTokenDataByMint,
|
||||
fetchTokenDataByName,
|
||||
} from "../tools";
|
||||
import { CollectionOptions, PumpFunTokenOptions } from "../types";
|
||||
import { DEFAULT_OPTIONS } from "../constants";
|
||||
@@ -95,6 +97,14 @@ export class SolanaAgentKit {
|
||||
return getTPS(this);
|
||||
}
|
||||
|
||||
async getTokenDataByMint(mint: PublicKey) {
|
||||
return fetchTokenDataByMint(mint);
|
||||
}
|
||||
|
||||
async getTokenDataByName(name: string) {
|
||||
return fetchTokenDataByName(name);
|
||||
}
|
||||
|
||||
async launchPumpFunToken(
|
||||
tokenName: string,
|
||||
tokenTicker: string,
|
||||
|
||||
@@ -9,3 +9,4 @@ export * from "./register_domain";
|
||||
export * from "./launch_pumpfun_token";
|
||||
export * from "./lend";
|
||||
export * from "./get_tps";
|
||||
export * from "./get_token_data";
|
||||
|
||||
Reference in New Issue
Block a user