Swft cross chain
Querying cross chain info and swap coins.
This plugin allows you to easily query cross chain information and swap coins. Whether you're a cryptocurrency enthusiast or just curious about the latest trends, Swft makes it effortless to stay up-to-date with cross chain transactions. With its user-friendly interface, you can quickly search and find the information you need. Additionally, Swft enables seamless coin swaps, making it convenient to exchange between different cryptocurrencies. Stay in the loop and make your cryptocurrency transactions smoother with Swft!
How to
Comments (0)
Try it
API docs
Learn how to use Swft cross chain effectively! Here are a few example prompts, tips, and the documentation of available commands.
Example prompts
-
Prompt 1: "What is the swap rate for swapping coins X to Y?"
-
Prompt 2: "Can I get the maximum deposit amount and minimum deposit amount for swapping coins A to B?"
-
Prompt 3: "What is the chain fee for coin C?"
-
Prompt 4: "Please swap token Q to token R."
-
Prompt 5: "I want to check the state of my order, using my refund address and order ID."
Features and commands
Feature/Command | Description |
---|---|
getBaseInfo | This command retrieves the base information on supported coins. Use the check_currency_name command first to verify the correct currency name. |
cross_chain_quote(deposit_coin_code, receive_coin_code) | This command retrieves the swap rate, maximum deposit amount, minimum deposit amount, and fee for swapping two coins. You need to provide the names of the deposit coin and the receive coin. |
cross_chain_quote_of_amount(deposit_coin_code, receive_coin_code, deposit_coin_amt) | This command retrieves the swap rate, maximum deposit amount, minimum deposit amount, fee, and other details by specifying the deposit coin amount. You need to provide the names of the deposit coin, the receive coin, and the deposit coin amount. |
get_chain_fee(coin_code) | This command retrieves the chain fee amount for a specific coin. You need to provide the coin code. |
get_swap_type(depositCoinCode) | This command retrieves the swap type, either swap1, swap2, or swap3, based on the deposit coin code. |
swap1(depositCoinCode, receiveCoinCode, depositCoinAmt, destinationAddr, refundAddr) | This command performs the swapping of tokens on a specific DEX. You need to provide the deposit coin name, receive coin name, deposit coin amount, destination coin address, and refund coin address. |
swap2(depositCoinCode, receiveCoinCode, depositCoinAmt) | This command performs the swapping of tokens on a specific DEX. You need to provide the deposit coin name, receive coin name, and deposit coin amount. |
swap3(depositCoinCode, receiveCoinCode, depositCoinAmt, destinationAddr, refundAddr) | This command performs the swapping of tokens on a specific DEX. You need to provide the deposit coin name |