NFTs
Issue an NFT
Mint one instance of a collection into a destination account. Issuance fees are paid in the fee symbol you choose.
Try it: issue an NFTUsage
Properties are an arbitrary JSON object stored with the instance and must match the data properties defined on the collection.
TypeScript
await hive.issuer.nft.issue({
from: hive.accounts.treasury,
symbol: "TESTNFT",
account: "bob",
feeSymbol: "BEE",
properties: { level: 1, rarity: "rare" },
});
await hive.keychainIssuer.nft.issue({
username: "alice",
symbol: "TESTNFT",
account: "bob",
feeSymbol: "BEE",
properties: { level: 1 },
});Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| from / username | AccountRef | string | Yes | Signing account. |
| symbol | string | Yes | Collection symbol. |
| account | string | Yes | Receiving account. |
| feeSymbol | string | No | Token used to pay the issuance fee. |
| properties | object | No | Instance properties. |
