evmos.proto.autogen.py.cosmos.nft.v1beta1

Classes

Class(id, name, symbol, description, uri, ...)

Class defines the class of the nft type.

Entry(owner, nfts)

Entry Defines all nft owned by a person

EventBurn(class_id, id, owner)

EventBurn is emitted on Burn

EventMint(class_id, id, owner)

EventMint is emitted on Mint

EventSend(class_id, id, sender, receiver)

EventSend is emitted on Msg/Send

GenesisState(classes, entries)

GenesisState defines the nft module's genesis state.

MsgBase()

MsgSend(class_id, id, sender, receiver)

MsgSend represents a message to send a nft from one account to another account.

MsgSendResponse()

MsgSendResponse defines the Msg/Send response type.

MsgStub(channel, *[, timeout, deadline, ...])

Nft(class_id, id, uri, uri_hash, data)

NFT defines the NFT.

QueryBalanceRequest(class_id, owner)

QueryBalanceRequest is the request type for the Query/Balance RPC method

QueryBalanceResponse(amount)

QueryBalanceResponse is the response type for the Query/Balance RPC method

QueryBase()

QueryClassRequest(class_id)

QueryClassRequest is the request type for the Query/Class RPC method

QueryClassResponse(class_)

QueryClassResponse is the response type for the Query/Class RPC method

QueryClassesRequest(pagination)

QueryClassesRequest is the request type for the Query/Classes RPC method

QueryClassesResponse(classes, pagination)

QueryClassesResponse is the response type for the Query/Classes RPC method

QueryNfTsRequest(class_id, owner, pagination)

QueryNFTstRequest is the request type for the Query/NFTs RPC method

QueryNfTsResponse(nfts, pagination)

QueryNFTsResponse is the response type for the Query/NFTs RPC methods

QueryNftRequest(class_id, id)

QueryNFTRequest is the request type for the Query/NFT RPC method

QueryNftResponse(nft)

QueryNFTResponse is the response type for the Query/NFT RPC method

QueryOwnerRequest(class_id, id)

QueryOwnerRequest is the request type for the Query/Owner RPC method

QueryOwnerResponse(owner)

QueryOwnerResponse is the response type for the Query/Owner RPC method

QueryStub(channel, *[, timeout, deadline, ...])

QuerySupplyRequest(class_id)

QuerySupplyRequest is the request type for the Query/Supply RPC method

QuerySupplyResponse(amount)

QuerySupplyResponse is the response type for the Query/Supply RPC method

class evmos.proto.autogen.py.cosmos.nft.v1beta1.Class(id: str = <object object>, name: str = <object object>, symbol: str = <object object>, description: str = <object object>, uri: str = <object object>, uri_hash: str = <object object>, data: ~betterproto.lib.google.protobuf.Any = <object object>)[source]

Bases: Message

Class defines the class of the nft type.

data: Any = <object object>

data is the app specific metadata of the NFT class. Optional

description: str = <object object>

description is a brief description of nft classification. Optional

id: str = <object object>

id defines the unique identifier of the NFT classification, similar to the contract address of ERC721

name: str = <object object>

name defines the human-readable name of the NFT classification. Optional

symbol: str = <object object>

symbol is an abbreviated name for nft classification. Optional

uri: str = <object object>

uri for the class metadata stored off chain. It can define schema for Class and NFT Data attributes. Optional

uri_hash: str = <object object>

uri_hash is a hash of the document pointed by uri. Optional

class evmos.proto.autogen.py.cosmos.nft.v1beta1.Entry(owner: str = <object object>, nfts: ~typing.List[~evmos.proto.autogen.py.cosmos.nft.v1beta1.Nft] = <object object>)[source]

Bases: Message

Entry Defines all nft owned by a person

nfts: List[Nft] = <object object>

nfts is a group of nfts of the same owner

owner: str = <object object>

owner is the owner address of the following nft

class evmos.proto.autogen.py.cosmos.nft.v1beta1.EventBurn(class_id: str = <object object>, id: str = <object object>, owner: str = <object object>)[source]

Bases: Message

EventBurn is emitted on Burn

class_id: str = <object object>

class_id associated with the nft

id: str = <object object>

id is a unique identifier of the nft

owner: str = <object object>

owner is the owner address of the nft

class evmos.proto.autogen.py.cosmos.nft.v1beta1.EventMint(class_id: str = <object object>, id: str = <object object>, owner: str = <object object>)[source]

Bases: Message

EventMint is emitted on Mint

class_id: str = <object object>

class_id associated with the nft

id: str = <object object>

id is a unique identifier of the nft

owner: str = <object object>

owner is the owner address of the nft

