⚠️ Legacy SDK DocumentationThis documentation uses our older SDK (@handcash/handcash-connect), but the v3 SDK does not support this feature yet.
Burn and Create Items
Burn existing items and create new items in a single atomic operation using the HandCash Connect SDK.
Prerequisites
- Business wallet credentials (
authToken)
- Collection ID for the new items
- Items to burn (must be owned by the app)
- Item metadata and media for new items
Setup
Burn and Create Operation
Perform both burn and create operations atomically:
Burn Only (No Create)
To burn items without creating new ones, leave the issue parameter empty or omit it:
Use Cases
Open Card Pack
Crafting System
Important Notes
- The operation is atomic - both burn and create happen together or not at all
- Use item origins (not IDs) for the burn operation
- The
referencedCollection must be an existing collection ID
- If you omit the
issue parameter, only the burn operation is performed
- Order processing is asynchronous (typically takes less than 5 seconds)
Error Handling