Documentation ¶
Index ¶
- Variables
- type AccAddress
- type BroadcastMode
- type BroadcastTxRequest
- type BroadcastTxResponse
- type Coin
- type Coins
- type ConsAddress
- type Dec
- type DecCoin
- type DecCoins
- type Int
- type Msg
- type MultiSend
- type Send
- type SignMode
- type SignatureV2
- type SignerData
- type SimulateRequest
- type SimulateResponse
- type SingleSignatureData
- type Tx
- type TxBuilder
- type TxConfig
- type TxResponse
- type ValAddress
Constants ¶
This section is empty.
Variables ¶
View Source
var ( AccAddressFromBech32 = sdktypes.AccAddressFromBech32 AccAddressFromHex = sdktypes.AccAddressFromHex ValAddressFromBech32 = sdktypes.ValAddressFromBech32 ValAddressFromHex = sdktypes.ValAddressFromHex ConsAddressFromBech32 = sdktypes.ConsAddressFromBech32 ConsAddressFromHex = sdktypes.ConsAddressFromHex )
View Source
var ( NewCoin = sdktypes.NewCoin NewInt64Coin = sdktypes.NewInt64Coin NewCoins = sdktypes.NewCoins NewDecCoin = sdktypes.NewDecCoin NewInt64DecCoin = sdktypes.NewInt64DecCoin NewDecCoins = sdktypes.NewDecCoins )
View Source
var ( NewMsgSend = banktypes.NewMsgSend NewMsgMultiSend = banktypes.NewMsgMultiSend )
View Source
var ( NewInt = sdktypes.NewInt NewIntFromBigInt = sdktypes.NewIntFromBigInt NewIntFromString = sdktypes.NewIntFromString NewIntFromUint64 = sdktypes.NewIntFromUint64 NewIntWithDecimal = sdktypes.NewIntWithDecimal NewDec = sdktypes.NewDec NewDecCoinFromCoin = sdktypes.NewDecCoinFromCoin NewDecCoinFromDec = sdktypes.NewDecCoinFromDec NewDecFromBigInt = sdktypes.NewDecFromBigInt NewDecFromBigIntWithPrec = sdktypes.NewDecFromBigIntWithPrec NewDecFromInt = sdktypes.NewDecFromInt NewDecFromIntWithPrec = sdktypes.NewDecFromIntWithPrec NewDecFromStr = sdktypes.NewDecFromStr NewDecWithPrec = sdktypes.NewDecWithPrec )
View Source
var (
SignWithPrivKey = clienttx.SignWithPrivKey
)
Functions ¶
This section is empty.
Types ¶
type AccAddress ¶
type AccAddress = sdktypes.AccAddress
type BroadcastMode ¶
type BroadcastMode = txtypes.BroadcastMode
const ( BroadcastModeUnspecified BroadcastMode = 0 BroadcastModeBlock BroadcastMode = 1 BroadcastModeSync BroadcastMode = 2 BroadcastModeAsync BroadcastMode = 3 )
type BroadcastTxRequest ¶
type BroadcastTxRequest = txtypes.BroadcastTxRequest
func NewBroadcastTxRequest ¶
func NewBroadcastTxRequest(txBytes []byte, broadcastMode BroadcastMode) *BroadcastTxRequest
type BroadcastTxResponse ¶
type BroadcastTxResponse = txtypes.BroadcastTxResponse
type ConsAddress ¶
type ConsAddress = sdktypes.ConsAddress
type MultiSend ¶
type MultiSend = banktypes.MsgMultiSend
type SignMode ¶
SignMode represents a signing mode with its own security guarantees.
const ( // SignModeUnspecified specifies an unknown signing mode and will be // rejected SignModeUnspecified SignMode = 0 // SignModeDirect specifies a signing mode which uses SignDoc and is // verified with raw bytes from Tx SignModeDirect SignMode = 1 // SignModeTexture is a future signing mode that will verify some // human-readable textual representation on top of the binary representation // from SIGN_MODE_DIRECT SignModeTexture SignMode = 2 // SignModeLegacyAminoJSON is a backwards compatibility mode which uses // Amino JSON and will be removed in the future SignModeLegacyAminoJSON SignMode = 127 )
type SignatureV2 ¶
type SignatureV2 = signing.SignatureV2
SignatureV2 is a convenience type that is easier to use in application logic than the protobuf SignerInfo's and raw signature bytes. It goes beyond the first sdk.Signature types by supporting sign modes and explicitly nested multi-signatures. It is intended to be used for both building and verifying signatures.
type SignerData ¶
type SignerData = authsigning.SignerData
SignerData is the specific information needed to sign a transaction that generally isn't included in the transaction body itself
type SimulateRequest ¶
type SimulateRequest = txtypes.SimulateRequest
func NewSimulateRequest ¶
func NewSimulateRequest(txBytes []byte) *SimulateRequest
type SimulateResponse ¶
type SimulateResponse = txtypes.SimulateResponse
type SingleSignatureData ¶
type SingleSignatureData = signing.SingleSignatureData
type Tx ¶
type Tx = authsigning.Tx
Tx defines a transaction interface that supports all standard message, signature fee, memo, and auxiliary interfaces.
type TxResponse ¶
type TxResponse = types.TxResponse
type ValAddress ¶
type ValAddress = sdktypes.ValAddress
Click to show internal directories.
Click to hide internal directories.