How Does ERC-1155 Work? The Multi-Token Standard Explained
ERC-1155 lets one Ethereum contract hold many token types at once. Here is how the contract tracks them, how batch transfers work, and where the standard fits.
On this page
Short answer
ERC-1155 works by storing each token type as an ID with a balance inside one smart contract, so a single contract can hold fungible tokens and non-fungible tokens side by side. Transfers move a stated amount of a token ID between addresses, and batch transfers move several types in one call, with a receiver check that stops tokens going to a contract that cannot hold them.
What is ERC-1155, and what problem does it solve?
ERC-1155 is a token standard on Ethereum that lets one smart contract hold many different token types at once, both fungible tokens and non-fungible tokens. It was designed for cases where a single contract needs to manage a whole set of items, such as the items in a game or the ticket types for an event.
| Standard | Token types per contract | Best for |
|---|---|---|
| ERC-20 | One fungible token | Currencies and stablecoins |
| ERC-721 | Many unique tokens | Art, collectibles, certificates |
| ERC-1155 | Many types, mixed | Games, tickets, item sets |
The problem it solves is contract sprawl. Before ERC-1155, a game with 100 item types needed 100 contracts or one contract stretched beyond its design. ERC-1155 stores each type as an ID with a balance, so one contract can hold swords, shields and potions side by side.
How does one contract hold many token types?
The contract keeps a simple record: for each token ID, how many of that token each address holds. A fungible type, such as 1,000 identical game coins, is one ID with a balance of 1,000. A non-fungible type, such as a single rare sword, is one ID with a balance of one, held by one address.
This design means the contract does not care whether a token is fungible or not. The difference is only in the supply: a type with many copies behaves like a currency, and a type with one copy behaves like a collectible. The same functions move both, which keeps the code short and the behaviour consistent.
Each token type can also carry its own metadata, usually a link to a file that describes the item, its image and its properties. The metadata sits off chain, and the token only stores the link, which keeps the contract small. For how the older standards compare, ERC-20 vs ERC-721 covers the two standards ERC-1155 builds on.
How does a transfer work?
A transfer moves a stated amount of one token ID from one address to another, and the contract checks two things first: that the sender holds enough of that token, and that the receiver can accept it. The receiver check is a call to the receiving contract, which must confirm it handles ERC-1155 tokens, so tokens cannot be sent to a contract that would trap them.
Example (hypothetical): a player sends a teammate 10 swords, 5 shields and 2 helmets. Without batching, that is three separate transfers. With ERC-1155, one batch transfer moves all three types in a single transaction: 10 of token ID 1, 5 of token ID 2 and 2 of token ID 3. The three balances update together, so the transfer either completes in full or not at all.
Batching also matters for the team running the game. Minting a new set of items, or moving stock between wallets, takes one call instead of dozens, which keeps the history short and the process easy to audit. The batch either succeeds as a whole or fails as a whole, so there is no half-moved state to clean up.
What is the difference between fungible and non-fungible types in ERC-1155?
In ERC-1155 the difference between a fungible and a non-fungible token is a matter of supply, not of kind. A token type with a supply of 1,000 identical copies is fungible: any one copy is as good as another. A token type with a supply of one is non-fungible: it is a single, distinct item.
That flexibility is the point of the standard. A game can hold its currency, its common items and its one-off legendary items in the same contract, and the same wallet can display all of them. A ticket seller can hold general admission passes, which are fungible, and VIP passes with a named seat, which are not, in one place.
The trade-off is that tools and wallets need to understand the standard to show the tokens properly. A wallet built only for ERC-20 will not display an ERC-1155 balance, so teams must check that the wallets and marketplaces their users rely on support the standard. For the token basics, what ERC-20 tokens are explains the fungible standard most wallets support.
How do minting and burning work?
Minting creates new tokens of a chosen ID and assigns them to an address, and burning destroys tokens an address holds. The contract tracks the total supply of each ID, so the team always knows how many copies of an item exist and where they sit.
Minting is usually restricted to an approved account or a minter role, because anyone able to mint could create copies of a rare item and break its value. Burning is often open to the holder, since destroying your own tokens harms no one else, but some contracts restrict it too, for items that must stay in circulation.
Supply control is what gives the tokens their value. A game that mints extra copies of a rare sword after promising a fixed supply will lose the trust of its players fast. The contract should make the supply rules visible, so holders can check them instead of taking the team's word for it.
Where does ERC-1155 fit, and where does it not?
ERC-1155 fits wherever one project needs many token types that move together: games, event tickets, loyalty programmes, collectible sets and tokenised inventory. If the items are managed as a set, one contract is simpler than many, and batch transfers keep the operations short.
It does not fit where a single fungible token is the whole product. A stablecoin or a governance token needs only ERC-20, and adding the extra machinery of ERC-1155 buys nothing. It also does not fit where each token needs its own contract logic, since ERC-1155 keeps the logic shared across types.
| Use case | Why ERC-1155 fits | Watch out |
|---|---|---|
| Game items | Many types move together | Wallets must support it |
| Event tickets | Mixed pass types in one contract | Resale rules need care |
| Collectible sets | One contract per set | Metadata links must stay live |
| Loyalty points | Fungible and unique rewards together | Supply rules must be public |
For the asset side of token standards, how tokenization works explains the wider pattern that ERC-1155 tokens sit inside.
What are the common mistakes?
The most common mistakes with ERC-1155 are treating every token type as fungible, skipping the receiver check, and minting without a published supply rule. Each one is avoidable if the team plans the token set before writing the contract.
- Assuming fungibility. A type with one copy is a unique item; pricing it like a currency causes errors in the marketplace.
- Ignoring the receiver check. Sending tokens to a contract that cannot receive them can lock them away for good.
- Unlimited minting. A minter with no cap can create copies of a rare item and break its value.
- Dead metadata links. If the file describing an item goes offline, the token points at nothing.
- Wrong standard for the job. A single currency does not need a multi-token contract; use ERC-20 instead.
Key takeaways
- One ERC-1155 contract holds many token types, fungible and non-fungible, each tracked by ID and balance
- Fungible or not is a matter of supply: many copies behave like currency, one copy like a collectible
- Batch transfers move several types in one call, and the batch either completes in full or not at all
- The receiver check stops tokens going to a contract that cannot hold them
- Use ERC-1155 only when several token types need to live and move together
Frequently asked questions
Is ERC-1155 better than ERC-721?
It depends on the job. ERC-1155 is better when one project manages many token types that move together, such as game items. ERC-721 is simpler when every token is unique and needs its own logic, such as a single art collection.
Can one ERC-1155 token be both fungible and non-fungible?
No, a single token type is one or the other, decided by its supply. A type with many identical copies is fungible; a type with one copy is non-fungible. The contract can hold both kinds of types at once.
Do wallets support ERC-1155?
Most modern wallets do, but not all. A wallet built only for ERC-20 will not display ERC-1155 balances, so teams should check that the wallets and marketplaces their users rely on support the standard before launch.
What happens if I send ERC-1155 tokens to the wrong address?
If the address is a normal wallet, the tokens sit there and only the holder can move them. If it is a contract that cannot receive ERC-1155 tokens, the receiver check should block the transfer, which is why the check exists.
How are ERC-1155 tokens priced?
Like any token: by supply and demand for that type. A fungible type trades at a unit price, while a non-fungible type is priced on its own, like any unique item. The standard itself sets no price.
Does ERC-1155 work on chains other than Ethereum?
Yes. ERC-1155 is an Ethereum standard, but the same design runs on other chains that support the Ethereum virtual machine, such as Polygon. The contract code is the same; only the network changes.