Asset Types
Basics
Assets are meant to create new experience and bring value to your users. There can be any number of mixed and matched assets for each key use. Assets can take on the following types:
- NEAR
- Fungible Tokens
- Non-Fungible Tokens
- Function Calls
Each key in a drop holds the same assets, meaning a user can receive any key from the drop and be guarenteed the same set of assets.
Access Keys can have multiple uses and their assets are defined per use. These can be mix-and-matched to craft any experience you want. An example can be seen below:
| Key Use | Assets |
|---|---|
| 1 | NEAR, FunctionCall, Fungible Token |
| 2 | Non-Fungible Token |
| 3 | Fungible Token, NEAR |
This means when the user claims their key for the first time, they will receive some FTs, some NEAR and call a set of functions. On the second claim, they will receive an NFT while on the third and final claim, they will receive some NEAR and FTs.
New with Keypom V3, you can mix-and-match and add multiple different types of assets per use, for as many key uses/claims as you want!
Defining vs Funding Assets
An important distinction to be made is the difference between defining and funding assets. Defining an asset is similar to creating a blueprint for your drop while funding is the process of building it.
If assets are not properly funded, your drop may not perform as expected. Proper funding is formally defined in next section.