tx

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2023 License: Apache-2.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

View Source
const (
	CodeOk int32 = 0
)
View Source
const Source int64 = 0

Variables

View Source
var (
	StdSignBytes = auth.StdSignBytes
	NewStdTx     = auth.NewStdTx
)
View Source
var Cdc = amino.NewCodec()

cdc global variable

Functions

func RegisterCodec

func RegisterCodec(cdc *amino.Codec)

Types

type Option

type Option func(msg *StdSignMsg) *StdSignMsg

func WithAcNumAndSequence

func WithAcNumAndSequence(accountNum, seq int64) Option

func WithChainID

func WithChainID(id string) Option

func WithMemo

func WithMemo(memo string) Option

func WithSource

func WithSource(source int64) Option

type StdSignDoc

type StdSignDoc = auth.StdSignDoc

type StdSignMsg

type StdSignMsg = context.StdSignMsg

type StdSignature

type StdSignature = auth.StdSignature

type StdTx

type StdTx = auth.StdTx

type Tx

type Tx = types.Tx

type TxCommitResult

type TxCommitResult struct {
	Ok   bool   `json:"ok"`
	Log  string `json:"log"`
	Hash string `json:"hash"`
	Code int32  `json:"code"`
	Data string `json:"data"`
}

TxCommitResult for POST tx results

type TxResult

type TxResult struct {
	Hash string `json:"hash"`
	Log  string `json:"log"`
	Data string `json:"data"`
	Code int32  `json:"code"`
}

TxResult def

Jump to

Keyboard shortcuts

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