Get desktop application:
View/edit binary Protocol Buffers messages
Msg defines the nft Msg service.
Send defines a method to send a nft from one account to another account.
MsgSend represents a message to send a nft from one account to another account.
class_id defines the unique identifier of the nft classification, similar to the contract address of ERC721
id defines the unique identification of nft
sender is the address of the owner of nft
receiver is the receiver address of nft
MsgSendResponse defines the Msg/Send response type.
(message has no fields)
Query defines the gRPC querier service.
Balance queries the number of NFTs of a given class owned by the owner, same as balanceOf in ERC721
QueryBalanceRequest is the request type for the Query/Balance RPC method
QueryBalanceResponse is the response type for the Query/Balance RPC method
Class queries an NFT class based on its id
QueryClassRequest is the request type for the Query/Class RPC method
QueryClassResponse is the response type for the Query/Class RPC method
Classes queries all NFT classes
QueryClassesRequest is the request type for the Query/Classes RPC method
pagination defines an optional pagination for the request.
QueryClassesResponse is the response type for the Query/Classes RPC method
NFT queries an NFT based on its class and id.
QueryNFTRequest is the request type for the Query/NFT RPC method
QueryNFTResponse is the response type for the Query/NFT RPC method
NFTs queries all NFTs of a given class or owner,choose at least one of the two, similar to tokenByIndex in ERC721Enumerable
QueryNFTstRequest is the request type for the Query/NFTs RPC method
QueryNFTsResponse is the response type for the Query/NFTs RPC methods
Owner queries the owner of the NFT based on its class and id, same as ownerOf in ERC721
QueryOwnerRequest is the request type for the Query/Owner RPC method
QueryOwnerResponse is the response type for the Query/Owner RPC method
Supply queries the number of NFTs from the given class, same as totalSupply of ERC721.
QuerySupplyRequest is the request type for the Query/Supply RPC method
QuerySupplyResponse is the response type for the Query/Supply RPC method
Class defines the class of the nft type.
Used in: , ,
id defines the unique identifier of the NFT classification, similar to the contract address of ERC721
name defines the human-readable name of the NFT classification. Optional
symbol is an abbreviated name for nft classification. Optional
description is a brief description of nft classification. Optional
uri for the class metadata stored off chain. It can define schema for Class and NFT `Data` attributes. Optional
uri_hash is a hash of the document pointed by uri. Optional
data is the app specific metadata of the NFT class. Optional
Entry Defines all nft owned by a person
Used in:
owner is the owner address of the following nft
nfts is a group of nfts of the same owner
EventBurn is emitted on Burn
EventMint is emitted on Mint
EventSend is emitted on Msg/Send
GenesisState defines the nft module's genesis state.
class defines the class of the nft type.
NFT defines the NFT.
Used in: , ,
class_id associated with the NFT, similar to the contract address of ERC721
id is a unique identifier of the NFT
uri for the NFT metadata stored off chain
uri_hash is a hash of the document pointed by uri
data is an app specific data of the NFT. Optional