Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BroadcastTxRequest ¶
func BroadcastTxRequest(clientCtx client.Context) http.HandlerFunc
BroadcastTxRequest implements a tx broadcasting handler that is responsible for broadcasting a valid and signed tx to a full node. The tx can be broadcasted via a sync|async|block mechanism.
Types ¶
type BroadcastReq ¶
type BroadcastReq struct {
Tx legacytx.StdTx `json:"tx" yaml:"tx"`
Mode string `json:"mode" yaml:"mode"`
Sequences []uint64 `json:"sequences" yaml:"sequences"`
TimeoutHeight uint64 `json:"timeout_height" yaml:"timeout_height"`
FeeGranter string `json:"fee_granter" yaml:"fee_granter"`
}
BroadcastReq defines a tx broadcasting request.
func (BroadcastReq) UnpackInterfaces ¶
func (m BroadcastReq) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
UnpackInterfaces implements the UnpackInterfacesMessage interface.
Click to show internal directories.
Click to hide internal directories.