Documentation ¶
Index ¶
Constants ¶
View Source
const ( Denom = "denom" ChainId = "chain_id" )
Variables ¶
This section is empty.
Functions ¶
func RegisterRoutes ¶
func RegisterRoutes(cliCtx context.CLIContext, r *mux.Router, queryRoute string)
RegisterRoutes registers btcx module REST handlers on the provided router.
Types ¶
type BindAssetHashReq ¶
type CreateCoinReq ¶
type LockReq ¶
type LockReq struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` SourceAssetDenom string `json:"source_asset_denom" yaml:"source_asset_denom"` ToChainId uint64 `json:"to_Chain_id" yaml:"to_chain_id"` ToAddressBs []byte `json:"to_address_bs" yaml:"to_address_bs"` Value sdk.Int `json:"value" yaml:"value"` }
Click to show internal directories.
Click to hide internal directories.