cosmos-sdk: github.com/cosmos/cosmos-sdk/x/ibc-transfer/client/rest Index | Files

package rest

import "github.com/cosmos/cosmos-sdk/x/ibc-transfer/client/rest"

Index

Package Files

rest.go tx.go

func RegisterRoutes Uses

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

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

type TransferTxReq Uses

type TransferTxReq struct {
    BaseReq          rest.BaseReq `json:"base_req" yaml:"base_req"`
    Amount           sdk.Coin     `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.

Package rest imports 8 packages (graph) and is imported by 1 packages. Updated 2020-08-01. Refresh now. Tools for package owners.