Jupiter icon

Jupiter

Jupiter token swap operations

Overview

This node interacts with the Solana blockchain to perform various operations related to token management and trading. Specifically, for the 'Get Token Balances' operation, it retrieves the balances of specified token mints for the connected wallet. This is useful for users who want to monitor their token holdings on Solana. Practical examples include checking balances of multiple tokens in a wallet or integrating token balance checks into automated workflows.

Use Case Examples

  1. A user wants to check the balances of specific tokens in their Solana wallet to display in a dashboard.
  2. An automated trading bot needs to verify token balances before executing trades.

Properties

Name Meaning
Token Mints The mint addresses of the tokens to get balances for

Output

JSON

  • ``
    • mint - The mint address of the token
    • balance - The balance of the token for the connected wallet

Dependencies

  • Solana RPC API endpoint and WebSocket endpoint credentials
  • Private key for the Solana wallet in base58 format

Troubleshooting

  • Ensure the Solana RPC URL and WebSocket endpoint are correctly configured in the credentials to avoid connection issues.
  • Verify the private key is correctly formatted and corresponds to the wallet holding the tokens.
  • If token balances are not returned, check that the token mint addresses are valid and the wallet actually holds those tokens.

Links

Discussion