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

For more detailed information, please refer to the full documentation at docs.sendai.fun.