rest

package
v0.0.0-...-7c30539 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterRoutes

func RegisterRoutes(clientCtx client.Context, r *mux.Router)

RegisterRoutes - Central function to define routes that get registered by the main application

Types

type TransferTxReq

type TransferTxReq struct {
	BaseReq          rest.BaseReq `json:"base_req" yaml:"base_req"`
	Amount           sdk.Coins    `json:"amount" yaml:"amount"`
	Receiver         string       `json:"receiver" yaml:"receiver"`
	TimeoutHeight    uint64       `json:"timeout_height" yaml:"timeout_height"`
	TimeoutTimestamp uint64       `json:"timeout_timestamp" yaml:"timeout_timestamp"`
}

TransferTxReq defines the properties of a transfer tx request's body.

Jump to

Keyboard shortcuts

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