
Security News
US Government Forces Anthropic to Pull Claude Fable Days After Launch
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.
@wardenprotocol/plugin-token
Advanced tools
This plugin provides a set of tools and actions to interact with, create and transfer tokens on the Solana blockchain.
This plugin provides a set of tools and actions to interact with, create and transfer tokens on the Solana blockchain.
getTokenDataByAddress - Get token data using a token's mint addressgetTokenAddressFromTicker - Get a token's mint address using its ticker symbolcancelLimitOrders - Cancel limit orders on JupitercreateLimitOrder - Create a limit order on JupiterfetchPrice - Fetch the price of a tokengetLimitOrderHistory - Get the history of limit ordersgetOpenLimitOrders - Get open limit ordersgetTokenDataByTicker - Get token data using a ticker symbolstakeWithJup - Stake tokens using Jupitertrade - Trade tokens using JupitersendCompressedAirdrop - Send compressed token airdrops to multiple addresses efficientlycloseEmptyTokenAccounts - Close empty token accounts to reclaim rentgetTPS - Get current transactions per second on Solanaget_balance - Get SOL or token balance for a walletget_balance_other - Get balance for another wallet addressget_token_balance - Get detailed token balances including metadatarequest_faucet_funds - Request tokens from a faucet (devnet/testnet)transfer - Transfer SOL or tokens to another addressgetWalletAddress - Get the wallet address of the current userswap - Cross-chain token swaps using Mayan DEXlaunchPumpFunToken - Launch new tokens on pump.funfetchPythPrice - Get real-time price data from Pyth oraclesfetchPythPriceFeedID - Get price feed ID for a tokenfetchTokenDetailedReport - Get detailed token security analysisfetchTokenReportSummary - Get summarized token security reportbalance - Get SOL balance for a walletcloseEmptyTokenAccounts - Close empty token accountsgetTPS - Get transactions per second on SolanarequestFunds - Request funds from a faucet on devnet/testnettokenBalances - Get token balances for a wallettransfer - Transfer SOL or tokens to another addresswalletAddress - Get the wallet address of the current userburnTokens - Burn tokens using SolutioficloseAccounts - Close token accounts using SolutiofimergeTokens - Merge multiple tokens into onespreadToken - Split tokens across multiple addresses// Get all token balances for your wallet
const balances = await agent.methods.get_token_balance(agent);
console.log("SOL Balance:", balances.sol);
console.log("Token Balances:", balances.tokens);
// Get specific token balance
const usdcBalance = await agent.methods.get_balance(
agent,
new PublicKey("EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v")
);
// Swap 1 SOL for USDC
const trade = await agent.methods.trade(
agent,
"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v", // USDC mint
1, // amount
undefined, // input mint (undefined means SOL)
100 // 1% slippage
);
// Check if a token might be a rugpull
const report = await agent.methods.fetchTokenDetailedReport(
"TokenMintAddress123"
);
console.log("Security Score:", report.score);
console.log("Risk Factors:", report.risks);
// Send compressed airdrop to multiple addresses
const airdrop = await agent.methods.sendCompressedAirdrop(
agent,
100, // amount per recipient
new PublicKey("TokenMintAddress"), // token mint
[
new PublicKey("Recipient1"),
new PublicKey("Recipient2")
],
30000 // priority fee
);
For more detailed information about each action and its parameters, you can check the individual action files in the source code or refer to the official documentation at docs.sendai.fun.
FAQs
This plugin provides a set of tools and actions to interact with, create and transfer tokens on the Solana blockchain.
The npm package @wardenprotocol/plugin-token receives a total of 20 weekly downloads. As such, @wardenprotocol/plugin-token popularity was classified as not popular.
We found that @wardenprotocol/plugin-token demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.

Security News
A network of 152 Chrome live wallpaper extensions hid ad tracking and made extension-driven traffic look like Google search clicks.

Company News
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.