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
class_id associated with the nft
owner is the owner address of the nft
QueryBalanceResponse is the response type for the Query/Balance RPC method
amount is the number of all NFTs of a given class owned by the owner
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
class_id associated with the nft
id is a unique identifier of the NFT
QueryOwnerResponse is the response type for the Query/Owner RPC method
owner is the owner address of the nft
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
class_id associated with the nft
QuerySupplyResponse is the response type for the Query/Supply RPC method
amount is the number of all NFTs from the given class
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
class_id associated with the nft
owner is the owner address of the nft
pagination defines an optional pagination for the request.
QueryNFTsResponse is the response type for the Query/NFTs RPC methods
NFT defines the NFT
pagination defines the pagination in the response.
NFT queries an NFT based on its class and id.
QueryNFTRequest is the request type for the Query/NFT RPC method
class_id associated with the nft
id is a unique identifier of the NFT
QueryNFTResponse is the response type for the Query/NFT RPC method
owner is the owner address of the nft
Class queries an NFT class based on its id
QueryClassRequest is the request type for the Query/Class RPC method
class_id associated with the nft
QueryClassResponse is the response type for the Query/Class RPC method
class defines the class of the nft type.
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
class defines the class of the nft type.
pagination defines the pagination in the response.
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
class_id associated with the nft
id is a unique identifier of the nft
owner is the owner address of the nft
EventMint is emitted on Mint
class_id associated with the nft
id is a unique identifier of the nft
owner is the owner address of the nft
EventSend is emitted on Msg/Send
class_id associated with the nft
id is a unique identifier of the nft
sender is the address of the owner of nft
receiver is the receiver address of nft
GenesisState defines the nft module's genesis state.
class defines the class of the nft type.
entry defines all nft owned by a person.
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