Skip to main content
Execute token swaps on Sui using the 7K Protocol for aggregation, ensuring slippage protection.

Usage

Parameters

Example Prompts

Natural Language Prompts

LangChain Tool Prompts

Example Implementation

Implementation Details

  • Uses 7k Protocol for best prices
  • Dynamic compute unit limits
  • Auto-calculated priority fees
  • Direct route optimization

Error Handling

Best Practices

  1. Slippage Management
  • Use appropriate slippage for token
  • Consider market volatility
  • Monitor price impact
  • Handle failed transactions
  1. Amount Calculation
  • Account for token decimals
  • Check minimum amounts
  • Consider fees
  • Verify available balance
  1. Error Handling
  • Implement retries
  • Monitor transaction status
  • Handle timeouts
  • Verify swap results
  1. Performance
  • Use direct routes when possible
  • Set appropriate compute limits
  • Monitor network conditions
  • Consider priority fees

Response Format

  • get_holding: Check token balances
  • transfer: Transfer token.