class evmos.proto.autogen.py.cosmos.nft.v1beta1.EventSend(class_id: str = <object object>, id: str = <object object>, sender: str = <object object>, receiver: str = <object object>)[source]

Bases: Message

EventSend is emitted on Msg/Send

class_id: str = <object object>

class_id associated with the nft

id: str = <object object>

id is a unique identifier of the nft

receiver: str = <object object>

receiver is the receiver address of nft

sender: str = <object object>

sender is the address of the owner of nft

class evmos.proto.autogen.py.cosmos.nft.v1beta1.GenesisState(classes: ~typing.List[~evmos.proto.autogen.py.cosmos.nft.v1beta1.Class] = <object object>, entries: ~typing.List[~evmos.proto.autogen.py.cosmos.nft.v1beta1.Entry] = <object object>)[source]

Bases: Message

GenesisState defines the nft module’s genesis state.

classes: List[Class] = <object object>

class defines the class of the nft type.

entries: List[Entry] = <object object>

entry defines all nft owned by a person.

class evmos.proto.autogen.py.cosmos.nft.v1beta1.MsgBase[source]

Bases: ServiceBase

async send(msg_send: MsgSend) MsgSendResponse[source]
class evmos.proto.autogen.py.cosmos.nft.v1beta1.MsgSend(class_id: str = <object object>, id: str = <object object>, sender: str = <object object>, receiver: str = <object object>)[source]

Bases: Message

MsgSend represents a message to send a nft from one account to another account.

class_id: str = <object object>

class_id defines the unique identifier of the nft classification, similar to the contract address of ERC721

id: str = <object object>

id defines the unique identification of nft

receiver: str = <object object>

receiver is the receiver address of nft

sender: str = <object object>

sender is the address of the owner of nft

class evmos.proto.autogen.py.cosmos.nft.v1beta1.MsgSendResponse[source]

Bases: Message

MsgSendResponse defines the Msg/Send response type.

class evmos.proto.autogen.py.cosmos.nft.v1beta1.MsgStub(channel: Channel, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: Mapping[str, str | bytes] | Collection[Tuple[str, str | bytes]] | None = None)[source]

Bases: ServiceStub

async send(msg_send: MsgSend, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) MsgSendResponse[source]
class evmos.proto.autogen.py.cosmos.nft.v1beta1.Nft(class_id: str = <object object>, id: str = <object object>, uri: str = <object object>, uri_hash: str = <object object>, data: ~betterproto.lib.google.protobuf.Any = <object object>)[source]

Bases: Message

NFT defines the NFT.

class_id: str = <object object>

class_id associated with the NFT, similar to the contract address of ERC721

data: Any = <object object>

data is an app specific data of the NFT. Optional

id: str = <object object>

id is a unique identifier of the NFT

uri: str = <object object>

uri for the NFT metadata stored off chain

uri_hash: str = <object object>

uri_hash is a hash of the document pointed by uri

class evmos.proto.autogen.py.cosmos.nft.v1beta1.QueryBalanceRequest(class_id: str = <object object>, owner: str = <object object>)[source]

Bases: Message

QueryBalanceRequest is the request type for the Query/Balance RPC method

class_id: str = <object object>

class_id associated with the nft

owner: str = <object object>

owner is the owner address of the nft

class evmos.proto.autogen.py.cosmos.nft.v1beta1.QueryBalanceResponse(amount: int = <object object>)[source]

Bases: Message

QueryBalanceResponse is the response type for the Query/Balance RPC method

amount: int = <object object>

amount is the number of all NFTs of a given class owned by the owner

class evmos.proto.autogen.py.cosmos.nft.v1beta1.QueryBase[source]

Bases: ServiceBase

async balance(query_balance_request: QueryBalanceRequest) QueryBalanceResponse[source]
async class_(query_class_request: QueryClassRequest) QueryClassResponse[source]
async classes(query_classes_request: QueryClassesRequest) QueryClassesResponse[source]
async nf_ts(query_nf_ts_request: QueryNfTsRequest) QueryNfTsResponse[source]
async nft(query_nft_request: QueryNftRequest) QueryNftResponse[source]
async owner(query_owner_request: QueryOwnerRequest) QueryOwnerResponse[source]
async supply(query_supply_request: QuerySupplyRequest) QuerySupplyResponse[source]
class evmos.proto.autogen.py.cosmos.nft.v1beta1.QueryClassRequest(class_id: str = <object object>)[source]

Bases: Message

QueryClassRequest is the request type for the Query/Class RPC method

class_id: str = <object object>

class_id associated with the nft

class evmos.proto.autogen.py.cosmos.nft.v1beta1.QueryClassResponse(class_: ~evmos.proto.autogen.py.cosmos.nft.v1beta1.Class = <object object>)[source]

Bases: Message

QueryClassResponse is the response type for the Query/Class RPC method

class_: Class = <object object>

class defines the class of the nft type.

class evmos.proto.autogen.py.cosmos.nft.v1beta1.QueryClassesRequest(pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageRequest = <object object>)[source]

Bases: Message

QueryClassesRequest is the request type for the Query/Classes RPC method

pagination: PageRequest = <object object>

pagination defines an optional pagination for the request.

class evmos.proto.autogen.py.cosmos.nft.v1beta1.QueryClassesResponse(classes: ~typing.List[~evmos.proto.autogen.py.cosmos.nft.v1beta1.Class] = <object object>, pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageResponse = <object object>)[source]

Bases: Message

QueryClassesResponse is the response type for the Query/Classes RPC method

classes: List[Class] = <object object>

class defines the class of the nft type.

pagination: PageResponse = <object object>

pagination defines the pagination in the response.

class evmos.proto.autogen.py.cosmos.nft.v1beta1.QueryNfTsRequest(class_id: str = <object object>, owner: str = <object object>, pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageRequest = <object object>)[source]

Bases: Message

QueryNFTstRequest is the request type for the Query/NFTs RPC method

class_id: str = <object object>

class_id associated with the nft

owner: str = <object object>

owner is the owner address of the nft

pagination: PageRequest = <object object>

pagination defines an optional pagination for the request.

class evmos.proto.autogen.py.cosmos.nft.v1beta1.QueryNfTsResponse(nfts: ~typing.List[~evmos.proto.autogen.py.cosmos.nft.v1beta1.Nft] = <object object>, pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageResponse = <object object>)[source]

Bases: Message

QueryNFTsResponse is the response type for the Query/NFTs RPC methods

nfts: List[Nft] = <object object>

NFT defines the NFT

pagination: PageResponse = <object object>

pagination defines the pagination in the response.

class evmos.proto.autogen.py.cosmos.nft.v1beta1.QueryNftRequest(class_id: str = <object object>, id: str = <object object>)[source]

Bases: Message

QueryNFTRequest is the request type for the Query/NFT RPC method

class_id: str = <object object>

class_id associated with the nft

id: str = <object object>

id is a unique identifier of the NFT

class evmos.proto.autogen.py.cosmos.nft.v1beta1.QueryNftResponse(nft: ~evmos.proto.autogen.py.cosmos.nft.v1beta1.Nft = <object object>)[source]

Bases: Message

QueryNFTResponse is the response type for the Query/NFT RPC method

nft: Nft = <object object>

owner is the owner address of the nft

class evmos.proto.autogen.py.cosmos.nft.v1beta1.QueryOwnerRequest(class_id: str = <object object>, id: str = <object object>)[source]

Bases: Message

QueryOwnerRequest is the request type for the Query/Owner RPC method

class_id: str = <object object>

class_id associated with the nft

id: str = <object object>

id is a unique identifier of the NFT

class evmos.proto.autogen.py.cosmos.nft.v1beta1.QueryOwnerResponse(owner: str = <object object>)[source]

Bases: Message

QueryOwnerResponse is the response type for the Query/Owner RPC method

owner: str = <object object>

owner is the owner address of the nft

class evmos.proto.autogen.py.cosmos.nft.v1beta1.QueryStub(channel: Channel, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: Mapping[str, str | bytes] | Collection[Tuple[str, str | bytes]] | None = None)[source]

Bases: ServiceStub

async balance(query_balance_request: QueryBalanceRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryBalanceResponse[source]
async class_(query_class_request: QueryClassRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryClassResponse[source]
async classes(query_classes_request: QueryClassesRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryClassesResponse[source]
async nf_ts(query_nf_ts_request: QueryNfTsRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryNfTsResponse[source]
async nft(query_nft_request: QueryNftRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryNftResponse[source]
async owner(query_owner_request: QueryOwnerRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryOwnerResponse[source]
async supply(query_supply_request: QuerySupplyRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QuerySupplyResponse[source]
class evmos.proto.autogen.py.cosmos.nft.v1beta1.QuerySupplyRequest(class_id: str = <object object>)[source]

Bases: Message

QuerySupplyRequest is the request type for the Query/Supply RPC method

class_id: str = <object object>

class_id associated with the nft

class evmos.proto.autogen.py.cosmos.nft.v1beta1.QuerySupplyResponse(amount: int = <object object>)[source]

Bases: Message

QuerySupplyResponse is the response type for the Query/Supply RPC method

amount: int = <object object>

amount is the number of all NFTs from the given class