rest

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	QueryGlobalRoutePrefix  = "cudosnode.cudosnode.nft.Query"
	QuerySupplyRoute        = "Supply"
	QueryOwnerRoute         = "Owner"
	QueryCollectionRoute    = "Collection"
	QueryDenomsRoute        = "Denoms"
	QueryDenomRoute         = "Denom"
	QueryDenomByNameRoute   = "DenomByName"
	QueryDenomBySymbolRoute = "DenomBySymbol"
	QueryNFTRoute           = "NFT"
	QueryApprovalsNFTRoute  = "GetApprovalsNFT"
	QueryIsApprovedForAll   = "QueryApprovalsIsApprovedForAll"
)
View Source
const (
	RestParamDenomID     = "denom-id"
	RestParamDenomName   = "denom-name"
	RestParamDenomSymbol = "denom-symbol"
	RestParamTokenID     = "token-id"
	RestParamOwner       = "owner"
)

Variables

This section is empty.

Functions

func RegisterHandlers

func RegisterHandlers(cliCtx client.Context, r *mux.Router)

RegisterHandlers registers the NFT REST routes.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL