🐕
DIPE Protocol on Dogecoin
  • Overview
    • 🐕DIPE | DMT Introduction
    • 💡General Information
  • Transaction Types
    • 🐕Deploy (D)
    • 🐕Mint (M)
    • 🐕Transfer (T)
    • 🐕Split (S)
    • 🐕Combine (C)
  • API Endpoints
    • Retrieve Address Events (UTXOs)
    • Retrieve Wallet Balance
  • Additional Guides
    • 💰Wallet Setup
    • 💵Minting on dipechain.xyz
Powered by GitBook
On this page
  • Combine (C):
  • Example OP_RETURN Data:
  • Role of UTXOs:
  • Example Transaction Processing:
  1. Transaction Types

Combine (C)

Combine (C):

Combine transactions are used to merge tokens from multiple UTXOs into a single UTXO.

  • Type: D (Deploy)

  • Action: C

Example OP_RETURN Data:

D C TOKEN_NAME

Role of UTXOs:

  • Each UTXO represents a specific amount of tokens.

  • Multiple UTXOs are consumed from the sender's address to represent the combining of tokens.

  • A single new UTXO is created with the combined total of the consumed UTXOs, encoded with a value of 0.01 DOGE.

  • This simplifies the management of token amounts by consolidating multiple UTXOs into one.

  • Each UTXO is connected to the token name and amount, ensuring the integrity of the combined token amount.

Example Transaction Processing:

Combine Transaction

  1. Extract OP_RETURN Data: Decode the hex-encoded string to extract the token details.

  2. Validate Fields: Ensure the token field is present.

  3. Combine UTXOs: Merge multiple UTXOs into a single UTXO to simplify token amount management.

PreviousSplit (S)NextAPI Endpoints

Last updated 10 months ago

🐕