Misc Plugin

Miscellaneous tools and actions for the Solana blockchain

Misc Plugin

The @ping-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 Ping Agent Kit:

Copy

npm install ping-agent-kit @ping-agent-kit/plugin-misc

Integration

Add the Misc plugin to your agent:

Copy

import { PingAgentKit } from "ping-agent-kit";
import MiscPlugin from "@ping-agent-kit/plugin-misc";

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

Available Tools

Alldomains

Tool Name
Description

getAllDomainsTLDs

Retrieve all top-level domains

getOwnedAllDomains

Get all domains owned by a specific wallet

getOwnedDomainsForTLD

Get domains owned by a wallet for a specific TLD

resolveDomain

Resolve a domain to get its owner’s public key

Allora

Tool Name
Description

getAllTopics

Retrieve all topics

getInferenceByTopicId

Get inference data by topic ID

getPriceInference

Get price inference data

Gibwork

Tool Name
Description

createGibworkTask

Create a new task on Gibwork

Helius

Tool Name
Description

createWebhook

Create a new webhook to monitor transactions

deleteWebhook

Delete an existing webhook

getAssetsByOwner

Get assets owned by a specific wallet

getWebhook

Retrieve webhook details

parseTransaction

Parse a Solana transaction

SNS

Tool Name
Description

resolveSolDomain

Resolve a .sol domain

registerDomain

Register a new .sol domain

getPrimaryDomain

Get the primary domain for a wallet

getMainAllDomainsDomain

Get the main domain for AllDomains

getAllRegisteredAllDomains

Get all registered domains

Squads

Tool Name
Description

transferFromMultisigTreasury

Transfer funds from a multisig treasury

rejectMultisigProposal

Reject a multisig proposal

executeMultisigProposal

Execute a multisig proposal

depositToMultisigTreasury

Deposit funds into a multisig treasury

createMultisig

Create a new multisig account

createMultisigProposal

Create a new multisig proposal

Coingecko

Tool Name
Description

getCoingeckoTokenInfo

Get token information from Coingecko

getCoingeckoTopGainers

Get top gaining tokens

getCoingeckoLatestPools

Get the latest pools

getCoingeckoTrendingPools

Get trending pools

getCoingeckoTokenPriceData

Get token price data

getCoingeckoTrendingTokens

Get trending tokens

ElfaAi

Tool Name
Description

getElfaAiApiKeyStatus

Check the status of an ElfaAi API key

getSmartMentions

Get smart mentions using ElfaAi

getSmartTwitterAccountStats

Get Twitter account stats using ElfaAi

getTopMentionsByTicker

Get top mentions by ticker using ElfaAi

getTrendingTokensUsingElfaAi

Get trending tokens using ElfaAi

pingElfaAiApi

Ping the ElfaAi API

searchMentionsByKeywords

Search mentions by keywords using ElfaAi

Switchboard

Tool Name
Description

simulate_switchboard_feed

Simulate a switchboard feed

Tiplink

Tool Name
Description

create_TipLink

Create a tiplink

Last updated