Skip to main content
Version: 1.2.0

Protocol Documentation

Table of Contents​

Top

centerchain/tokenfactory/v1/query.proto​

QueryDenomAuthorityMetadataRequest​

QueryDenomAuthorityMetadataRequest defines the request structure for the DenomAuthorityMetadata gRPC query.

FieldTypeLabelDescription
denomstring

QueryDenomAuthorityMetadataResponse​

QueryDenomAuthorityMetadataResponse defines the response structure for the DenomAuthorityMetadata gRPC query.

FieldTypeLabelDescription
authority_metadataDenomAuthorityMetadata

QueryDenomBlacklistRequest​

FieldTypeLabelDescription
denomstring
paginationcosmos.base.query.v1beta1.PageRequest

QueryDenomBlacklistResponse​

FieldTypeLabelDescription
addressesstringrepeated
paginationcosmos.base.query.v1beta1.PageResponse

QueryDenomsFromAdminRequest​

QueryDenomsFromAdminRequest defines the request structure for the DenomsFromAdmin gRPC query.

FieldTypeLabelDescription
adminstring

QueryDenomsFromAdminResponse​

QueryDenomsFromAdminRequest defines the response structure for the DenomsFromAdmin gRPC query.

FieldTypeLabelDescription
denomsstringrepeated

QueryDenomsFromCreatorRequest​

QueryDenomsFromCreatorRequest defines the request structure for the DenomsFromCreator gRPC query.

FieldTypeLabelDescription
creatorstring

QueryDenomsFromCreatorResponse​

QueryDenomsFromCreatorRequest defines the response structure for the DenomsFromCreator gRPC query.

FieldTypeLabelDescription
denomsstringrepeated

QueryParamsRequest​

QueryParamsRequest is the request type for the Query/Params RPC method.

QueryParamsResponse​

QueryParamsResponse is the response type for the Query/Params RPC method.

FieldTypeLabelDescription
paramsParamsparams defines the parameters of the module.

Query​

Query defines the gRPC querier service.

Method NameRequest TypeResponse TypeDescription
ParamsQueryParamsRequestQueryParamsResponseParams defines a gRPC query method that returns the tokenfactory module's parameters.
DenomAuthorityMetadataQueryDenomAuthorityMetadataRequestQueryDenomAuthorityMetadataResponseDenomAuthorityMetadata defines a gRPC query method for fetching DenomAuthorityMetadata for a particular denom.
DenomsFromCreatorQueryDenomsFromCreatorRequestQueryDenomsFromCreatorResponseDenomsFromCreator defines a gRPC query method for fetching all denominations created by a specific admin/creator.
DenomsFromAdminQueryDenomsFromAdminRequestQueryDenomsFromAdminResponseDenomsFromAdmin defines a gRPC query method for fetching all denominations owned by a specific admin.
DenomBlacklistQueryDenomBlacklistRequestQueryDenomBlacklistResponse
AuthorizationQueryAuthorizationRequestQueryAuthorizationResponseAuthorization returns a single swap authorization by holder and sequence.
AuthorizationsQueryAuthorizationsRequestQueryAuthorizationsResponseAuthorizations lists the swap authorizations of a holder.
HighWaterMarkQueryHighWaterMarkRequestQueryHighWaterMarkResponseHighWaterMark returns the holder's monotonic order sequence high-water mark.

Scalar Value Types​

.proto TypeNotesC++JavaPythonGoC#PHPRuby
doubledoubledoublefloatfloat64doublefloatFloat
floatfloatfloatfloatfloat32floatfloatFloat
int32Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead.int32intintint32intintegerBignum or Fixnum (as required)
int64Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead.int64longint/longint64longinteger/stringBignum
uint32Uses variable-length encoding.uint32intint/longuint32uintintegerBignum or Fixnum (as required)
uint64Uses variable-length encoding.uint64longint/longuint64ulonginteger/stringBignum or Fixnum (as required)
sint32Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s.int32intintint32intintegerBignum or Fixnum (as required)
sint64Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s.int64longint/longint64longinteger/stringBignum
fixed32Always four bytes. More efficient than uint32 if values are often greater than 2^28.uint32intintuint32uintintegerBignum or Fixnum (as required)
fixed64Always eight bytes. More efficient than uint64 if values are often greater than 2^56.uint64longint/longuint64ulonginteger/stringBignum
sfixed32Always four bytes.int32intintint32intintegerBignum or Fixnum (as required)
sfixed64Always eight bytes.int64longint/longint64longinteger/stringBignum
boolboolbooleanbooleanboolboolbooleanTrueClass/FalseClass
stringA string must always contain UTF-8 encoded or 7-bit ASCII text.stringStringstr/unicodestringstringstringString (UTF-8)
bytesMay contain any arbitrary sequence of bytes.stringByteStringstr[]byteByteStringstringString (ASCII-8BIT)