DZap Documentation
  • 🌐Overview
  • Features
    • Aggregation
      • Usecases
      • Fee Structure
      • Chains, Bridge and Liquidity
      • Different Transaction Status
      • Price Imapct Handling
      • Technical Details
    • DCA
      • Creating Positions
      • Additional Actions
      • Swap properties
      • Fees
      • Supported Tokens
    • Zapping (Coming soon)
      • Use Cases
      • Liquidity Migration
      • Supported Routes
  • Protocol
    • Contract address
    • Dzap Aggregation API
    • Uniswap Permit V2
    • Backend API
  • Terms & Security
    • Troubleshooting & Self Serve Guide
    • Terms
    • Audit Reports
    • Privacy
    • Security
  • Tutorial
    • Batch Swap via DEX Aggregator
    • Batch swap via Bridge Aggregator
    • Minting LST from Any Chain
  • Socials
    • 🌐Website
    • 🐦Twitter
    • 👾Discord
    • Ⓜ️Medium
  • DZap SDK
    • Dollar Cost Averaging (DCA)
      • Overview
      • Installation
      • Quick Start
      • Usage Guide
      • Methods
      • Data Types
Powered by GitBook
On this page
  1. Features
  2. Aggregation

Different Transaction Status

After you submit a transaction, it can succeed, fail, or be replaced:

  1. Submitted: After you initiate a transaction, it's like handing it over to a courier. It's ready to be picked up by the network's miners and placed on the blockchain if it's a valid transaction. Example: You decide to swap 0.1ETH for DAI on DZap. The swap transaction is submitted, and it's now waiting to be processed by the network.

  2. Success: When a transaction is successful, it means it has been verified and added to the blockchain. Once it's on the blockchain, there's no turning back, and the transfer of funds is complete. Example: The network validates your swap transaction, and you now own DAI in your wallet, and the transaction is considered successful.

  3. Failed: A transaction can fail if it's invalid, often due to issues like insufficient funds, incorrect addresses, or conflicting with other transactions. When this happens, the network rejects the transaction. Example: You attempt to swap 1 ETH, but there's not enough funds for the trade, causing the transaction to fail.

  4. Canceled, Replaced: Sometimes, you can cancel or replace a pending transaction before it gets confirmed. This might occur if you made a mistake in the initial transaction, like setting a very low fee.

    Example: You initiate a swap to trade 0.05 BTC for 2 ETH. After some time, the market price for ETH significantly drops, making you reconsider the swap. You cancel the initial transaction and create a new one, swapping 0.05 BTC for 2.5 ETH at the updated market rate.

These states illustrate the lifecycle of a token swap on DZap, from the moment you initiate the trade to its successful completion or any potential failures, cancellations, or replacements. It's important to be attentive and double-check your swap parameters to ensure a successful and efficient transaction.

PreviousChains, Bridge and LiquidityNextPrice Imapct Handling

Last updated 10 months ago