Documentation ¶
Index ¶
Constants ¶
View Source
const ( RestID = "id" RestDenom = "denom" )
Rest variable names nolint
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ClaimHTLCReq ¶
type ClaimHTLCReq struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` Sender string `json:"sender" yaml:"sender"` Secret string `json:"secret" yaml:"secret"` }
ClaimHTLCReq defines the properties of an HTLC claim request's body.
type CreateHTLCReq ¶
type CreateHTLCReq struct { BaseReq rest.BaseReq `json:"base_req" yaml:"base_req"` Sender string `json:"sender" yaml:"sender"` To string `json:"to" yaml:"to"` ReceiverOnOtherChain string `json:"receiver_on_other_chain" yaml:"receiver_on_other_chain"` SenderOnOtherChain string `json:"sender_on_other_chain" yaml:"sender_on_other_chain"` Amount sdk.Coins `json:"amount" yaml:"amount"` HashLock string `json:"hash_lock" yaml:"hash_lock"` TimeLock uint64 `json:"time_lock" yaml:"time_lock"` Timestamp uint64 `json:"timestamp" yaml:"timestamp"` Transfer bool `json:"transfer" yaml:"transfer"` }
CreateHTLCReq defines the properties of an HTLC creation request's body.
Click to show internal directories.
Click to hide internal directories.