Use Cases

Toly's use cases can be divided into four (4) different operations namely, DAS (Digital Assets Service), Domain, Gecko and Actions.

DAS (Digital Assets Service)

  • Get Asset Retrieves a specific asset using its unique identifier (ID). It can optionally be filtered by network type ('mainnet' or 'devnet').

  • Get Assets by Owner Retrieves all assets owned by a specific wallet address. Pagination and network filters are available, with the option to specify the page number and items per page.

  • Get Fungible Tokens Retrieves the fungible tokens owned by a specific wallet address. Supports pagination, network filters, and cursors to navigate token data efficiently.

  • Get Portfolio Value Retrieves the value of the portfolio associated with a wallet address. A detailed or summarized view is supported based on the query parameter detailed.

  • Get Native Balance Retrieves the native token (SOL) balance for a specific wallet address, with an optional network filter.

  • Get Complete Balance Retrieves the complete balance of all assets for a wallet address, with an optional network filter.

  • Get Token Price Retrieves the current market price of a token specified by its mint address. An optional network filter can be applied.

  • Get Token Balance Retrieves the balance of a specific token or native SOL balance for a wallet. If no token is specified, SOL balance is returned. A network filter can be applied.

  • Get Block Transactions Retrieves all transactions in a specific Solana block identified by its slot number. Pagination and network filters are supported.

  • Get TLDs Retrieves all active top-level domains (TLDs) for the Solana network, with an optional network filter.

  • Get Current Slot Retrieves the current slot of the Solana network, useful for real-time tracking of the network's progress.

  • Get Raw Transaction Retrieves the raw transaction data for a specific transaction identified by its signature.

  • Get TPS Retrieves the current transactions per second (TPS) for the Solana network, useful for monitoring network performance.

  • Get Enriched Transaction Retrieves detailed enriched transaction data for a specific transaction, including related account information if specified.

  • Get Account Transactions Retrieves a list of all transactions for a specific account, with optional filters and pagination.

Domain Operations

  • Get Nifty Asset Retrieves data for a specific Nifty asset associated with a given address.

  • Get Solana Domain Retrieves Solana domain information for a specific wallet address.

  • Resolve All Domains Resolves a domain across all TLDs, returning domain-related information for a given domain name.

  • Resolve .sol Domain Resolves a .sol domain to its associated data.


Gecko Endpoints

  • Get Solana DEXes Retrieves a list of decentralized exchanges (DEXes) available on Solana, supporting pagination.

  • Get Token Pools Retrieves the pool data for a specific token, including sorting and optional pagination.

  • Get Pool OHLCV Retrieves OHLCV (Open, High, Low, Close, Volume) data for a pool over a specified timeframe, supporting aggregation and filtering options.

  • Get Pool Trades Retrieves recent trades for a specified pool, with an optional minimum trade volume filter.

  • Search Pairs Allows searching for trading pairs based on a query string.

  • Get Token Chart Retrieves OHLCV chart data for a specific token over a specified timeframe.


Actions Endpoints

  • List NFT for Sale Lists an NFT for sale on TensorSwap, providing the NFT's mint address and price.

  • Cancel NFT Listing Cancels the listing of an NFT on TensorSwap, identified by its mint address.

  • Swap Tokens Executes a token swap via Jupiter Exchange, specifying input and output token details, as well as optional slippage and network parameters.

  • Transfer Tokens Transfers tokens from one wallet to another, with the ability to specify the recipient, amount, and optional token mint address.

  • Stake with Jupiter Stakes tokens with the Jupiter platform, with the amount specified in the request.

  • Stake with Solayer Stakes tokens with the Solayer platform, with the staking amount provided.

  • Get Airdrop Cost Estimate Estimates the cost of performing an airdrop based on the number of recipients and the priority fee.

  • Send Compressed Airdrop Performs a compressed token airdrop to a list of recipients, specifying the token mint address, amount, and other parameters.

  • Play Rock Paper Scissors Plays a Rock Paper Scissors game with stakes, where the user specifies their choice and amount.

  • Generate Image Generates an AI-generated image based on a prompt, with optional size and count parameters.

  • Create Tip Link Creates a token tip link, allowing users to tip with tokens using a generated wallet address.

  • Deploy Collection Deploys an NFT collection, specifying details such as name, URI, and royalties.

  • Launch PumpFun Token Launches a token on Pump.fun, providing details like token name, ticker, description, and initial liquidity.

Add alt text and captions to your images

To explore the capabilities of the /agent endpoint, visit our sample application at https://toly-lemon.vercel.app.

Last updated