txv1beta1

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2023 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var (
	OrderBy_name = map[int32]string{
		0: "ORDER_BY_UNSPECIFIED",
		1: "ORDER_BY_ASC",
		2: "ORDER_BY_DESC",
	}
	OrderBy_value = map[string]int32{
		"ORDER_BY_UNSPECIFIED": 0,
		"ORDER_BY_ASC":         1,
		"ORDER_BY_DESC":        2,
	}
)

Enum value maps for OrderBy.

View Source
var (
	BroadcastMode_name = map[int32]string{
		0: "BROADCAST_MODE_UNSPECIFIED",
		1: "BROADCAST_MODE_BLOCK",
		2: "BROADCAST_MODE_SYNC",
		3: "BROADCAST_MODE_ASYNC",
	}
	BroadcastMode_value = map[string]int32{
		"BROADCAST_MODE_UNSPECIFIED": 0,
		"BROADCAST_MODE_BLOCK":       1,
		"BROADCAST_MODE_SYNC":        2,
		"BROADCAST_MODE_ASYNC":       3,
	}
)

Enum value maps for BroadcastMode.

View Source
var File_cosmos_tx_v1beta1_service_proto protoreflect.FileDescriptor
View Source
var File_cosmos_tx_v1beta1_tx_proto protoreflect.FileDescriptor
View Source
var Service_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "cosmos.tx.v1beta1.Service",
	HandlerType: (*ServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Simulate",
			Handler:    _Service_Simulate_Handler,
		},
		{
			MethodName: "GetTx",
			Handler:    _Service_GetTx_Handler,
		},
		{
			MethodName: "BroadcastTx",
			Handler:    _Service_BroadcastTx_Handler,
		},
		{
			MethodName: "GetTxsEvent",
			Handler:    _Service_GetTxsEvent_Handler,
		},
		{
			MethodName: "GetBlockWithTxs",
			Handler:    _Service_GetBlockWithTxs_Handler,
		},
		{
			MethodName: "TxDecode",
			Handler:    _Service_TxDecode_Handler,
		},
		{
			MethodName: "TxEncode",
			Handler:    _Service_TxEncode_Handler,
		},
		{
			MethodName: "TxEncodeAmino",
			Handler:    _Service_TxEncodeAmino_Handler,
		},
		{
			MethodName: "TxDecodeAmino",
			Handler:    _Service_TxDecodeAmino_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "cosmos/tx/v1beta1/service.proto",
}

Service_ServiceDesc is the grpc.ServiceDesc for Service service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterServiceServer

func RegisterServiceServer(s grpc.ServiceRegistrar, srv ServiceServer)

Types

type AuthInfo

type AuthInfo struct {

	// signer_infos defines the signing modes for the required signers. The number
	// and order of elements must match the required signers from TxBody's
	// messages. The first element is the primary signer and the one which pays
	// the fee.
	SignerInfos []*SignerInfo `protobuf:"bytes,1,rep,name=signer_infos,json=signerInfos,proto3" json:"signer_infos,omitempty"`
	// Fee is the fee and gas limit for the transaction. The first signer is the
	// primary signer and the one which pays the fee. The fee can be calculated
	// based on the cost of evaluating the body and doing signature verification
	// of the signers. This can be estimated via simulation.
	Fee *Fee `protobuf:"bytes,2,opt,name=fee,proto3" json:"fee,omitempty"`
	// Tip is the optional tip used for transactions fees paid in another denom.
	//
	// This field is ignored if the chain didn't enable tips, i.e. didn't add the
	// `TipDecorator` in its posthandler.
	//
	// Since: cosmos-sdk 0.46
	Tip *Tip `protobuf:"bytes,3,opt,name=tip,proto3" json:"tip,omitempty"`
	// contains filtered or unexported fields
}

AuthInfo describes the fee and signer modes that are used to sign a transaction.

func (*AuthInfo) Descriptor deprecated

func (*AuthInfo) Descriptor() ([]byte, []int)

Deprecated: Use AuthInfo.ProtoReflect.Descriptor instead.

func (*AuthInfo) GetFee

func (x *AuthInfo) GetFee() *Fee

func (*AuthInfo) GetSignerInfos

func (x *AuthInfo) GetSignerInfos() []*SignerInfo

func (*AuthInfo) GetTip

func (x *AuthInfo) GetTip() *Tip

func (*AuthInfo) ProtoMessage

func (*AuthInfo) ProtoMessage()

func (*AuthInfo) ProtoReflect

func (x *AuthInfo) ProtoReflect() protoreflect.Message

func (*AuthInfo) Reset

func (x *AuthInfo) Reset()

func (*AuthInfo) String

func (x *AuthInfo) String() string

type AuxSignerData

type AuxSignerData struct {

	// address is the bech32-encoded address of the auxiliary signer. If using
	// AuxSignerData across different chains, the bech32 prefix of the target
	// chain (where the final transaction is broadcasted) should be used.
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// sign_doc is the SIGN_MODE_DIRECT_AUX sign doc that the auxiliary signer
	// signs. Note: we use the same sign doc even if we're signing with
	// LEGACY_AMINO_JSON.
	SignDoc *SignDocDirectAux `protobuf:"bytes,2,opt,name=sign_doc,json=signDoc,proto3" json:"sign_doc,omitempty"`
	// mode is the signing mode of the single signer.
	Mode v1beta1.SignMode `protobuf:"varint,3,opt,name=mode,proto3,enum=cosmos.tx.signing.v1beta1.SignMode" json:"mode,omitempty"`
	// sig is the signature of the sign doc.
	Sig []byte `protobuf:"bytes,4,opt,name=sig,proto3" json:"sig,omitempty"`
	// contains filtered or unexported fields
}

AuxSignerData is the intermediary format that an auxiliary signer (e.g. a tipper) builds and sends to the fee payer (who will build and broadcast the actual tx). AuxSignerData is not a valid tx in itself, and will be rejected by the node if sent directly as-is.

Since: cosmos-sdk 0.46

func (*AuxSignerData) Descriptor deprecated

func (*AuxSignerData) Descriptor() ([]byte, []int)

Deprecated: Use AuxSignerData.ProtoReflect.Descriptor instead.

func (*AuxSignerData) GetAddress

func (x *AuxSignerData) GetAddress() string

func (*AuxSignerData) GetMode

func (x *AuxSignerData) GetMode() v1beta1.SignMode

func (*AuxSignerData) GetSig

func (x *AuxSignerData) GetSig() []byte

func (*AuxSignerData) GetSignDoc

func (x *AuxSignerData) GetSignDoc() *SignDocDirectAux

func (*AuxSignerData) ProtoMessage

func (*AuxSignerData) ProtoMessage()

func (*AuxSignerData) ProtoReflect

func (x *AuxSignerData) ProtoReflect() protoreflect.Message

func (*AuxSignerData) Reset

func (x *AuxSignerData) Reset()

func (*AuxSignerData) String

func (x *AuxSignerData) String() string

type BroadcastMode

type BroadcastMode int32

BroadcastMode specifies the broadcast mode for the TxService.Broadcast RPC method.

