diff --git a/docs/classes/SolanaAgentKit.html b/docs/classes/SolanaAgentKit.html
index a4ae6e71..b19a16b1 100644
--- a/docs/classes/SolanaAgentKit.html
+++ b/docs/classes/SolanaAgentKit.html
@@ -1,7 +1,7 @@
SolanaAgentKit | solana-agent-kit Index
Constructors
constructor
- new SolanaAgentKit(private_key, rpc_url?, openai_api_key): SolanaAgentKit
Parameters
- private_key: string
- rpc_url: string = "https://api.mainnet-beta.solana.com"
- openai_api_key: string
Properties
connection
connection: Connection
openai_api_key
openai_api_key: string
wallet_address
wallet_address: PublicKey
Methods
deployToken
- deployToken(name, uri, symbol, decimals?, initialSupply?): Promise<{
mint: PublicKey;
}> Parameters
- name: string
- uri: string
- symbol: string
- decimals: number = DEFAULT_OPTIONS.TOKEN_DECIMALS
Optional
initialSupply: number
Returns Promise<{
mint: PublicKey;
}>
getBalance
- getBalance(token_address?): Promise<null | number>
Parameters
Optional
token_address: PublicKey
Returns Promise<null | number>
getPrimaryDomain
- getPrimaryDomain(account): Promise<string>
Returns Promise<string>
getTPS
- getTPS(): Promise<number>
Returns Promise<number>
launchPumpFunToken
- launchPumpFunToken(tokenName, tokenTicker, description, imageUrl, options?): Promise<{
metadataUri: any;
mint: string;
signature: string;
}> Parameters
- tokenName: string
- tokenTicker: string
- description: string
- imageUrl: string
Optional
options: PumpFunTokenOptions
Returns Promise<{
metadataUri: any;
mint: string;
signature: string;
}>
lendAssets
- lendAssets(amount): Promise<string>
Returns Promise<string>
mintNFT
- mintNFT(collectionMint, metadata, recipient?): Promise<MintCollectionNFTResponse>
Parameters
- collectionMint: PublicKey
- metadata: {
creators?: {
address: string;
share: number;
}[];
name: string;
sellerFeeBasisPoints?: number;
uri: string;
}Optional
creators?: {
address: string;
share: number;
}[]
name: string
Optional
sellerFeeBasisPoints?: number
uri: string
Optional
recipient: PublicKey
registerDomain
- registerDomain(name, spaceKB?): Promise<string>
Parameters
- name: string
Optional
spaceKB: number
Returns Promise<string>
requestFaucetFunds
- requestFaucetFunds(): Promise<string>
Returns Promise<string>
resolveSolDomain
- resolveSolDomain(domain): Promise<PublicKey>
Returns Promise<PublicKey>
sendCompressedAirdrop
- sendCompressedAirdrop(mintAddress, amount, decimals, recipients, priorityFeeInLamports, shouldLog): Promise<string[]>
Parameters
- mintAddress: string
- amount: number
- decimals: number
- recipients: string[]
- priorityFeeInLamports: number
- shouldLog: boolean
Returns Promise<string[]>
stake
- stake(amount): Promise<string>
Returns Promise<string>
trade
- trade(outputMint, inputAmount, inputMint?, slippageBps?): Promise<string>
Parameters
- outputMint: PublicKey
- inputAmount: number
Optional
inputMint: PublicKey- slippageBps: number = DEFAULT_OPTIONS.SLIPPAGE_BPS
Returns Promise<string>
transfer
- transfer(to, amount, mint?): Promise<string>
Parameters
- to: PublicKey
- amount: number
Optional
mint: PublicKey
Returns Promise<string>
+
Constructors
constructor
- new SolanaAgentKit(private_key, rpc_url?, openai_api_key): SolanaAgentKit
Parameters
- private_key: string
- rpc_url: string = "https://api.mainnet-beta.solana.com"
- openai_api_key: string
Properties
connection
connection: Connection
openai_api_key
openai_api_key: string
wallet_address
wallet_address: PublicKey
Methods
deployToken
- deployToken(name, uri, symbol, decimals?, initialSupply?): Promise<{
mint: PublicKey;
}> Parameters
- name: string
- uri: string
- symbol: string
- decimals: number = DEFAULT_OPTIONS.TOKEN_DECIMALS
Optional
initialSupply: number
Returns Promise<{
mint: PublicKey;
}>
getBalance
- getBalance(token_address?): Promise<null | number>
Parameters
Optional
token_address: PublicKey
Returns Promise<null | number>
getPrimaryDomain
- getPrimaryDomain(account): Promise<string>
Returns Promise<string>
getTPS
- getTPS(): Promise<number>
Returns Promise<number>
launchPumpFunToken
- launchPumpFunToken(tokenName, tokenTicker, description, imageUrl, options?): Promise<{
metadataUri: any;
mint: string;
signature: string;
}> Parameters
- tokenName: string
- tokenTicker: string
- description: string
- imageUrl: string
Optional
options: PumpFunTokenOptions
Returns Promise<{
metadataUri: any;
mint: string;
signature: string;
}>
lendAssets
- lendAssets(amount): Promise<string>
Returns Promise<string>
mintNFT
- mintNFT(collectionMint, metadata, recipient?): Promise<MintCollectionNFTResponse>
Parameters
- collectionMint: PublicKey
- metadata: {
creators?: {
address: string;
share: number;
}[];
name: string;
sellerFeeBasisPoints?: number;
uri: string;
}Optional
creators?: {
address: string;
share: number;
}[]
name: string
Optional
sellerFeeBasisPoints?: number
uri: string
Optional
recipient: PublicKey
registerDomain
- registerDomain(name, spaceKB?): Promise<string>
Parameters
- name: string
Optional
spaceKB: number
Returns Promise<string>
requestFaucetFunds
- requestFaucetFunds(): Promise<string>
Returns Promise<string>
resolveSolDomain
- resolveSolDomain(domain): Promise<PublicKey>
Returns Promise<PublicKey>
sendCompressedAirdrop
- sendCompressedAirdrop(mintAddress, amount, decimals, recipients, priorityFeeInLamports, shouldLog): Promise<string[]>
Parameters
- mintAddress: string
- amount: number
- decimals: number
- recipients: string[]
- priorityFeeInLamports: number
- shouldLog: boolean
Returns Promise<string[]>
stake
- stake(amount): Promise<string>
Returns Promise<string>
trade
- trade(outputMint, inputAmount, inputMint?, slippageBps?): Promise<string>
Parameters
- outputMint: PublicKey
- inputAmount: number
Optional
inputMint: PublicKey- slippageBps: number = DEFAULT_OPTIONS.SLIPPAGE_BPS
Returns Promise<string>
transfer
- transfer(to, amount, mint?): Promise<string>
Parameters
- to: PublicKey
- amount: number
Optional
mint: PublicKey
Returns Promise<string>
Main class for interacting with Solana blockchain Provides a unified interface for token operations, NFT management, and trading
SolanaAgentKit
-