Misc Plugin

The @solana-agent-kit/plugin-misc plugin provides a set of miscellaneous tools and actions for interacting with various services and protocols on the Solana blockchain. It includes functionalities for domain registration, webhook creation, and more.

Installation

Install the plugin alongside the core Solana Agent Kit:
npm install solana-agent-kit @solana-agent-kit/plugin-misc

Integration

Add the Misc plugin to your agent:
import { SolanaAgentKit } from "solana-agent-kit";
import MiscPlugin from "@solana-agent-kit/plugin-misc";

const agent = new SolanaAgentKit(
  wallet,
  "YOUR_RPC_URL",
  {
    OPENAI_API_KEY: "YOUR_OPENAI_API_KEY",
  }
).use(MiscPlugin);

Available Tools

AllDomains

Tool NameDescription
getAllDomainsTLDsRetrieve all top-level domains
getOwnedAllDomainsGet all domains owned by a specific wallet
getOwnedDomainsForTLDGet domains owned by a wallet for a specific TLD
resolveDomainResolve a domain to get its owner’s public key

Allora

Tool NameDescription
getAllTopicsRetrieve all topics
getInferenceByTopicIdGet inference data by topic ID
getPriceInferenceGet price inference data

Gibwork

Tool NameDescription
createGibworkTaskCreate a new task on Gibwork

Helius

Tool NameDescription
createWebhookCreate a new webhook to monitor transactions
deleteWebhookDelete an existing webhook
getAssetsByOwnerGet assets owned by a specific wallet
getWebhookRetrieve webhook details
parseTransactionParse a Solana transaction

SNS

Tool NameDescription
resolveSolDomainResolve a .sol domain
registerDomainRegister a new .sol domain
getPrimaryDomainGet the primary domain for a wallet
getMainAllDomainsDomainGet the main domain for AllDomains
getAllRegisteredAllDomainsGet all registered domains

Squads

Tool NameDescription
transferFromMultisigTreasuryTransfer funds from a multisig treasury
rejectMultisigProposalReject a multisig proposal
executeMultisigProposalExecute a multisig proposal
depositToMultisigTreasuryDeposit funds into a multisig treasury
createMultisigCreate a new multisig account
createMultisigProposalCreate a new multisig proposal

Coingecko

Tool NameDescription
getCoingeckoTokenInfoGet token information from Coingecko
getCoingeckoTopGainersGet top gaining tokens
getCoingeckoLatestPoolsGet the latest pools
getCoingeckoTrendingPoolsGet trending pools
getCoingeckoTokenPriceDataGet token price data
getCoingeckoTrendingTokensGet trending tokens

ElfaAi

Tool NameDescription
getElfaAiApiKeyStatusCheck the status of an ElfaAi API key
getSmartMentionsGet smart mentions using ElfaAi
getSmartTwitterAccountStatsGet Twitter account stats using ElfaAi
getTopMentionsByTickerGet top mentions by ticker using ElfaAi
getTrendingTokensUsingElfaAiGet trending tokens using ElfaAi
pingElfaAiApiPing the ElfaAi API
searchMentionsByKeywordsSearch mentions by keywords using ElfaAi

Switchboard

Tool NameDescription
simulate_switchboard_feedSimulate a switchboard feed
Tool NameDescription
create_TipLinkCreate a tiplink

Crossmint

Tool NameDescription
checkoutCheckout an order
confirmOrderConfirm an order

HOMOMEMETUS

Tool NameDescription
fetch_oldest_tokensFetch the oldest token list among tokens created in the last 24h
fetch_recent_tokensFetch the most recent tokens created in the last 24h
fetch_token_by_creatorFetch tokens filtered by a specific creator
fetch_token_by_initializerFilter tokens initialized by a specific address
fetch_token_by_mintFilter tokens by a specific token (mint) address
fetch_token_by_signatureFilter tokens by a specific transaction signature
fetch_tokens_by_creatorsFilter tokens created by a list of creator addresses
fetch_tokens_by_initializersFilter tokens initialized by a list of addresses
fetch_tokens_by_durationFilter tokens by creation time
fetch_tokens_by_market_capFilter tokens by their market cap
fetch_tokens_by_metadataFilter tokens by token metadata
fetch_tokens_by_mintsFilter tokens by a list of mint addresses
For more detailed information, please refer to the full documentation at docs.sendai.fun.