const (
	// zero-value for mode ordering
	BroadcastMode_BROADCAST_MODE_UNSPECIFIED BroadcastMode = 0
	// DEPRECATED: use BROADCAST_MODE_SYNC instead,
	// BROADCAST_MODE_BLOCK is not supported by the SDK from v0.47.x onwards.
	//
	// Deprecated: Do not use.
	BroadcastMode_BROADCAST_MODE_BLOCK BroadcastMode = 1
	// BROADCAST_MODE_SYNC defines a tx broadcasting mode where the client waits for
	// a CheckTx execution response only.
	BroadcastMode_BROADCAST_MODE_SYNC BroadcastMode = 2
	// BROADCAST_MODE_ASYNC defines a tx broadcasting mode where the client returns
	// immediately.
	BroadcastMode_BROADCAST_MODE_ASYNC BroadcastMode = 3
)

func (BroadcastMode) Descriptor

func (BroadcastMode) Enum

func (x BroadcastMode) Enum() *BroadcastMode

func (BroadcastMode) EnumDescriptor deprecated

func (BroadcastMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use BroadcastMode.Descriptor instead.

func (BroadcastMode) Number

func (BroadcastMode) String

func (x BroadcastMode) String() string

func (BroadcastMode) Type

type BroadcastTxRequest

type BroadcastTxRequest struct {

	// tx_bytes is the raw transaction.
	TxBytes []byte        `protobuf:"bytes,1,opt,name=tx_bytes,json=txBytes,proto3" json:"tx_bytes,omitempty"`
	Mode    BroadcastMode `protobuf:"varint,2,opt,name=mode,proto3,enum=cosmos.tx.v1beta1.BroadcastMode" json:"mode,omitempty"`
	// contains filtered or unexported fields
}

BroadcastTxRequest is the request type for the Service.BroadcastTxRequest RPC method.

func (*BroadcastTxRequest) Descriptor deprecated

func (*BroadcastTxRequest) Descriptor() ([]byte, []int)

Deprecated: Use BroadcastTxRequest.ProtoReflect.Descriptor instead.

func (*BroadcastTxRequest) GetMode

func (x *BroadcastTxRequest) GetMode() BroadcastMode

func (*BroadcastTxRequest) GetTxBytes

func (x *BroadcastTxRequest) GetTxBytes() []byte

func (*BroadcastTxRequest) ProtoMessage

func (*BroadcastTxRequest) ProtoMessage()

func (*BroadcastTxRequest) ProtoReflect

func (x *BroadcastTxRequest) ProtoReflect() protoreflect.Message

func (*BroadcastTxRequest) Reset

func (x *BroadcastTxRequest) Reset()

func (*BroadcastTxRequest) String

func (x *BroadcastTxRequest) String() string

type BroadcastTxResponse

type BroadcastTxResponse struct {

	// tx_response is the queried TxResponses.
	TxResponse *v1beta11.TxResponse `protobuf:"bytes,1,opt,name=tx_response,json=txResponse,proto3" json:"tx_response,omitempty"`
	// contains filtered or unexported fields
}

BroadcastTxResponse is the response type for the Service.BroadcastTx method.

func (*BroadcastTxResponse) Descriptor deprecated

func (*BroadcastTxResponse) Descriptor() ([]byte, []int)

Deprecated: Use BroadcastTxResponse.ProtoReflect.Descriptor instead.

func (*BroadcastTxResponse) GetTxResponse

func (x *BroadcastTxResponse) GetTxResponse() *v1beta11.TxResponse

func (*BroadcastTxResponse) ProtoMessage

func (*BroadcastTxResponse) ProtoMessage()

func (*BroadcastTxResponse) ProtoReflect

func (x *BroadcastTxResponse) ProtoReflect() protoreflect.Message

func (*BroadcastTxResponse) Reset

func (x *BroadcastTxResponse) Reset()

func (*BroadcastTxResponse) String

func (x *BroadcastTxResponse) String() string

type Fee

type Fee struct {

	// amount is the amount of coins to be paid as a fee
	Amount []*v1beta12.Coin `protobuf:"bytes,1,rep,name=amount,proto3" json:"amount,omitempty"`
	// gas_limit is the maximum gas that can be used in transaction processing
	// before an out of gas error occurs
	GasLimit uint64 `protobuf:"varint,2,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"`
	// if unset, the first signer is responsible for paying the fees. If set, the specified account must pay the fees.
	// the payer must be a tx signer (and thus have signed this field in AuthInfo).
	// setting this field does *not* change the ordering of required signers for the transaction.
	Payer string `protobuf:"bytes,3,opt,name=payer,proto3" json:"payer,omitempty"`
	// if set, the fee payer (either the first signer or the value of the payer field) requests that a fee grant be used
	// to pay fees instead of the fee payer's own balance. If an appropriate fee grant does not exist or the chain does
	// not support fee grants, this will fail
	Granter string `protobuf:"bytes,4,opt,name=granter,proto3" json:"granter,omitempty"`
	// contains filtered or unexported fields
}

Fee includes the amount of coins paid in fees and the maximum gas to be used by the transaction. The ratio yields an effective "gasprice", which must be above some miminum to be accepted into the mempool.

func (*Fee) Descriptor deprecated

func (*Fee) Descriptor() ([]byte, []int)

Deprecated: Use Fee.ProtoReflect.Descriptor instead.

func (*Fee) GetAmount

func (x *Fee) GetAmount() []*v1beta12.Coin

func (*Fee) GetGasLimit

func (x *Fee) GetGasLimit() uint64

func (*Fee) GetGranter

func (x *Fee) GetGranter() string

func (*Fee) GetPayer

func (x *Fee) GetPayer() string

func (*Fee) ProtoMessage

func (*Fee) ProtoMessage()

func (*Fee) ProtoReflect

func (x *Fee) ProtoReflect() protoreflect.Message

func (*Fee) Reset

func (x *Fee) Reset()

func (*Fee) String

func (x *Fee) String() string

type GetBlockWithTxsRequest

type GetBlockWithTxsRequest struct {

	// height is the height of the block to query.
	Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	// pagination defines a pagination for the request.
	Pagination *v1beta1.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

GetBlockWithTxsRequest is the request type for the Service.GetBlockWithTxs RPC method.

Since: cosmos-sdk 0.45.2

func (*GetBlockWithTxsRequest) Descriptor deprecated

func (*GetBlockWithTxsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetBlockWithTxsRequest.ProtoReflect.Descriptor instead.

func (*GetBlockWithTxsRequest) GetHeight

func (x *GetBlockWithTxsRequest) GetHeight() int64

func (*GetBlockWithTxsRequest) GetPagination

func (x *GetBlockWithTxsRequest) GetPagination() *v1beta1.PageRequest

func (*GetBlockWithTxsRequest) ProtoMessage

func (*GetBlockWithTxsRequest) ProtoMessage()

func (*GetBlockWithTxsRequest) ProtoReflect

func (x *GetBlockWithTxsRequest) ProtoReflect() protoreflect.Message

func (*GetBlockWithTxsRequest) Reset

func (x *GetBlockWithTxsRequest) Reset()

func (*GetBlockWithTxsRequest) String

func (x *GetBlockWithTxsRequest) String() string

type GetBlockWithTxsResponse

type GetBlockWithTxsResponse struct {

	// txs are the transactions in the block.
	Txs     []*Tx          `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"`
	BlockId *types.BlockID `protobuf:"bytes,2,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"`
	Block   *types.Block   `protobuf:"bytes,3,opt,name=block,proto3" json:"block,omitempty"`
	// pagination defines a pagination for the response.
	Pagination *v1beta1.PageResponse `protobuf:"bytes,4,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

GetBlockWithTxsResponse is the response type for the Service.GetBlockWithTxs method.

Since: cosmos-sdk 0.45.2

func (*GetBlockWithTxsResponse) Descriptor deprecated

func (*GetBlockWithTxsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetBlockWithTxsResponse.ProtoReflect.Descriptor instead.

func (*GetBlockWithTxsResponse) GetBlock

func (x *GetBlockWithTxsResponse) GetBlock() *types.Block

func (*GetBlockWithTxsResponse) GetBlockId

func (x *GetBlockWithTxsResponse) GetBlockId() *types.BlockID

func (*GetBlockWithTxsResponse) GetPagination

func (x *GetBlockWithTxsResponse) GetPagination() *v1beta1.PageResponse

func (*GetBlockWithTxsResponse) GetTxs

func (x *GetBlockWithTxsResponse) GetTxs() []*Tx

func (*GetBlockWithTxsResponse) ProtoMessage

func (*GetBlockWithTxsResponse) ProtoMessage()

func (*GetBlockWithTxsResponse) ProtoReflect

func (x *GetBlockWithTxsResponse) ProtoReflect() protoreflect.Message

func (*GetBlockWithTxsResponse) Reset

func (x *GetBlockWithTxsResponse) Reset()

func (*GetBlockWithTxsResponse) String

func (x *GetBlockWithTxsResponse) String() string

type GetTxRequest

type GetTxRequest struct {

	// hash is the tx hash to query, encoded as a hex string.
	Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	// contains filtered or unexported fields
}

GetTxRequest is the request type for the Service.GetTx RPC method.

func (*GetTxRequest) Descriptor deprecated

func (*GetTxRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetTxRequest.ProtoReflect.Descriptor instead.

func (*GetTxRequest) GetHash

func (x *GetTxRequest) GetHash() string

func (*GetTxRequest) ProtoMessage

func (*GetTxRequest) ProtoMessage()

func (*GetTxRequest) ProtoReflect

func (x *GetTxRequest) ProtoReflect() protoreflect.Message

func (*GetTxRequest) Reset

func (x *GetTxRequest) Reset()

func (*GetTxRequest) String

func (x *GetTxRequest) String() string

type GetTxResponse

type GetTxResponse struct {

	// tx is the queried transaction.
	Tx *Tx `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"`
	// tx_response is the queried TxResponses.
	TxResponse *v1beta11.TxResponse `protobuf:"bytes,2,opt,name=tx_response,json=txResponse,proto3" json:"tx_response,omitempty"`
	// contains filtered or unexported fields
}

GetTxResponse is the response type for the Service.GetTx method.

func (*GetTxResponse) Descriptor deprecated

func (*GetTxResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetTxResponse.ProtoReflect.Descriptor instead.

func (*GetTxResponse) GetTx

func (x *GetTxResponse) GetTx() *Tx

func (*GetTxResponse) GetTxResponse

func (x *GetTxResponse) GetTxResponse() *v1beta11.TxResponse

func (*GetTxResponse) ProtoMessage

func (*GetTxResponse) ProtoMessage()

func (*GetTxResponse) ProtoReflect

func (x *GetTxResponse) ProtoReflect() protoreflect.Message

func (*GetTxResponse) Reset

func (x *GetTxResponse) Reset()

func (*GetTxResponse) String

func (x *GetTxResponse) String() string

type GetTxsEventRequest

type GetTxsEventRequest struct {

	// events is the list of transaction event type.
	Events []string `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	// pagination defines a pagination for the request.
	// Deprecated post v0.46.x: use page and limit instead.
	//
	// Deprecated: Do not use.
	Pagination *v1beta1.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
	OrderBy    OrderBy              `protobuf:"varint,3,opt,name=order_by,json=orderBy,proto3,enum=cosmos.tx.v1beta1.OrderBy" json:"order_by,omitempty"`
	// page is the page number to query, starts at 1. If not provided, will default to first page.
	Page uint64 `protobuf:"varint,4,opt,name=page,proto3" json:"page,omitempty"`
	// limit is the total number of results to be returned in the result page.
	// If left empty it will default to a value to be set by each app.
	Limit uint64 `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"`
	// contains filtered or unexported fields
}

GetTxsEventRequest is the request type for the Service.TxsByEvents RPC method.

func (*GetTxsEventRequest) Descriptor deprecated

func (*GetTxsEventRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetTxsEventRequest.ProtoReflect.Descriptor instead.

func (*GetTxsEventRequest) GetEvents

func (x *GetTxsEventRequest) GetEvents() []string

func (*GetTxsEventRequest) GetLimit

func (x *GetTxsEventRequest) GetLimit() uint64

func (*GetTxsEventRequest) GetOrderBy

func (x *GetTxsEventRequest) GetOrderBy() OrderBy

func (*GetTxsEventRequest) GetPage

func (x *GetTxsEventRequest) GetPage() uint64

func (*GetTxsEventRequest) GetPagination deprecated

func (x *GetTxsEventRequest) GetPagination() *v1beta1.PageRequest

Deprecated: Do not use.

func (*GetTxsEventRequest) ProtoMessage

func (*GetTxsEventRequest) ProtoMessage()

func (*GetTxsEventRequest) ProtoReflect

func (x *GetTxsEventRequest) ProtoReflect() protoreflect.Message

func (*GetTxsEventRequest) Reset

func (x *GetTxsEventRequest) Reset()

func (*GetTxsEventRequest) String

func (x *GetTxsEventRequest) String() string

type GetTxsEventResponse

type GetTxsEventResponse struct {

	// txs is the list of queried transactions.
	Txs []*Tx `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"`
	// tx_responses is the list of queried TxResponses.
	TxResponses []*v1beta11.TxResponse `protobuf:"bytes,2,rep,name=tx_responses,json=txResponses,proto3" json:"tx_responses,omitempty"`
	// pagination defines a pagination for the response.
	// Deprecated post v0.46.x: use total instead.
	//
	// Deprecated: Do not use.
	Pagination *v1beta1.PageResponse `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// total is total number of results available
	Total uint64 `protobuf:"varint,4,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

GetTxsEventResponse is the response type for the Service.TxsByEvents RPC method.

func (*GetTxsEventResponse) Descriptor deprecated

func (*GetTxsEventResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetTxsEventResponse.ProtoReflect.Descriptor instead.

func (*GetTxsEventResponse) GetPagination deprecated

func (x *GetTxsEventResponse) GetPagination() *v1beta1.PageResponse

Deprecated: Do not use.

func (*GetTxsEventResponse) GetTotal

func (x *GetTxsEventResponse) GetTotal() uint64

func (*GetTxsEventResponse) GetTxResponses

func (x *GetTxsEventResponse) GetTxResponses() []*v1beta11.TxResponse

func (*GetTxsEventResponse) GetTxs

func (x *GetTxsEventResponse) GetTxs() []*Tx

func (*GetTxsEventResponse) ProtoMessage

func (*GetTxsEventResponse) ProtoMessage()

func (*GetTxsEventResponse) ProtoReflect

func (x *GetTxsEventResponse) ProtoReflect() protoreflect.Message

func (*GetTxsEventResponse) Reset

func (x *GetTxsEventResponse) Reset()

func (*GetTxsEventResponse) String

func (x *GetTxsEventResponse) String() string

type ModeInfo

type ModeInfo struct {

	// sum is the oneof that specifies whether this represents a single or nested
	// multisig signer
	//
	// Types that are assignable to Sum:
	//
	//	*ModeInfo_Single_
	//	*ModeInfo_Multi_
	Sum isModeInfo_Sum `protobuf_oneof:"sum"`
	// contains filtered or unexported fields
}

ModeInfo describes the signing mode of a single or nested multisig signer.

func (*ModeInfo) Descriptor deprecated

func (*ModeInfo) Descriptor() ([]byte, []int)

Deprecated: Use ModeInfo.ProtoReflect.Descriptor instead.

func (*ModeInfo) GetMulti

func (x *ModeInfo) GetMulti() *ModeInfo_Multi

func (*ModeInfo) GetSingle

func (x *ModeInfo) GetSingle() *ModeInfo_Single

func (*ModeInfo) GetSum

func (x *ModeInfo) GetSum() isModeInfo_Sum

func (*ModeInfo) ProtoMessage

func (*ModeInfo) ProtoMessage()

func (*ModeInfo) ProtoReflect

func (x *ModeInfo) ProtoReflect() protoreflect.Message

func (*ModeInfo) Reset

func (x *ModeInfo) Reset()

func (*ModeInfo) String

func (x *ModeInfo) String() string

type ModeInfo_Multi

type ModeInfo_Multi struct {

	// bitarray specifies which keys within the multisig are signing
	Bitarray *v1beta11.CompactBitArray `protobuf:"bytes,1,opt,name=bitarray,proto3" json:"bitarray,omitempty"`
	// mode_infos is the corresponding modes of the signers of the multisig
	// which could include nested multisig public keys
	ModeInfos []*ModeInfo `protobuf:"bytes,2,rep,name=mode_infos,json=modeInfos,proto3" json:"mode_infos,omitempty"`
	// contains filtered or unexported fields
}

Multi is the mode info for a multisig public key

func (*ModeInfo_Multi) Descriptor deprecated

func (*ModeInfo_Multi) Descriptor() ([]byte, []int)

Deprecated: Use ModeInfo_Multi.ProtoReflect.Descriptor instead.

func (*ModeInfo_Multi) GetBitarray

func (x *ModeInfo_Multi) GetBitarray() *v1beta11.CompactBitArray

func (*ModeInfo_Multi) GetModeInfos

func (x *ModeInfo_Multi) GetModeInfos() []*ModeInfo

func (*ModeInfo_Multi) ProtoMessage

func (*ModeInfo_Multi) ProtoMessage()

func (*ModeInfo_Multi) ProtoReflect

func (x *ModeInfo_Multi) ProtoReflect() protoreflect.Message

func (*ModeInfo_Multi) Reset

func (x *ModeInfo_Multi) Reset()

func (*ModeInfo_Multi) String

func (x *ModeInfo_Multi) String() string

type ModeInfo_Multi_

type ModeInfo_Multi_ struct {
	// multi represents a nested multisig signer
	Multi *ModeInfo_Multi `protobuf:"bytes,2,opt,name=multi,proto3,oneof"`
}

type ModeInfo_Single

type ModeInfo_Single struct {

	// mode is the signing mode of the single signer
	Mode v1beta1.SignMode `protobuf:"varint,1,opt,name=mode,proto3,enum=cosmos.tx.signing.v1beta1.SignMode" json:"mode,omitempty"`
	// contains filtered or unexported fields
}

Single is the mode info for a single signer. It is structured as a message to allow for additional fields such as locale for SIGN_MODE_TEXTUAL in the future

func (*ModeInfo_Single) Descriptor deprecated

func (*ModeInfo_Single) Descriptor() ([]byte, []int)

Deprecated: Use ModeInfo_Single.ProtoReflect.Descriptor instead.

func (*ModeInfo_Single) GetMode

func (x *ModeInfo_Single) GetMode() v1beta1.SignMode

func (*ModeInfo_Single) ProtoMessage

func (*ModeInfo_Single) ProtoMessage()

func (*ModeInfo_Single) ProtoReflect

func (x *ModeInfo_Single) ProtoReflect() protoreflect.Message

func (*ModeInfo_Single) Reset

func (x *ModeInfo_Single) Reset()

func (*ModeInfo_Single) String

func (x *ModeInfo_Single) String() string

type ModeInfo_Single_

type ModeInfo_Single_ struct {
	// single represents a single signer
	Single *ModeInfo_Single `protobuf:"bytes,1,opt,name=single,proto3,oneof"`
}

type OrderBy

type OrderBy int32

OrderBy defines the sorting order

const (
	// ORDER_BY_UNSPECIFIED specifies an unknown sorting order. OrderBy defaults to ASC in this case.
	OrderBy_ORDER_BY_UNSPECIFIED OrderBy = 0
	// ORDER_BY_ASC defines ascending order
	OrderBy_ORDER_BY_ASC OrderBy = 1
	// ORDER_BY_DESC defines descending order
	OrderBy_ORDER_BY_DESC OrderBy = 2
)

func (OrderBy) Descriptor

func (OrderBy) Descriptor() protoreflect.EnumDescriptor

func (OrderBy) Enum

func (x OrderBy) Enum() *OrderBy

func (OrderBy) EnumDescriptor deprecated

func (OrderBy) EnumDescriptor() ([]byte, []int)

Deprecated: Use OrderBy.Descriptor instead.

func (OrderBy) Number

func (x OrderBy) Number() protoreflect.EnumNumber

func (OrderBy) String

func (x OrderBy) String() string

func (OrderBy) Type

func (OrderBy) Type() protoreflect.EnumType

type ServiceClient

type ServiceClient interface {
	// Simulate simulates executing a transaction for estimating gas usage.
	Simulate(ctx context.Context, in *SimulateRequest, opts ...grpc.CallOption) (*SimulateResponse, error)
	// GetTx fetches a tx by hash.
	GetTx(ctx context.Context, in *GetTxRequest, opts ...grpc.CallOption) (*GetTxResponse, error)
	// BroadcastTx broadcast transaction.
	BroadcastTx(ctx context.Context, in *BroadcastTxRequest, opts ...grpc.CallOption) (*BroadcastTxResponse, error)
	// GetTxsEvent fetches txs by event.
	GetTxsEvent(ctx context.Context, in *GetTxsEventRequest, opts ...grpc.CallOption) (*GetTxsEventResponse, error)
	// GetBlockWithTxs fetches a block with decoded txs.
	//
	// Since: cosmos-sdk 0.45.2
	GetBlockWithTxs(ctx context.Context, in *GetBlockWithTxsRequest, opts ...grpc.CallOption) (*GetBlockWithTxsResponse, error)
	// TxDecode decodes the transaction.
	//
	// Since: cosmos-sdk 0.47
	TxDecode(ctx context.Context, in *TxDecodeRequest, opts ...grpc.CallOption) (*TxDecodeResponse, error)
	// TxEncode encodes the transaction.
	//
	// Since: cosmos-sdk 0.47
	TxEncode(ctx context.Context, in *TxEncodeRequest, opts ...grpc.CallOption) (*TxEncodeResponse, error)
	// TxEncodeAmino encodes an Amino transaction from JSON to encoded bytes.
	//
	// Since: cosmos-sdk 0.47
	TxEncodeAmino(ctx context.Context, in *TxEncodeAminoRequest, opts ...grpc.CallOption) (*TxEncodeAminoResponse, error)
	// TxDecodeAmino decodes an Amino transaction from encoded bytes to JSON.
	//
	// Since: cosmos-sdk 0.47
	TxDecodeAmino(ctx context.Context, in *TxDecodeAminoRequest, opts ...grpc.CallOption) (*TxDecodeAminoResponse, error)
}

ServiceClient is the client API for Service service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewServiceClient

func NewServiceClient(cc grpc.ClientConnInterface) ServiceClient

type ServiceServer

type ServiceServer interface {
	// Simulate simulates executing a transaction for estimating gas usage.
	Simulate(context.Context, *SimulateRequest) (*SimulateResponse, error)
	// GetTx fetches a tx by hash.
	GetTx(context.Context, *GetTxRequest) (*GetTxResponse, error)
	// BroadcastTx broadcast transaction.
	BroadcastTx(context.Context, *BroadcastTxRequest) (*BroadcastTxResponse, error)
	// GetTxsEvent fetches txs by event.
	GetTxsEvent(context.Context, *GetTxsEventRequest) (*GetTxsEventResponse, error)
	// GetBlockWithTxs fetches a block with decoded txs.
	//
	// Since: cosmos-sdk 0.45.2
	GetBlockWithTxs(context.Context, *GetBlockWithTxsRequest) (*GetBlockWithTxsResponse, error)
	// TxDecode decodes the transaction.
	//
	// Since: cosmos-sdk 0.47
	TxDecode(context.Context, *TxDecodeRequest) (*TxDecodeResponse, error)
	// TxEncode encodes the transaction.
	//
	// Since: cosmos-sdk 0.47
	TxEncode(context.Context, *TxEncodeRequest) (*TxEncodeResponse, error)
	// TxEncodeAmino encodes an Amino transaction from JSON to encoded bytes.
	//
	// Since: cosmos-sdk 0.47
	TxEncodeAmino(context.Context, *TxEncodeAminoRequest) (*TxEncodeAminoResponse, error)
	// TxDecodeAmino decodes an Amino transaction from encoded bytes to JSON.
	//
	// Since: cosmos-sdk 0.47
	TxDecodeAmino(context.Context, *TxDecodeAminoRequest) (*TxDecodeAminoResponse, error)
	// contains filtered or unexported methods
}

ServiceServer is the server API for Service service. All implementations must embed UnimplementedServiceServer for forward compatibility

type SignDoc

type SignDoc struct {

	// body_bytes is protobuf serialization of a TxBody that matches the
	// representation in TxRaw.
	BodyBytes []byte `protobuf:"bytes,1,opt,name=body_bytes,json=bodyBytes,proto3" json:"body_bytes,omitempty"`
	// auth_info_bytes is a protobuf serialization of an AuthInfo that matches the
	// representation in TxRaw.
	AuthInfoBytes []byte `protobuf:"bytes,2,opt,name=auth_info_bytes,json=authInfoBytes,proto3" json:"auth_info_bytes,omitempty"`
	// chain_id is the unique identifier of the chain this transaction targets.
	// It prevents signed transactions from being used on another chain by an
	// attacker
	ChainId string `protobuf:"bytes,3,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	// account_number is the account number of the account in state
	AccountNumber uint64 `protobuf:"varint,4,opt,name=account_number,json=accountNumber,proto3" json:"account_number,omitempty"`
	// contains filtered or unexported fields
}

SignDoc is the type used for generating sign bytes for SIGN_MODE_DIRECT.

func (*SignDoc) Descriptor deprecated

func (*SignDoc) Descriptor() ([]byte, []int)

Deprecated: Use SignDoc.ProtoReflect.Descriptor instead.

func (*SignDoc) GetAccountNumber

func (x *SignDoc) GetAccountNumber() uint64

func (*SignDoc) GetAuthInfoBytes

func (x *SignDoc) GetAuthInfoBytes() []byte

func (*SignDoc) GetBodyBytes

func (x *SignDoc) GetBodyBytes() []byte

func (*SignDoc) GetChainId

func (x *SignDoc) GetChainId() string

func (*SignDoc) ProtoMessage

func (*SignDoc) ProtoMessage()

func (*SignDoc) ProtoReflect

func (x *SignDoc) ProtoReflect() protoreflect.Message

func (*SignDoc) Reset

func (x *SignDoc) Reset()

func (*SignDoc) String

func (x *SignDoc) String() string

type SignDocDirectAux

type SignDocDirectAux struct {

	// body_bytes is protobuf serialization of a TxBody that matches the
	// representation in TxRaw.
	BodyBytes []byte `protobuf:"bytes,1,opt,name=body_bytes,json=bodyBytes,proto3" json:"body_bytes,omitempty"`
	// public_key is the public key of the signing account.
	PublicKey *anypb.Any `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	// chain_id is the identifier of the chain this transaction targets.
	// It prevents signed transactions from being used on another chain by an
	// attacker.
	ChainId string `protobuf:"bytes,3,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	// account_number is the account number of the account in state.
	AccountNumber uint64 `protobuf:"varint,4,opt,name=account_number,json=accountNumber,proto3" json:"account_number,omitempty"`
	// sequence is the sequence number of the signing account.
	Sequence uint64 `protobuf:"varint,5,opt,name=sequence,proto3" json:"sequence,omitempty"`
	// Tip is the optional tip used for transactions fees paid in another denom.
	// It should be left empty if the signer is not the tipper for this
	// transaction.
	//
	// This field is ignored if the chain didn't enable tips, i.e. didn't add the
	// `TipDecorator` in its posthandler.
	Tip *Tip `protobuf:"bytes,6,opt,name=tip,proto3" json:"tip,omitempty"`
	// contains filtered or unexported fields
}

SignDocDirectAux is the type used for generating sign bytes for SIGN_MODE_DIRECT_AUX.

Since: cosmos-sdk 0.46

func (*SignDocDirectAux) Descriptor deprecated

func (*SignDocDirectAux) Descriptor() ([]byte, []int)

Deprecated: Use SignDocDirectAux.ProtoReflect.Descriptor instead.

func (*SignDocDirectAux) GetAccountNumber

func (x *SignDocDirectAux) GetAccountNumber() uint64

func (*SignDocDirectAux) GetBodyBytes

func (x *SignDocDirectAux) GetBodyBytes() []byte

func (*SignDocDirectAux) GetChainId

func (x *SignDocDirectAux) GetChainId() string

func (*SignDocDirectAux) GetPublicKey

func (x *SignDocDirectAux) GetPublicKey() *anypb.Any

func (*SignDocDirectAux) GetSequence

func (x *SignDocDirectAux) GetSequence() uint64

func (*SignDocDirectAux) GetTip

func (x *SignDocDirectAux) GetTip() *Tip

func (*SignDocDirectAux) ProtoMessage

func (*SignDocDirectAux) ProtoMessage()

func (*SignDocDirectAux) ProtoReflect

func (x *SignDocDirectAux) ProtoReflect() protoreflect.Message

func (*SignDocDirectAux) Reset

func (x *SignDocDirectAux) Reset()

func (*SignDocDirectAux) String

func (x *SignDocDirectAux) String() string

type SignerInfo

type SignerInfo struct {

	// public_key is the public key of the signer. It is optional for accounts
	// that already exist in state. If unset, the verifier can use the required \
	// signer address for this position and lookup the public key.
	PublicKey *anypb.Any `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	// mode_info describes the signing mode of the signer and is a nested
	// structure to support nested multisig pubkey's
	ModeInfo *ModeInfo `protobuf:"bytes,2,opt,name=mode_info,json=modeInfo,proto3" json:"mode_info,omitempty"`
	// sequence is the sequence of the account, which describes the
	// number of committed transactions signed by a given address. It is used to
	// prevent replay attacks.
	Sequence uint64 `protobuf:"varint,3,opt,name=sequence,proto3" json:"sequence,omitempty"`
	// contains filtered or unexported fields
}

SignerInfo describes the public key and signing mode of a single top-level signer.

func (*SignerInfo) Descriptor deprecated

func (*SignerInfo) Descriptor() ([]byte, []int)

Deprecated: Use SignerInfo.ProtoReflect.Descriptor instead.

func (*SignerInfo) GetModeInfo

func (x *SignerInfo) GetModeInfo() *ModeInfo

func (*SignerInfo) GetPublicKey

func (x *SignerInfo) GetPublicKey() *anypb.Any

func (*SignerInfo) GetSequence

func (x *SignerInfo) GetSequence() uint64

func (*SignerInfo) ProtoMessage

func (*SignerInfo) ProtoMessage()

func (*SignerInfo) ProtoReflect

func (x *SignerInfo) ProtoReflect() protoreflect.Message

func (*SignerInfo) Reset

func (x *SignerInfo) Reset()

func (*SignerInfo) String

func (x *SignerInfo) String() string

type SimulateRequest

type SimulateRequest struct {

	// tx is the transaction to simulate.
	// Deprecated. Send raw tx bytes instead.
	//
	// Deprecated: Do not use.
	Tx *Tx `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"`
	// tx_bytes is the raw transaction.
	//
	// Since: cosmos-sdk 0.43
	TxBytes []byte `protobuf:"bytes,2,opt,name=tx_bytes,json=txBytes,proto3" json:"tx_bytes,omitempty"`
	// contains filtered or unexported fields
}

SimulateRequest is the request type for the Service.Simulate RPC method.

func (*SimulateRequest) Descriptor deprecated

func (*SimulateRequest) Descriptor() ([]byte, []int)

Deprecated: Use SimulateRequest.ProtoReflect.Descriptor instead.

func (*SimulateRequest) GetTx deprecated

func (x *SimulateRequest) GetTx() *Tx

Deprecated: Do not use.

func (*SimulateRequest) GetTxBytes

func (x *SimulateRequest) GetTxBytes() []byte

func (*SimulateRequest) ProtoMessage

func (*SimulateRequest) ProtoMessage()

func (*SimulateRequest) ProtoReflect

func (x *SimulateRequest) ProtoReflect() protoreflect.Message

func (*SimulateRequest) Reset

func (x *SimulateRequest) Reset()

func (*SimulateRequest) String

func (x *SimulateRequest) String() string

type SimulateResponse

type SimulateResponse struct {

	// gas_info is the information about gas used in the simulation.
	GasInfo *v1beta11.GasInfo `protobuf:"bytes,1,opt,name=gas_info,json=gasInfo,proto3" json:"gas_info,omitempty"`
	// result is the result of the simulation.
	Result *v1beta11.Result `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

SimulateResponse is the response type for the Service.SimulateRPC method.

func (*SimulateResponse) Descriptor deprecated

func (*SimulateResponse) Descriptor() ([]byte, []int)

Deprecated: Use SimulateResponse.ProtoReflect.Descriptor instead.

func (*SimulateResponse) GetGasInfo

func (x *SimulateResponse) GetGasInfo() *v1beta11.GasInfo

func (*SimulateResponse) GetResult

func (x *SimulateResponse) GetResult() *v1beta11.Result

func (*SimulateResponse) ProtoMessage

func (*SimulateResponse) ProtoMessage()

func (*SimulateResponse) ProtoReflect

func (x *SimulateResponse) ProtoReflect() protoreflect.Message

func (*SimulateResponse) Reset

func (x *SimulateResponse) Reset()

func (*SimulateResponse) String

func (x *SimulateResponse) String() string

type Tip

type Tip struct {

	// amount is the amount of the tip
	Amount []*v1beta12.Coin `protobuf:"bytes,1,rep,name=amount,proto3" json:"amount,omitempty"`
	// tipper is the address of the account paying for the tip
	Tipper string `protobuf:"bytes,2,opt,name=tipper,proto3" json:"tipper,omitempty"`
	// contains filtered or unexported fields
}

Tip is the tip used for meta-transactions.

Since: cosmos-sdk 0.46

func (*Tip) Descriptor deprecated

func (*Tip) Descriptor() ([]byte, []int)

Deprecated: Use Tip.ProtoReflect.Descriptor instead.

func (*Tip) GetAmount

func (x *Tip) GetAmount() []*v1beta12.Coin

func (*Tip) GetTipper

func (x *Tip) GetTipper() string

func (*Tip) ProtoMessage

func (*Tip) ProtoMessage()

func (*Tip) ProtoReflect

func (x *Tip) ProtoReflect() protoreflect.Message

func (*Tip) Reset

func (x *Tip) Reset()

func (*Tip) String

func (x *Tip) String() string

type Tx

type Tx struct {

	// body is the processable content of the transaction
	Body *TxBody `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
	// auth_info is the authorization related content of the transaction,
	// specifically signers, signer modes and fee
	AuthInfo *AuthInfo `protobuf:"bytes,2,opt,name=auth_info,json=authInfo,proto3" json:"auth_info,omitempty"`
	// signatures is a list of signatures that matches the length and order of
	// AuthInfo's signer_infos to allow connecting signature meta information like
	// public key and signing mode by position.
	Signatures [][]byte `protobuf:"bytes,3,rep,name=signatures,proto3" json:"signatures,omitempty"`
	// contains filtered or unexported fields
}

Tx is the standard type used for broadcasting transactions.

func (*Tx) Descriptor deprecated

func (*Tx) Descriptor() ([]byte, []int)

Deprecated: Use Tx.ProtoReflect.Descriptor instead.

func (*Tx) GetAuthInfo

func (x *Tx) GetAuthInfo() *AuthInfo

func (*Tx) GetBody

func (x *Tx) GetBody() *TxBody

func (*Tx) GetSignatures

func (x *Tx) GetSignatures() [][]byte

func (*Tx) ProtoMessage

func (*Tx) ProtoMessage()

func (*Tx) ProtoReflect

func (x *Tx) ProtoReflect() protoreflect.Message

func (*Tx) Reset

func (x *Tx) Reset()

func (*Tx) String

func (x *Tx) String() string

type TxBody

type TxBody struct {

	// messages is a list of messages to be executed. The required signers of
	// those messages define the number and order of elements in AuthInfo's
	// signer_infos and Tx's signatures. Each required signer address is added to
	// the list only the first time it occurs.
	// By convention, the first required signer (usually from the first message)
	// is referred to as the primary signer and pays the fee for the whole
	// transaction.
	Messages []*anypb.Any `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
	// memo is any arbitrary note/comment to be added to the transaction.
	// WARNING: in clients, any publicly exposed text should not be called memo,
	// but should be called `note` instead (see https://github.com/cosmos/cosmos-sdk/issues/9122).
	Memo string `protobuf:"bytes,2,opt,name=memo,proto3" json:"memo,omitempty"`
	// timeout is the block height after which this transaction will not
	// be processed by the chain
	TimeoutHeight uint64 `protobuf:"varint,3,opt,name=timeout_height,json=timeoutHeight,proto3" json:"timeout_height,omitempty"`
	// extension_options are arbitrary options that can be added by chains
	// when the default options are not sufficient. If any of these are present
	// and can't be handled, the transaction will be rejected
	ExtensionOptions []*anypb.Any `protobuf:"bytes,1023,rep,name=extension_options,json=extensionOptions,proto3" json:"extension_options,omitempty"`
	// extension_options are arbitrary options that can be added by chains
	// when the default options are not sufficient. If any of these are present
	// and can't be handled, they will be ignored
	NonCriticalExtensionOptions []*anypb.Any `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

TxBody is the body of a transaction that all signers sign over.

func (*TxBody) Descriptor deprecated

func (*TxBody) Descriptor() ([]byte, []int)

Deprecated: Use TxBody.ProtoReflect.Descriptor instead.

func (*TxBody) GetExtensionOptions

func (x *TxBody) GetExtensionOptions() []*anypb.Any

func (*TxBody) GetMemo

func (x *TxBody) GetMemo() string

func (*TxBody) GetMessages

func (x *TxBody) GetMessages() []*anypb.Any

func (*TxBody) GetNonCriticalExtensionOptions

func (x *TxBody) GetNonCriticalExtensionOptions() []*anypb.Any

func (*TxBody) GetTimeoutHeight

func (x *TxBody) GetTimeoutHeight() uint64

func (*TxBody) ProtoMessage

func (*TxBody) ProtoMessage()

func (*TxBody) ProtoReflect

func (x *TxBody) ProtoReflect() protoreflect.Message

func (*TxBody) Reset

func (x *TxBody) Reset()

func (*TxBody) String

func (x *TxBody) String() string

type TxDecodeAminoRequest

type TxDecodeAminoRequest struct {
	AminoBinary []byte `protobuf:"bytes,1,opt,name=amino_binary,json=aminoBinary,proto3" json:"amino_binary,omitempty"`
	// contains filtered or unexported fields
}

TxDecodeAminoRequest is the request type for the Service.TxDecodeAmino RPC method.

Since: cosmos-sdk 0.47

func (*TxDecodeAminoRequest) Descriptor deprecated

func (*TxDecodeAminoRequest) Descriptor() ([]byte, []int)

Deprecated: Use TxDecodeAminoRequest.ProtoReflect.Descriptor instead.

func (*TxDecodeAminoRequest) GetAminoBinary

func (x *TxDecodeAminoRequest) GetAminoBinary() []byte

func (*TxDecodeAminoRequest) ProtoMessage

func (*TxDecodeAminoRequest) ProtoMessage()

func (*TxDecodeAminoRequest) ProtoReflect

func (x *TxDecodeAminoRequest) ProtoReflect() protoreflect.Message

func (*TxDecodeAminoRequest) Reset

func (x *TxDecodeAminoRequest) Reset()

func (*TxDecodeAminoRequest) String

func (x *TxDecodeAminoRequest) String() string

type TxDecodeAminoResponse

type TxDecodeAminoResponse struct {
	AminoJson string `protobuf:"bytes,1,opt,name=amino_json,json=aminoJson,proto3" json:"amino_json,omitempty"`
	// contains filtered or unexported fields
}

TxDecodeAminoResponse is the response type for the Service.TxDecodeAmino RPC method.

Since: cosmos-sdk 0.47

func (*TxDecodeAminoResponse) Descriptor deprecated

func (*TxDecodeAminoResponse) Descriptor() ([]byte, []int)

Deprecated: Use TxDecodeAminoResponse.ProtoReflect.Descriptor instead.

func (*TxDecodeAminoResponse) GetAminoJson

func (x *TxDecodeAminoResponse) GetAminoJson() string

func (*TxDecodeAminoResponse) ProtoMessage

func (*TxDecodeAminoResponse) ProtoMessage()

func (*TxDecodeAminoResponse) ProtoReflect

func (x *TxDecodeAminoResponse) ProtoReflect() protoreflect.Message

func (*TxDecodeAminoResponse) Reset

func (x *TxDecodeAminoResponse) Reset()

func (*TxDecodeAminoResponse) String

func (x *TxDecodeAminoResponse) String() string

type TxDecodeRequest

type TxDecodeRequest struct {

	// tx_bytes is the raw transaction.
	TxBytes []byte `protobuf:"bytes,1,opt,name=tx_bytes,json=txBytes,proto3" json:"tx_bytes,omitempty"`
	// contains filtered or unexported fields
}

TxDecodeRequest is the request type for the Service.TxDecode RPC method.

Since: cosmos-sdk 0.47

func (*TxDecodeRequest) Descriptor deprecated

func (*TxDecodeRequest) Descriptor() ([]byte, []int)

Deprecated: Use TxDecodeRequest.ProtoReflect.Descriptor instead.

func (*TxDecodeRequest) GetTxBytes

func (x *TxDecodeRequest) GetTxBytes() []byte

func (*TxDecodeRequest) ProtoMessage

func (*TxDecodeRequest) ProtoMessage()

func (*TxDecodeRequest) ProtoReflect

func (x *TxDecodeRequest) ProtoReflect() protoreflect.Message

func (*TxDecodeRequest) Reset

func (x *TxDecodeRequest) Reset()

func (*TxDecodeRequest) String

func (x *TxDecodeRequest) String() string

type TxDecodeResponse

type TxDecodeResponse struct {

	// tx is the decoded transaction.
	Tx *Tx `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"`
	// contains filtered or unexported fields
}

TxDecodeResponse is the response type for the Service.TxDecode method.

Since: cosmos-sdk 0.47

func (*TxDecodeResponse) Descriptor deprecated

func (*TxDecodeResponse) Descriptor() ([]byte, []int)

Deprecated: Use TxDecodeResponse.ProtoReflect.Descriptor instead.

func (*TxDecodeResponse) GetTx

func (x *TxDecodeResponse) GetTx() *Tx

func (*TxDecodeResponse) ProtoMessage

func (*TxDecodeResponse) ProtoMessage()

func (*TxDecodeResponse) ProtoReflect

func (x *TxDecodeResponse) ProtoReflect() protoreflect.Message

func (*TxDecodeResponse) Reset

func (x *TxDecodeResponse) Reset()

func (*TxDecodeResponse) String

func (x *TxDecodeResponse) String() string

type TxEncodeAminoRequest

type TxEncodeAminoRequest struct {
	AminoJson string `protobuf:"bytes,1,opt,name=amino_json,json=aminoJson,proto3" json:"amino_json,omitempty"`
	// contains filtered or unexported fields
}

TxEncodeAminoRequest is the request type for the Service.TxEncodeAmino RPC method.

Since: cosmos-sdk 0.47

func (*TxEncodeAminoRequest) Descriptor deprecated

func (*TxEncodeAminoRequest) Descriptor() ([]byte, []int)

Deprecated: Use TxEncodeAminoRequest.ProtoReflect.Descriptor instead.

func (*TxEncodeAminoRequest) GetAminoJson

func (x *TxEncodeAminoRequest) GetAminoJson() string

func (*TxEncodeAminoRequest) ProtoMessage

func (*TxEncodeAminoRequest) ProtoMessage()

func (*TxEncodeAminoRequest) ProtoReflect

func (x *TxEncodeAminoRequest) ProtoReflect() protoreflect.Message

func (*TxEncodeAminoRequest) Reset

func (x *TxEncodeAminoRequest) Reset()

func (*TxEncodeAminoRequest) String

func (x *TxEncodeAminoRequest) String() string

type TxEncodeAminoResponse

type TxEncodeAminoResponse struct {
	AminoBinary []byte `protobuf:"bytes,1,opt,name=amino_binary,json=aminoBinary,proto3" json:"amino_binary,omitempty"`
	// contains filtered or unexported fields
}

TxEncodeAminoResponse is the response type for the Service.TxEncodeAmino RPC method.

Since: cosmos-sdk 0.47

func (*TxEncodeAminoResponse) Descriptor deprecated

func (*TxEncodeAminoResponse) Descriptor() ([]byte, []int)

Deprecated: Use TxEncodeAminoResponse.ProtoReflect.Descriptor instead.

func (*TxEncodeAminoResponse) GetAminoBinary

func (x *TxEncodeAminoResponse) GetAminoBinary() []byte

func (*TxEncodeAminoResponse) ProtoMessage

func (*TxEncodeAminoResponse) ProtoMessage()

func (*TxEncodeAminoResponse) ProtoReflect

func (x *TxEncodeAminoResponse) ProtoReflect() protoreflect.Message

func (*TxEncodeAminoResponse) Reset

func (x *TxEncodeAminoResponse) Reset()

func (*TxEncodeAminoResponse) String

func (x *TxEncodeAminoResponse) String() string

type TxEncodeRequest

type TxEncodeRequest struct {

	// tx is the transaction to encode.
	Tx *Tx `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"`
	// contains filtered or unexported fields
}

TxEncodeRequest is the request type for the Service.TxEncode RPC method.

Since: cosmos-sdk 0.47

func (*TxEncodeRequest) Descriptor deprecated

func (*TxEncodeRequest) Descriptor() ([]byte, []int)

Deprecated: Use TxEncodeRequest.ProtoReflect.Descriptor instead.

func (*TxEncodeRequest) GetTx

func (x *TxEncodeRequest) GetTx() *Tx

func (*TxEncodeRequest) ProtoMessage

func (*TxEncodeRequest) ProtoMessage()

func (*TxEncodeRequest) ProtoReflect

func (x *TxEncodeRequest) ProtoReflect() protoreflect.Message

func (*TxEncodeRequest) Reset

func (x *TxEncodeRequest) Reset()

func (*TxEncodeRequest) String

func (x *TxEncodeRequest) String() string

type TxEncodeResponse

type TxEncodeResponse struct {

	// tx_bytes is the encoded transaction bytes.
	TxBytes []byte `protobuf:"bytes,1,opt,name=tx_bytes,json=txBytes,proto3" json:"tx_bytes,omitempty"`
	// contains filtered or unexported fields
}

TxEncodeResponse is the response type for the Service.TxEncode method.

Since: cosmos-sdk 0.47

func (*TxEncodeResponse) Descriptor deprecated

func (*TxEncodeResponse) Descriptor() ([]byte, []int)

Deprecated: Use TxEncodeResponse.ProtoReflect.Descriptor instead.

func (*TxEncodeResponse) GetTxBytes

func (x *TxEncodeResponse) GetTxBytes() []byte

func (*TxEncodeResponse) ProtoMessage

func (*TxEncodeResponse) ProtoMessage()

func (*TxEncodeResponse) ProtoReflect

func (x *TxEncodeResponse) ProtoReflect() protoreflect.Message

func (*TxEncodeResponse) Reset

func (x *TxEncodeResponse) Reset()

func (*TxEncodeResponse) String

func (x *TxEncodeResponse) String() string

type TxRaw

type TxRaw struct {

	// body_bytes is a protobuf serialization of a TxBody that matches the
	// representation in SignDoc.
	BodyBytes []byte `protobuf:"bytes,1,opt,name=body_bytes,json=bodyBytes,proto3" json:"body_bytes,omitempty"`
	// auth_info_bytes is a protobuf serialization of an AuthInfo that matches the
	// representation in SignDoc.
	AuthInfoBytes []byte `protobuf:"bytes,2,opt,name=auth_info_bytes,json=authInfoBytes,proto3" json:"auth_info_bytes,omitempty"`
	// signatures is a list of signatures that matches the length and order of
	// AuthInfo's signer_infos to allow connecting signature meta information like
	// public key and signing mode by position.
	Signatures [][]byte `protobuf:"bytes,3,rep,name=signatures,proto3" json:"signatures,omitempty"`
	// contains filtered or unexported fields
}

TxRaw is a variant of Tx that pins the signer's exact binary representation of body and auth_info. This is used for signing, broadcasting and verification. The binary `serialize(tx: TxRaw)` is stored in Tendermint and the hash `sha256(serialize(tx: TxRaw))` becomes the "txhash", commonly used as the transaction ID.

func (*TxRaw) Descriptor deprecated

func (*TxRaw) Descriptor() ([]byte, []int)

Deprecated: Use TxRaw.ProtoReflect.Descriptor instead.

func (*TxRaw) GetAuthInfoBytes

func (x *TxRaw) GetAuthInfoBytes() []byte

func (*TxRaw) GetBodyBytes

func (x *TxRaw) GetBodyBytes() []byte

func (*TxRaw) GetSignatures

func (x *TxRaw) GetSignatures() [][]byte

func (*TxRaw) ProtoMessage

func (*TxRaw) ProtoMessage()

func (*TxRaw) ProtoReflect

func (x *TxRaw) ProtoReflect() protoreflect.Message

func (*TxRaw) Reset

func (x *TxRaw) Reset()

func (*TxRaw) String

func (x *TxRaw) String() string

type UnimplementedServiceServer

type UnimplementedServiceServer struct {
}

UnimplementedServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedServiceServer) BroadcastTx

func (UnimplementedServiceServer) GetBlockWithTxs

func (UnimplementedServiceServer) GetTx

func (UnimplementedServiceServer) GetTxsEvent

func (UnimplementedServiceServer) Simulate

func (UnimplementedServiceServer) TxDecode

func (UnimplementedServiceServer) TxDecodeAmino

func (UnimplementedServiceServer) TxEncode

func (UnimplementedServiceServer) TxEncodeAmino

type UnsafeServiceServer

type UnsafeServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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