A token bundle is a heterogeneous collection of tokens and is the standard, and only, way to represent and store assets on the Cardano blockchain.
Key characteristics:
- Composition: It can bundle any combination of tokens and ada amounts together.
- Fungibility: It organizes tokens so that fungibility is explicitly defined by the Asset ID (Policy ID + Asset Name).
- Storage Locations: Token bundles are found in:
- The mint field of a transaction (indicating tokens being minted).
- An output of a transaction or an output in the UTXO set (e.g.,
{ MyAddress, TB_Example }).
Note: While token bundles handle multi-asset amounts, certain transaction fields like the fee field must still explicitly specify ada amounts.
{
NFLPlayerCardsPolicyID {
(SomeNFLPlayerCard, 1),
(SomeOtherNFLPlayerCard, 1),
(YetAnotherNFLPlayerCard, 1)}
RushConcertPolicyID {
(Tickets, 500),
(VIPTickets, 50)}
}