Skip to content

Generated schema for tokenization/icq.proto: 6 messages in the x/tokenization module.

Proto package tokenization, part of the x/tokenization module. It declares 6 messages. Read the raw source.

Messages

BulkOwnershipQueryPacket

BulkOwnershipQueryPacket allows querying multiple addresses/collections in a single IBC packet.

This is more efficient than sending multiple individual queries.

Field#TypeRuleDescription
query_id1stringsingularUnique identifier for the bulk query
queries2OwnershipQueryPacketrepeatedIndividual queries to process (max 100 recommended)

BulkOwnershipQueryResponsePacket

BulkOwnershipQueryResponsePacket contains responses for all queries in a bulk request.

Field#TypeRuleDescription
query_id1stringsingularCorrelation ID from the original bulk request
responses2OwnershipQueryResponsePacketrepeatedResponses in the same order as the original queries

FullBalanceQueryPacket

FullBalanceQueryPacket is sent from a querying chain to BitBadges to retrieve

the complete balance store for a user (balances, approvals, permissions).

Field#TypeRuleDescription
query_id1stringsingularUnique identifier for correlating request and response
address2stringsingularAddress to get balance for (bech32 or EVM hex format)
collection_id3stringsingularCollection ID to query (uint as string for cross-chain compatibility)

FullBalanceQueryResponsePacket

FullBalanceQueryResponsePacket is sent from BitBadges back to the querying chain

with the complete balance store (serialized as bytes for cross-chain compatibility).

Field#TypeRuleDescription
query_id1stringsingularCorrelation ID from the original request
balance_store2bytessingularThe serialized UserBalanceStore (protobuf bytes) Contains balances, incoming/outgoing approvals, auto-approve settings, and permissions
proof_height3uint64singularBlock height at which the response was generated
error4stringsingularError message if the query failed (empty on success)

OwnershipQueryPacket

OwnershipQueryPacket is sent from a querying chain to BitBadges to verify token ownership.

The querying chain provides the address and token criteria, and BitBadges responds with

ownership status and optional cryptographic proof.

Field#TypeRuleDescription
query_id1stringsingularUnique identifier for correlating request and response
address2stringsingularAddress to check ownership for (bech32 or EVM hex format)
collection_id3stringsingularCollection ID to query (uint as string for cross-chain compatibility)
token_id4stringsingularToken ID to check ownership for (uint as string)
ownership_time5stringsingularOwnership time to check (uint as string, typically current time in milliseconds)

OwnershipQueryResponsePacket

OwnershipQueryResponsePacket is sent from BitBadges back to the querying chain

with the ownership verification result.

Field#TypeRuleDescription
query_id1stringsingularCorrelation ID from the original request
owns_tokens2boolsingularTrue if the address owns any of the specified tokens (total_amount > 0)
total_amount3stringsingularTotal amount owned for the specified token IDs and ownership times
proof_height4uint64singularBlock height at which the response was generated
error5stringsingularError message if the query failed (empty on success)

Edit this page on GitHub