NFT
NFT
provides the ability to digitize assets. Through this module, each off-chain asset will be modeled as a unique on-chain nft.
Available Commands
Name | Description |
---|---|
issue | Specify the nft Denom (nft category) and metadata JSON Schema to issue nft. |
mint | Additional issuance (create) of specific nft of this type can be made. |
edit | The metadata of the specified nft can be updated. |
transfer | Transfer designated nft. |
burn | Destroy the created nft. |
supply | Query the total amount of nft according to Denom; accept the optional owner parameter. |
owner | Query all nft owned by an account; you can specify the Denom parameter. |
collection | Query all nft according to Denom. |
denom | Query nft denom information based on Denom. |
denoms | Query the total amount of nft according to Denom; accept the optional owner parameter. |
token | Query specific nft based on Denom and ID. |
iris tx nft issue
Specify the nft Denom (nft category) and metadata JSON Schema to issue nft.
iris tx nft issue [denom-id] [flags]
Flags:
Name, shorthand | Required | Default | Description |
---|---|---|---|
--name | The name of the denom | ||
--schema | Denom data structure definition |
iris tx nft mint
Additional issuance (create) of specific nft of this type can be made.
iris tx nft mint [denomID] [tokenID] [flags]
Flags:
Name, shorthand | Required | Default | Description |
---|---|---|---|
--uri | URI of off-chain token data | ||
--recipient | Receiver of the nft | ||
--name | The name of nft |
iris tx nft edit
The metadata of the specified nft can be updated.
iris tx nft edit [denomID] [tokenID] [flags]
Flags:
Name, shorthand | Required | Default | Description |
---|---|---|---|
--uri | URI of off-chain token data | ||
--name | The name of nft |
iris tx nft transfer
Transfer designated nft.
iris tx nft transfer [recipient] [denomID] [tokenID] [flags]
Flags:
Name, shorthand | Required | Default | Description |
---|---|---|---|
--uri | URI of off-chain token data | ||
--name | The name of nft |
iris tx nft burn
Destroy the created nft.
iris tx nft burn [denomID] [tokenID] [flags]
iris query nft
Query nft
iris query nft supply
iris query nft supply [denomID]
iris query nft supply [denomID] --owner=<owner address>
iris query nft owner
iris query nft owner [owner address]
iris query nft owner [owner address] --denom=<denomID>
iris query nft collection
iris query nft collection [denomID]
iris query nft denom
iris query nft denom [denomID]
iris query nft denoms
iris query nft denoms
iris query nft token
iris query nft token [denomID] [tokenID]