Documentation ¶
Overview ¶
Package tx is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func GetMsgs(anys []*types.Any, name string) ([]sdk.Msg, error)
- func RegisterInterfaces(registry codectypes.InterfaceRegistry)
- func RegisterServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ServiceClient) error
- func RegisterServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ServiceServer) error
- func RegisterServiceServer(s grpc1.Server, srv ServiceServer)
- func SetMsgs(msgs []sdk.Msg) ([]*types.Any, error)
- func UnpackInterfaces(unpacker types.AnyUnpacker, anys []*types.Any) error
- type AuthInfo
- func (*AuthInfo) Descriptor() ([]byte, []int)
- func (m *AuthInfo) GetFee() *Fee
- func (m *AuthInfo) GetSignerInfos() []*SignerInfo
- func (m *AuthInfo) GetTip() *Tip
- func (m *AuthInfo) Marshal() (dAtA []byte, err error)
- func (m *AuthInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *AuthInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AuthInfo) ProtoMessage()
- func (m *AuthInfo) Reset()
- func (m *AuthInfo) Size() (n int)
- func (m *AuthInfo) String() string
- func (m *AuthInfo) Unmarshal(dAtA []byte) error
- func (m *AuthInfo) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- func (m *AuthInfo) XXX_DiscardUnknown()
- func (m *AuthInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuthInfo) XXX_Merge(src proto.Message)
- func (m *AuthInfo) XXX_Size() int
- func (m *AuthInfo) XXX_Unmarshal(b []byte) error
- type AuxSignerData
- func (*AuxSignerData) Descriptor() ([]byte, []int)
- func (m *AuxSignerData) GetAddress() string
- func (m *AuxSignerData) GetMode() signing.SignMode
- func (m *AuxSignerData) GetSig() []byte
- func (m *AuxSignerData) GetSignDoc() *SignDocDirectAux
- func (a *AuxSignerData) GetSignatureV2() (signing.SignatureV2, error)
- func (m *AuxSignerData) Marshal() (dAtA []byte, err error)
- func (m *AuxSignerData) MarshalTo(dAtA []byte) (int, error)
- func (m *AuxSignerData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AuxSignerData) ProtoMessage()
- func (m *AuxSignerData) Reset()
- func (m *AuxSignerData) Size() (n int)
- func (m *AuxSignerData) String() string
- func (m *AuxSignerData) Unmarshal(dAtA []byte) error
- func (a *AuxSignerData) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- func (a *AuxSignerData) ValidateBasic() error
- func (m *AuxSignerData) XXX_DiscardUnknown()
- func (m *AuxSignerData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuxSignerData) XXX_Merge(src proto.Message)
- func (m *AuxSignerData) XXX_Size() int
- func (m *AuxSignerData) XXX_Unmarshal(b []byte) error
- type BroadcastMode
- type BroadcastTxRequest
- func (*BroadcastTxRequest) Descriptor() ([]byte, []int)
- func (m *BroadcastTxRequest) GetMode() BroadcastMode
- func (m *BroadcastTxRequest) GetTxBytes() []byte
- func (m *BroadcastTxRequest) Marshal() (dAtA []byte, err error)
- func (m *BroadcastTxRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *BroadcastTxRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BroadcastTxRequest) ProtoMessage()
- func (m *BroadcastTxRequest) Reset()
- func (m *BroadcastTxRequest) Size() (n int)
- func (m *BroadcastTxRequest) String() string
- func (m *BroadcastTxRequest) Unmarshal(dAtA []byte) error
- func (m *BroadcastTxRequest) XXX_DiscardUnknown()
- func (m *BroadcastTxRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BroadcastTxRequest) XXX_Merge(src proto.Message)
- func (m *BroadcastTxRequest) XXX_Size() int
- func (m *BroadcastTxRequest) XXX_Unmarshal(b []byte) error
- type BroadcastTxResponse
- func (*BroadcastTxResponse) Descriptor() ([]byte, []int)
- func (m *BroadcastTxResponse) GetTxResponse() *types.TxResponse
- func (m *BroadcastTxResponse) Marshal() (dAtA []byte, err error)
- func (m *BroadcastTxResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *BroadcastTxResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BroadcastTxResponse) ProtoMessage()
- func (m *BroadcastTxResponse) Reset()
- func (m *BroadcastTxResponse) Size() (n int)
- func (m *BroadcastTxResponse) String() string
- func (m *BroadcastTxResponse) Unmarshal(dAtA []byte) error
- func (m *BroadcastTxResponse) XXX_DiscardUnknown()
- func (m *BroadcastTxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BroadcastTxResponse) XXX_Merge(src proto.Message)
- func (m *BroadcastTxResponse) XXX_Size() int
- func (m *BroadcastTxResponse) XXX_Unmarshal(b []byte) error
- type ExtensionOptionI
- type Fee
- func (*Fee) Descriptor() ([]byte, []int)
- func (m *Fee) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *Fee) GetGasLimit() uint64
- func (m *Fee) GetGranter() string
- func (m *Fee) GetPayer() string
- func (m *Fee) Marshal() (dAtA []byte, err error)
- func (m *Fee) MarshalTo(dAtA []byte) (int, error)
- func (m *Fee) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Fee) ProtoMessage()
- func (m *Fee) Reset()
- func (m *Fee) Size() (n int)
- func (m *Fee) String() string
- func (m *Fee) Unmarshal(dAtA []byte) error
- func (m *Fee) XXX_DiscardUnknown()
- func (m *Fee) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Fee) XXX_Merge(src proto.Message)
- func (m *Fee) XXX_Size() int
- func (m *Fee) XXX_Unmarshal(b []byte) error
- type GetBlockWithTxsRequest
- func (*GetBlockWithTxsRequest) Descriptor() ([]byte, []int)
- func (m *GetBlockWithTxsRequest) GetHeight() int64
- func (m *GetBlockWithTxsRequest) GetPagination() *query.PageRequest
- func (m *GetBlockWithTxsRequest) Marshal() (dAtA []byte, err error)
- func (m *GetBlockWithTxsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetBlockWithTxsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetBlockWithTxsRequest) ProtoMessage()
- func (m *GetBlockWithTxsRequest) Reset()
- func (m *GetBlockWithTxsRequest) Size() (n int)
- func (m *GetBlockWithTxsRequest) String() string
- func (m *GetBlockWithTxsRequest) Unmarshal(dAtA []byte) error
- func (m *GetBlockWithTxsRequest) XXX_DiscardUnknown()
- func (m *GetBlockWithTxsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBlockWithTxsRequest) XXX_Merge(src proto.Message)
- func (m *GetBlockWithTxsRequest) XXX_Size() int
- func (m *GetBlockWithTxsRequest) XXX_Unmarshal(b []byte) error
- type GetBlockWithTxsResponse
- func (*GetBlockWithTxsResponse) Descriptor() ([]byte, []int)
- func (m *GetBlockWithTxsResponse) GetBlock() *types1.Block
- func (m *GetBlockWithTxsResponse) GetBlockId() *types1.BlockID
- func (m *GetBlockWithTxsResponse) GetPagination() *query.PageResponse
- func (m *GetBlockWithTxsResponse) GetTxs() []*Tx
- func (m *GetBlockWithTxsResponse) Marshal() (dAtA []byte, err error)
- func (m *GetBlockWithTxsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *GetBlockWithTxsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetBlockWithTxsResponse) ProtoMessage()
- func (m *GetBlockWithTxsResponse) Reset()
- func (m *GetBlockWithTxsResponse) Size() (n int)
- func (m *GetBlockWithTxsResponse) String() string
- func (m *GetBlockWithTxsResponse) Unmarshal(dAtA []byte) error
- func (m *GetBlockWithTxsResponse) XXX_DiscardUnknown()
- func (m *GetBlockWithTxsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBlockWithTxsResponse) XXX_Merge(src proto.Message)
- func (m *GetBlockWithTxsResponse) XXX_Size() int
- func (m *GetBlockWithTxsResponse) XXX_Unmarshal(b []byte) error
- type GetTxRequest
- func (*GetTxRequest) Descriptor() ([]byte, []int)
- func (m *GetTxRequest) GetHash() string
- func (m *GetTxRequest) Marshal() (dAtA []byte, err error)
- func (m *GetTxRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetTxRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetTxRequest) ProtoMessage()
- func (m *GetTxRequest) Reset()
- func (m *GetTxRequest) Size() (n int)
- func (m *GetTxRequest) String() string
- func (m *GetTxRequest) Unmarshal(dAtA []byte) error
- func (m *GetTxRequest) XXX_DiscardUnknown()
- func (m *GetTxRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetTxRequest) XXX_Merge(src proto.Message)
- func (m *GetTxRequest) XXX_Size() int
- func (m *GetTxRequest) XXX_Unmarshal(b []byte) error
- type GetTxResponse
- func (*GetTxResponse) Descriptor() ([]byte, []int)
- func (m *GetTxResponse) GetTx() *Tx
- func (m *GetTxResponse) GetTxResponse() *types.TxResponse
- func (m *GetTxResponse) Marshal() (dAtA []byte, err error)
- func (m *GetTxResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *GetTxResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetTxResponse) ProtoMessage()
- func (m *GetTxResponse) Reset()
- func (m *GetTxResponse) Size() (n int)
- func (m *GetTxResponse) String() string
- func (m *GetTxResponse) Unmarshal(dAtA []byte) error
- func (m *GetTxResponse) XXX_DiscardUnknown()
- func (m *GetTxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetTxResponse) XXX_Merge(src proto.Message)
- func (m *GetTxResponse) XXX_Size() int
- func (m *GetTxResponse) XXX_Unmarshal(b []byte) error
- type GetTxsEventRequest
- func (*GetTxsEventRequest) Descriptor() ([]byte, []int)
- func (m *GetTxsEventRequest) GetEvents() []string
- func (m *GetTxsEventRequest) GetLimit() uint64
- func (m *GetTxsEventRequest) GetOrderBy() OrderBy
- func (m *GetTxsEventRequest) GetPage() uint64
- func (m *GetTxsEventRequest) GetPagination() *query.PageRequestdeprecated
- func (m *GetTxsEventRequest) Marshal() (dAtA []byte, err error)
- func (m *GetTxsEventRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetTxsEventRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetTxsEventRequest) ProtoMessage()
- func (m *GetTxsEventRequest) Reset()
- func (m *GetTxsEventRequest) Size() (n int)
- func (m *GetTxsEventRequest) String() string
- func (m *GetTxsEventRequest) Unmarshal(dAtA []byte) error
- func (m *GetTxsEventRequest) XXX_DiscardUnknown()
- func (m *GetTxsEventRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetTxsEventRequest) XXX_Merge(src proto.Message)
- func (m *GetTxsEventRequest) XXX_Size() int
- func (m *GetTxsEventRequest) XXX_Unmarshal(b []byte) error
- type GetTxsEventResponse
- func (*GetTxsEventResponse) Descriptor() ([]byte, []int)
- func (m *GetTxsEventResponse) GetPagination() *query.PageResponsedeprecated
- func (m *GetTxsEventResponse) GetTotal() uint64
- func (m *GetTxsEventResponse) GetTxResponses() []*types.TxResponse
- func (m *GetTxsEventResponse) GetTxs() []*Tx
- func (m *GetTxsEventResponse) Marshal() (dAtA []byte, err error)
- func (m *GetTxsEventResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *GetTxsEventResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetTxsEventResponse) ProtoMessage()
- func (m *GetTxsEventResponse) Reset()
- func (m *GetTxsEventResponse) Size() (n int)
- func (m *GetTxsEventResponse) String() string
- func (m *GetTxsEventResponse) Unmarshal(dAtA []byte) error
- func (m *GetTxsEventResponse) XXX_DiscardUnknown()
- func (m *GetTxsEventResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetTxsEventResponse) XXX_Merge(src proto.Message)
- func (m *GetTxsEventResponse) XXX_Size() int
- func (m *GetTxsEventResponse) XXX_Unmarshal(b []byte) error
- type ModeInfo
- func (*ModeInfo) Descriptor() ([]byte, []int)
- func (m *ModeInfo) GetMulti() *ModeInfo_Multi
- func (m *ModeInfo) GetSingle() *ModeInfo_Single
- func (m *ModeInfo) GetSum() isModeInfo_Sum
- func (m *ModeInfo) Marshal() (dAtA []byte, err error)
- func (m *ModeInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *ModeInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ModeInfo) ProtoMessage()
- func (m *ModeInfo) Reset()
- func (m *ModeInfo) Size() (n int)
- func (m *ModeInfo) String() string
- func (m *ModeInfo) Unmarshal(dAtA []byte) error
- func (m *ModeInfo) XXX_DiscardUnknown()
- func (m *ModeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ModeInfo) XXX_Merge(src proto.Message)
- func (*ModeInfo) XXX_OneofWrappers() []interface{}
- func (m *ModeInfo) XXX_Size() int
- func (m *ModeInfo) XXX_Unmarshal(b []byte) error
- type ModeInfo_Multi
- func (*ModeInfo_Multi) Descriptor() ([]byte, []int)
- func (m *ModeInfo_Multi) GetBitarray() *types1.CompactBitArray
- func (m *ModeInfo_Multi) GetModeInfos() []*ModeInfo
- func (m *ModeInfo_Multi) Marshal() (dAtA []byte, err error)
- func (m *ModeInfo_Multi) MarshalTo(dAtA []byte) (int, error)
- func (m *ModeInfo_Multi) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ModeInfo_Multi) ProtoMessage()
- func (m *ModeInfo_Multi) Reset()
- func (m *ModeInfo_Multi) Size() (n int)
- func (m *ModeInfo_Multi) String() string
- func (m *ModeInfo_Multi) Unmarshal(dAtA []byte) error
- func (m *ModeInfo_Multi) XXX_DiscardUnknown()
- func (m *ModeInfo_Multi) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ModeInfo_Multi) XXX_Merge(src proto.Message)
- func (m *ModeInfo_Multi) XXX_Size() int
- func (m *ModeInfo_Multi) XXX_Unmarshal(b []byte) error
- type ModeInfo_Multi_
- type ModeInfo_Single
- func (*ModeInfo_Single) Descriptor() ([]byte, []int)
- func (m *ModeInfo_Single) GetMode() signing.SignMode
- func (m *ModeInfo_Single) Marshal() (dAtA []byte, err error)
- func (m *ModeInfo_Single) MarshalTo(dAtA []byte) (int, error)
- func (m *ModeInfo_Single) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ModeInfo_Single) ProtoMessage()
- func (m *ModeInfo_Single) Reset()
- func (m *ModeInfo_Single) Size() (n int)
- func (m *ModeInfo_Single) String() string
- func (m *ModeInfo_Single) Unmarshal(dAtA []byte) error
- func (m *ModeInfo_Single) XXX_DiscardUnknown()
- func (m *ModeInfo_Single) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ModeInfo_Single) XXX_Merge(src proto.Message)
- func (m *ModeInfo_Single) XXX_Size() int
- func (m *ModeInfo_Single) XXX_Unmarshal(b []byte) error
- type ModeInfo_Single_
- type MsgResponse
- type OrderBy
- type ServiceClient
- type ServiceServer
- type SignDoc
- func (*SignDoc) Descriptor() ([]byte, []int)
- func (m *SignDoc) GetAccountNumber() uint64
- func (m *SignDoc) GetAuthInfoBytes() []byte
- func (m *SignDoc) GetBodyBytes() []byte
- func (m *SignDoc) GetChainId() string
- func (m *SignDoc) Marshal() (dAtA []byte, err error)
- func (m *SignDoc) MarshalTo(dAtA []byte) (int, error)
- func (m *SignDoc) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SignDoc) ProtoMessage()
- func (m *SignDoc) Reset()
- func (m *SignDoc) Size() (n int)
- func (m *SignDoc) String() string
- func (m *SignDoc) Unmarshal(dAtA []byte) error
- func (m *SignDoc) XXX_DiscardUnknown()
- func (m *SignDoc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignDoc) XXX_Merge(src proto.Message)
- func (m *SignDoc) XXX_Size() int
- func (m *SignDoc) XXX_Unmarshal(b []byte) error
- type SignDocDirectAux
- func (*SignDocDirectAux) Descriptor() ([]byte, []int)
- func (m *SignDocDirectAux) GetAccountNumber() uint64
- func (m *SignDocDirectAux) GetBodyBytes() []byte
- func (m *SignDocDirectAux) GetChainId() string
- func (m *SignDocDirectAux) GetPublicKey() *types.Any
- func (m *SignDocDirectAux) GetSequence() uint64
- func (m *SignDocDirectAux) GetTip() *Tip
- func (m *SignDocDirectAux) Marshal() (dAtA []byte, err error)
- func (m *SignDocDirectAux) MarshalTo(dAtA []byte) (int, error)
- func (m *SignDocDirectAux) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SignDocDirectAux) ProtoMessage()
- func (m *SignDocDirectAux) Reset()
- func (m *SignDocDirectAux) Size() (n int)
- func (m *SignDocDirectAux) String() string
- func (m *SignDocDirectAux) Unmarshal(dAtA []byte) error
- func (s *SignDocDirectAux) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- func (s *SignDocDirectAux) ValidateBasic() error
- func (m *SignDocDirectAux) XXX_DiscardUnknown()
- func (m *SignDocDirectAux) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignDocDirectAux) XXX_Merge(src proto.Message)
- func (m *SignDocDirectAux) XXX_Size() int
- func (m *SignDocDirectAux) XXX_Unmarshal(b []byte) error
- type SignerInfo
- func (*SignerInfo) Descriptor() ([]byte, []int)
- func (m *SignerInfo) GetModeInfo() *ModeInfo
- func (m *SignerInfo) GetPublicKey() *types.Any
- func (m *SignerInfo) GetSequence() uint64
- func (m *SignerInfo) Marshal() (dAtA []byte, err error)
- func (m *SignerInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *SignerInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SignerInfo) ProtoMessage()
- func (m *SignerInfo) Reset()
- func (m *SignerInfo) Size() (n int)
- func (m *SignerInfo) String() string
- func (m *SignerInfo) Unmarshal(dAtA []byte) error
- func (m *SignerInfo) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- func (m *SignerInfo) XXX_DiscardUnknown()
- func (m *SignerInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignerInfo) XXX_Merge(src proto.Message)
- func (m *SignerInfo) XXX_Size() int
- func (m *SignerInfo) XXX_Unmarshal(b []byte) error
- type SimulateRequest
- func (*SimulateRequest) Descriptor() ([]byte, []int)
- func (m *SimulateRequest) GetTx() *Txdeprecated
- func (m *SimulateRequest) GetTxBytes() []byte
- func (m *SimulateRequest) Marshal() (dAtA []byte, err error)
- func (m *SimulateRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *SimulateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SimulateRequest) ProtoMessage()
- func (m *SimulateRequest) Reset()
- func (m *SimulateRequest) Size() (n int)
- func (m *SimulateRequest) String() string
- func (m *SimulateRequest) Unmarshal(dAtA []byte) error
- func (m *SimulateRequest) XXX_DiscardUnknown()
- func (m *SimulateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SimulateRequest) XXX_Merge(src proto.Message)
- func (m *SimulateRequest) XXX_Size() int
- func (m *SimulateRequest) XXX_Unmarshal(b []byte) error
- type SimulateResponse
- func (*SimulateResponse) Descriptor() ([]byte, []int)
- func (m *SimulateResponse) GetGasInfo() *types.GasInfo
- func (m *SimulateResponse) GetResult() *types.Result
- func (m *SimulateResponse) Marshal() (dAtA []byte, err error)
- func (m *SimulateResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *SimulateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SimulateResponse) ProtoMessage()
- func (m *SimulateResponse) Reset()
- func (m *SimulateResponse) Size() (n int)
- func (m *SimulateResponse) String() string
- func (m *SimulateResponse) Unmarshal(dAtA []byte) error
- func (m *SimulateResponse) XXX_DiscardUnknown()
- func (m *SimulateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SimulateResponse) XXX_Merge(src proto.Message)
- func (m *SimulateResponse) XXX_Size() int
- func (m *SimulateResponse) XXX_Unmarshal(b []byte) error
- type Tip
- func (*Tip) Descriptor() ([]byte, []int)
- func (m *Tip) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
- func (m *Tip) GetTipper() string
- func (m *Tip) Marshal() (dAtA []byte, err error)
- func (m *Tip) MarshalTo(dAtA []byte) (int, error)
- func (m *Tip) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Tip) ProtoMessage()
- func (m *Tip) Reset()
- func (m *Tip) Size() (n int)
- func (m *Tip) String() string
- func (m *Tip) Unmarshal(dAtA []byte) error
- func (m *Tip) XXX_DiscardUnknown()
- func (m *Tip) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Tip) XXX_Merge(src proto.Message)
- func (m *Tip) XXX_Size() int
- func (m *Tip) XXX_Unmarshal(b []byte) error
- type TipTx
- type Tx
- func (*Tx) Descriptor() ([]byte, []int)
- func (t *Tx) FeeGranter() sdk.AccAddress
- func (t *Tx) FeePayer() sdk.AccAddress
- func (m *Tx) GetAuthInfo() *AuthInfo
- func (m *Tx) GetBody() *TxBody
- func (t *Tx) GetFee() sdk.Coins
- func (t *Tx) GetGas() uint64
- func (t *Tx) GetMsgs() []sdk.Msg
- func (m *Tx) GetSignatures() [][]byte
- func (t *Tx) GetSigners() []sdk.AccAddress
- func (m *Tx) Marshal() (dAtA []byte, err error)
- func (m *Tx) MarshalTo(dAtA []byte) (int, error)
- func (m *Tx) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Tx) ProtoMessage()
- func (m *Tx) Reset()
- func (m *Tx) Size() (n int)
- func (m *Tx) String() string
- func (m *Tx) Unmarshal(dAtA []byte) error
- func (t *Tx) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- func (t *Tx) ValidateBasic() error
- func (m *Tx) XXX_DiscardUnknown()
- func (m *Tx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Tx) XXX_Merge(src proto.Message)
- func (m *Tx) XXX_Size() int
- func (m *Tx) XXX_Unmarshal(b []byte) error
- type TxBody
- func (*TxBody) Descriptor() ([]byte, []int)
- func (m *TxBody) GetExtensionOptions() []*types.Any
- func (m *TxBody) GetMemo() string
- func (m *TxBody) GetMessages() []*types.Any
- func (m *TxBody) GetNonCriticalExtensionOptions() []*types.Any
- func (m *TxBody) GetTimeoutHeight() uint64
- func (m *TxBody) Marshal() (dAtA []byte, err error)
- func (m *TxBody) MarshalTo(dAtA []byte) (int, error)
- func (m *TxBody) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TxBody) ProtoMessage()
- func (m *TxBody) Reset()
- func (m *TxBody) Size() (n int)
- func (m *TxBody) String() string
- func (m *TxBody) Unmarshal(dAtA []byte) error
- func (m *TxBody) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- func (m *TxBody) XXX_DiscardUnknown()
- func (m *TxBody) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxBody) XXX_Merge(src proto.Message)
- func (m *TxBody) XXX_Size() int
- func (m *TxBody) XXX_Unmarshal(b []byte) error
- type TxDecodeAminoRequest
- func (*TxDecodeAminoRequest) Descriptor() ([]byte, []int)
- func (m *TxDecodeAminoRequest) GetAminoBinary() []byte
- func (m *TxDecodeAminoRequest) Marshal() (dAtA []byte, err error)
- func (m *TxDecodeAminoRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *TxDecodeAminoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TxDecodeAminoRequest) ProtoMessage()
- func (m *TxDecodeAminoRequest) Reset()
- func (m *TxDecodeAminoRequest) Size() (n int)
- func (m *TxDecodeAminoRequest) String() string
- func (m *TxDecodeAminoRequest) Unmarshal(dAtA []byte) error
- func (m *TxDecodeAminoRequest) XXX_DiscardUnknown()
- func (m *TxDecodeAminoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxDecodeAminoRequest) XXX_Merge(src proto.Message)
- func (m *TxDecodeAminoRequest) XXX_Size() int
- func (m *TxDecodeAminoRequest) XXX_Unmarshal(b []byte) error
- type TxDecodeAminoResponse
- func (*TxDecodeAminoResponse) Descriptor() ([]byte, []int)
- func (m *TxDecodeAminoResponse) GetAminoJson() string
- func (m *TxDecodeAminoResponse) Marshal() (dAtA []byte, err error)
- func (m *TxDecodeAminoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *TxDecodeAminoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TxDecodeAminoResponse) ProtoMessage()
- func (m *TxDecodeAminoResponse) Reset()
- func (m *TxDecodeAminoResponse) Size() (n int)
- func (m *TxDecodeAminoResponse) String() string
- func (m *TxDecodeAminoResponse) Unmarshal(dAtA []byte) error
- func (m *TxDecodeAminoResponse) XXX_DiscardUnknown()
- func (m *TxDecodeAminoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxDecodeAminoResponse) XXX_Merge(src proto.Message)
- func (m *TxDecodeAminoResponse) XXX_Size() int
- func (m *TxDecodeAminoResponse) XXX_Unmarshal(b []byte) error
- type TxDecodeRequest
- func (*TxDecodeRequest) Descriptor() ([]byte, []int)
- func (m *TxDecodeRequest) GetTxBytes() []byte
- func (m *TxDecodeRequest) Marshal() (dAtA []byte, err error)
- func (m *TxDecodeRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *TxDecodeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TxDecodeRequest) ProtoMessage()
- func (m *TxDecodeRequest) Reset()
- func (m *TxDecodeRequest) Size() (n int)
- func (m *TxDecodeRequest) String() string
- func (m *TxDecodeRequest) Unmarshal(dAtA []byte) error
- func (m *TxDecodeRequest) XXX_DiscardUnknown()
- func (m *TxDecodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxDecodeRequest) XXX_Merge(src proto.Message)
- func (m *TxDecodeRequest) XXX_Size() int
- func (m *TxDecodeRequest) XXX_Unmarshal(b []byte) error
- type TxDecodeResponse
- func (*TxDecodeResponse) Descriptor() ([]byte, []int)
- func (m *TxDecodeResponse) GetTx() *Tx
- func (m *TxDecodeResponse) Marshal() (dAtA []byte, err error)
- func (m *TxDecodeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *TxDecodeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TxDecodeResponse) ProtoMessage()
- func (m *TxDecodeResponse) Reset()
- func (m *TxDecodeResponse) Size() (n int)
- func (m *TxDecodeResponse) String() string
- func (m *TxDecodeResponse) Unmarshal(dAtA []byte) error
- func (m *TxDecodeResponse) XXX_DiscardUnknown()
- func (m *TxDecodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxDecodeResponse) XXX_Merge(src proto.Message)
- func (m *TxDecodeResponse) XXX_Size() int
- func (m *TxDecodeResponse) XXX_Unmarshal(b []byte) error
- type TxEncodeAminoRequest
- func (*TxEncodeAminoRequest) Descriptor() ([]byte, []int)
- func (m *TxEncodeAminoRequest) GetAminoJson() string
- func (m *TxEncodeAminoRequest) Marshal() (dAtA []byte, err error)
- func (m *TxEncodeAminoRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *TxEncodeAminoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TxEncodeAminoRequest) ProtoMessage()
- func (m *TxEncodeAminoRequest) Reset()
- func (m *TxEncodeAminoRequest) Size() (n int)
- func (m *TxEncodeAminoRequest) String() string
- func (m *TxEncodeAminoRequest) Unmarshal(dAtA []byte) error
- func (m *TxEncodeAminoRequest) XXX_DiscardUnknown()
- func (m *TxEncodeAminoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxEncodeAminoRequest) XXX_Merge(src proto.Message)
- func (m *TxEncodeAminoRequest) XXX_Size() int
- func (m *TxEncodeAminoRequest) XXX_Unmarshal(b []byte) error
- type TxEncodeAminoResponse
- func (*TxEncodeAminoResponse) Descriptor() ([]byte, []int)
- func (m *TxEncodeAminoResponse) GetAminoBinary() []byte
- func (m *TxEncodeAminoResponse) Marshal() (dAtA []byte, err error)
- func (m *TxEncodeAminoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *TxEncodeAminoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TxEncodeAminoResponse) ProtoMessage()
- func (m *TxEncodeAminoResponse) Reset()
- func (m *TxEncodeAminoResponse) Size() (n int)
- func (m *TxEncodeAminoResponse) String() string
- func (m *TxEncodeAminoResponse) Unmarshal(dAtA []byte) error
- func (m *TxEncodeAminoResponse) XXX_DiscardUnknown()
- func (m *TxEncodeAminoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxEncodeAminoResponse) XXX_Merge(src proto.Message)
- func (m *TxEncodeAminoResponse) XXX_Size() int
- func (m *TxEncodeAminoResponse) XXX_Unmarshal(b []byte) error
- type TxEncodeRequest
- func (*TxEncodeRequest) Descriptor() ([]byte, []int)
- func (m *TxEncodeRequest) GetTx() *Tx
- func (m *TxEncodeRequest) Marshal() (dAtA []byte, err error)
- func (m *TxEncodeRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *TxEncodeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TxEncodeRequest) ProtoMessage()
- func (m *TxEncodeRequest) Reset()
- func (m *TxEncodeRequest) Size() (n int)
- func (m *TxEncodeRequest) String() string
- func (m *TxEncodeRequest) Unmarshal(dAtA []byte) error
- func (m *TxEncodeRequest) XXX_DiscardUnknown()
- func (m *TxEncodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxEncodeRequest) XXX_Merge(src proto.Message)
- func (m *TxEncodeRequest) XXX_Size() int
- func (m *TxEncodeRequest) XXX_Unmarshal(b []byte) error
- type TxEncodeResponse
- func (*TxEncodeResponse) Descriptor() ([]byte, []int)
- func (m *TxEncodeResponse) GetTxBytes() []byte
- func (m *TxEncodeResponse) Marshal() (dAtA []byte, err error)
- func (m *TxEncodeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *TxEncodeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TxEncodeResponse) ProtoMessage()
- func (m *TxEncodeResponse) Reset()
- func (m *TxEncodeResponse) Size() (n int)
- func (m *TxEncodeResponse) String() string
- func (m *TxEncodeResponse) Unmarshal(dAtA []byte) error
- func (m *TxEncodeResponse) XXX_DiscardUnknown()
- func (m *TxEncodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxEncodeResponse) XXX_Merge(src proto.Message)
- func (m *TxEncodeResponse) XXX_Size() int
- func (m *TxEncodeResponse) XXX_Unmarshal(b []byte) error
- type TxRaw
- func (*TxRaw) Descriptor() ([]byte, []int)
- func (m *TxRaw) GetAuthInfoBytes() []byte
- func (m *TxRaw) GetBodyBytes() []byte
- func (m *TxRaw) GetSignatures() [][]byte
- func (m *TxRaw) Marshal() (dAtA []byte, err error)
- func (m *TxRaw) MarshalTo(dAtA []byte) (int, error)
- func (m *TxRaw) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TxRaw) ProtoMessage()
- func (m *TxRaw) Reset()
- func (m *TxRaw) Size() (n int)
- func (m *TxRaw) String() string
- func (m *TxRaw) Unmarshal(dAtA []byte) error
- func (m *TxRaw) XXX_DiscardUnknown()
- func (m *TxRaw) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxRaw) XXX_Merge(src proto.Message)
- func (m *TxRaw) XXX_Size() int
- func (m *TxRaw) XXX_Unmarshal(b []byte) error
- type UnimplementedServiceServer
- func (*UnimplementedServiceServer) BroadcastTx(ctx context.Context, req *BroadcastTxRequest) (*BroadcastTxResponse, error)
- func (*UnimplementedServiceServer) GetBlockWithTxs(ctx context.Context, req *GetBlockWithTxsRequest) (*GetBlockWithTxsResponse, error)
- func (*UnimplementedServiceServer) GetTx(ctx context.Context, req *GetTxRequest) (*GetTxResponse, error)
- func (*UnimplementedServiceServer) GetTxsEvent(ctx context.Context, req *GetTxsEventRequest) (*GetTxsEventResponse, error)
- func (*UnimplementedServiceServer) Simulate(ctx context.Context, req *SimulateRequest) (*SimulateResponse, error)
- func (*UnimplementedServiceServer) TxDecode(ctx context.Context, req *TxDecodeRequest) (*TxDecodeResponse, error)
- func (*UnimplementedServiceServer) TxDecodeAmino(ctx context.Context, req *TxDecodeAminoRequest) (*TxDecodeAminoResponse, error)
- func (*UnimplementedServiceServer) TxEncode(ctx context.Context, req *TxEncodeRequest) (*TxEncodeResponse, error)
- func (*UnimplementedServiceServer) TxEncodeAmino(ctx context.Context, req *TxEncodeAminoRequest) (*TxEncodeAminoResponse, error)
Constants ¶
const MaxGasWanted = uint64((1 << 63) - 1)
MaxGasWanted defines the max gas allowed.
Variables ¶
var ( ErrInvalidLengthService = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowService = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupService = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var BroadcastMode_name = map[int32]string{
0: "BROADCAST_MODE_UNSPECIFIED",
1: "BROADCAST_MODE_BLOCK",
2: "BROADCAST_MODE_SYNC",
3: "BROADCAST_MODE_ASYNC",
}
var BroadcastMode_value = map[string]int32{
"BROADCAST_MODE_UNSPECIFIED": 0,
"BROADCAST_MODE_BLOCK": 1,
"BROADCAST_MODE_SYNC": 2,
"BROADCAST_MODE_ASYNC": 3,
}
var OrderBy_name = map[int32]string{
0: "ORDER_BY_UNSPECIFIED",
1: "ORDER_BY_ASC",
2: "ORDER_BY_DESC",
}
var OrderBy_value = map[string]int32{
"ORDER_BY_UNSPECIFIED": 0,
"ORDER_BY_ASC": 1,
"ORDER_BY_DESC": 2,
}
Functions ¶
func RegisterInterfaces ¶
func RegisterInterfaces(registry codectypes.InterfaceRegistry)
RegisterInterfaces registers the sdk.Tx and MsgResponse interfaces. Note: the registration of sdk.Msg is done in sdk.RegisterInterfaces, but it could be moved inside this function.
func RegisterServiceHandler ¶
func RegisterServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterServiceHandler registers the http handlers for service Service to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterServiceHandlerClient ¶
func RegisterServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ServiceClient) error
RegisterServiceHandlerClient registers the http handlers for service Service to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ServiceClient" to call the correct interceptors.
func RegisterServiceHandlerFromEndpoint ¶
func RegisterServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterServiceHandlerFromEndpoint is same as RegisterServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterServiceHandlerServer ¶
func RegisterServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ServiceServer) error
RegisterServiceHandlerServer registers the http handlers for service Service to "mux". UnaryRPC :call ServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterServiceHandlerFromEndpoint instead.
func RegisterServiceServer ¶
func RegisterServiceServer(s grpc1.Server, srv ServiceServer)
func UnpackInterfaces ¶
func UnpackInterfaces(unpacker types.AnyUnpacker, anys []*types.Any) error
UnpackInterfaces unpacks Any's to sdk.Msg's.
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"` }
AuthInfo describes the fee and signer modes that are used to sign a transaction.
func (*AuthInfo) Descriptor ¶
func (*AuthInfo) GetSignerInfos ¶
func (m *AuthInfo) GetSignerInfos() []*SignerInfo
func (*AuthInfo) MarshalToSizedBuffer ¶
func (*AuthInfo) ProtoMessage ¶
func (*AuthInfo) ProtoMessage()
func (*AuthInfo) UnpackInterfaces ¶
func (m *AuthInfo) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
UnpackInterfaces implements the UnpackInterfaceMessages.UnpackInterfaces method
func (*AuthInfo) XXX_DiscardUnknown ¶
func (m *AuthInfo) XXX_DiscardUnknown()
func (*AuthInfo) XXX_Marshal ¶
func (*AuthInfo) XXX_Unmarshal ¶
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 signing.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"` }
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 ¶
func (*AuxSignerData) Descriptor() ([]byte, []int)
func (*AuxSignerData) GetAddress ¶
func (m *AuxSignerData) GetAddress() string
func (*AuxSignerData) GetMode ¶
func (m *AuxSignerData) GetMode() signing.SignMode
func (*AuxSignerData) GetSig ¶
func (m *AuxSignerData) GetSig() []byte
func (*AuxSignerData) GetSignDoc ¶
func (m *AuxSignerData) GetSignDoc() *SignDocDirectAux
func (*AuxSignerData) GetSignatureV2 ¶
func (a *AuxSignerData) GetSignatureV2() (signing.SignatureV2, error)
GetSignaturesV2 gets the SignatureV2 of the aux signer.
func (*AuxSignerData) Marshal ¶
func (m *AuxSignerData) Marshal() (dAtA []byte, err error)
func (*AuxSignerData) MarshalToSizedBuffer ¶
func (m *AuxSignerData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*AuxSignerData) ProtoMessage ¶
func (*AuxSignerData) ProtoMessage()
func (*AuxSignerData) Reset ¶
func (m *AuxSignerData) Reset()
func (*AuxSignerData) Size ¶
func (m *AuxSignerData) Size() (n int)
func (*AuxSignerData) String ¶
func (m *AuxSignerData) String() string
func (*AuxSignerData) Unmarshal ¶
func (m *AuxSignerData) Unmarshal(dAtA []byte) error
func (*AuxSignerData) UnpackInterfaces ¶
func (a *AuxSignerData) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
UnpackInterfaces implements the UnpackInterfaceMessages.UnpackInterfaces method
func (*AuxSignerData) ValidateBasic ¶
func (a *AuxSignerData) ValidateBasic() error
ValidateBasic performs stateless validation of the auxiliary tx.
func (*AuxSignerData) XXX_DiscardUnknown ¶
func (m *AuxSignerData) XXX_DiscardUnknown()
func (*AuxSignerData) XXX_Marshal ¶
func (m *AuxSignerData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AuxSignerData) XXX_Merge ¶
func (m *AuxSignerData) XXX_Merge(src proto.Message)
func (*AuxSignerData) XXX_Size ¶
func (m *AuxSignerData) XXX_Size() int
func (*AuxSignerData) XXX_Unmarshal ¶
func (m *AuxSignerData) XXX_Unmarshal(b []byte) error
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. BroadcastMode_BROADCAST_MODE_BLOCK BroadcastMode = 1 // Deprecated: Do not use. // 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) EnumDescriptor ¶
func (BroadcastMode) EnumDescriptor() ([]byte, []int)
func (BroadcastMode) String ¶
func (x BroadcastMode) String() string
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"` }
BroadcastTxRequest is the request type for the Service.BroadcastTxRequest RPC method.
func (*BroadcastTxRequest) Descriptor ¶
func (*BroadcastTxRequest) Descriptor() ([]byte, []int)
func (*BroadcastTxRequest) GetMode ¶
func (m *BroadcastTxRequest) GetMode() BroadcastMode
func (*BroadcastTxRequest) GetTxBytes ¶
func (m *BroadcastTxRequest) GetTxBytes() []byte
func (*BroadcastTxRequest) Marshal ¶
func (m *BroadcastTxRequest) Marshal() (dAtA []byte, err error)
func (*BroadcastTxRequest) MarshalTo ¶
func (m *BroadcastTxRequest) MarshalTo(dAtA []byte) (int, error)
func (*BroadcastTxRequest) MarshalToSizedBuffer ¶
func (m *BroadcastTxRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BroadcastTxRequest) ProtoMessage ¶
func (*BroadcastTxRequest) ProtoMessage()
func (*BroadcastTxRequest) Reset ¶
func (m *BroadcastTxRequest) Reset()
func (*BroadcastTxRequest) Size ¶
func (m *BroadcastTxRequest) Size() (n int)
func (*BroadcastTxRequest) String ¶
func (m *BroadcastTxRequest) String() string
func (*BroadcastTxRequest) Unmarshal ¶
func (m *BroadcastTxRequest) Unmarshal(dAtA []byte) error
func (*BroadcastTxRequest) XXX_DiscardUnknown ¶
func (m *BroadcastTxRequest) XXX_DiscardUnknown()
func (*BroadcastTxRequest) XXX_Marshal ¶
func (m *BroadcastTxRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BroadcastTxRequest) XXX_Merge ¶
func (m *BroadcastTxRequest) XXX_Merge(src proto.Message)
func (*BroadcastTxRequest) XXX_Size ¶
func (m *BroadcastTxRequest) XXX_Size() int
func (*BroadcastTxRequest) XXX_Unmarshal ¶
func (m *BroadcastTxRequest) XXX_Unmarshal(b []byte) error
type BroadcastTxResponse ¶
type BroadcastTxResponse struct { // tx_response is the queried TxResponses. TxResponse *types.TxResponse `protobuf:"bytes,1,opt,name=tx_response,json=txResponse,proto3" json:"tx_response,omitempty"` }
BroadcastTxResponse is the response type for the Service.BroadcastTx method.
func (*BroadcastTxResponse) Descriptor ¶
func (*BroadcastTxResponse) Descriptor() ([]byte, []int)
func (*BroadcastTxResponse) GetTxResponse ¶
func (m *BroadcastTxResponse) GetTxResponse() *types.TxResponse
func (*BroadcastTxResponse) Marshal ¶
func (m *BroadcastTxResponse) Marshal() (dAtA []byte, err error)
func (*BroadcastTxResponse) MarshalTo ¶
func (m *BroadcastTxResponse) MarshalTo(dAtA []byte) (int, error)
func (*BroadcastTxResponse) MarshalToSizedBuffer ¶
func (m *BroadcastTxResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BroadcastTxResponse) ProtoMessage ¶
func (*BroadcastTxResponse) ProtoMessage()
func (*BroadcastTxResponse) Reset ¶
func (m *BroadcastTxResponse) Reset()
func (*BroadcastTxResponse) Size ¶
func (m *BroadcastTxResponse) Size() (n int)
func (*BroadcastTxResponse) String ¶
func (m *BroadcastTxResponse) String() string
func (*BroadcastTxResponse) Unmarshal ¶
func (m *BroadcastTxResponse) Unmarshal(dAtA []byte) error
func (*BroadcastTxResponse) XXX_DiscardUnknown ¶
func (m *BroadcastTxResponse) XXX_DiscardUnknown()
func (*BroadcastTxResponse) XXX_Marshal ¶
func (m *BroadcastTxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BroadcastTxResponse) XXX_Merge ¶
func (m *BroadcastTxResponse) XXX_Merge(src proto.Message)
func (*BroadcastTxResponse) XXX_Size ¶
func (m *BroadcastTxResponse) XXX_Size() int
func (*BroadcastTxResponse) XXX_Unmarshal ¶
func (m *BroadcastTxResponse) XXX_Unmarshal(b []byte) error
type ExtensionOptionI ¶
type ExtensionOptionI interface{}
TxExtensionOptionI defines the interface for tx extension options
type Fee ¶
type Fee struct { // amount is the amount of coins to be paid as a fee Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"` // 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"` }
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 ¶
func (*Fee) GetAmount ¶
func (m *Fee) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
func (*Fee) GetGasLimit ¶
func (*Fee) GetGranter ¶
func (*Fee) ProtoMessage ¶
func (*Fee) ProtoMessage()
func (*Fee) XXX_DiscardUnknown ¶
func (m *Fee) XXX_DiscardUnknown()
func (*Fee) XXX_Unmarshal ¶
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 *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
GetBlockWithTxsRequest is the request type for the Service.GetBlockWithTxs RPC method.
Since: cosmos-sdk 0.45.2
func (*GetBlockWithTxsRequest) Descriptor ¶
func (*GetBlockWithTxsRequest) Descriptor() ([]byte, []int)
func (*GetBlockWithTxsRequest) GetHeight ¶
func (m *GetBlockWithTxsRequest) GetHeight() int64
func (*GetBlockWithTxsRequest) GetPagination ¶
func (m *GetBlockWithTxsRequest) GetPagination() *query.PageRequest
func (*GetBlockWithTxsRequest) Marshal ¶
func (m *GetBlockWithTxsRequest) Marshal() (dAtA []byte, err error)
func (*GetBlockWithTxsRequest) MarshalTo ¶
func (m *GetBlockWithTxsRequest) MarshalTo(dAtA []byte) (int, error)
func (*GetBlockWithTxsRequest) MarshalToSizedBuffer ¶
func (m *GetBlockWithTxsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetBlockWithTxsRequest) ProtoMessage ¶
func (*GetBlockWithTxsRequest) ProtoMessage()
func (*GetBlockWithTxsRequest) Reset ¶
func (m *GetBlockWithTxsRequest) Reset()
func (*GetBlockWithTxsRequest) Size ¶
func (m *GetBlockWithTxsRequest) Size() (n int)
func (*GetBlockWithTxsRequest) String ¶
func (m *GetBlockWithTxsRequest) String() string
func (*GetBlockWithTxsRequest) Unmarshal ¶
func (m *GetBlockWithTxsRequest) Unmarshal(dAtA []byte) error
func (*GetBlockWithTxsRequest) XXX_DiscardUnknown ¶
func (m *GetBlockWithTxsRequest) XXX_DiscardUnknown()
func (*GetBlockWithTxsRequest) XXX_Marshal ¶
func (m *GetBlockWithTxsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlockWithTxsRequest) XXX_Merge ¶
func (m *GetBlockWithTxsRequest) XXX_Merge(src proto.Message)
func (*GetBlockWithTxsRequest) XXX_Size ¶
func (m *GetBlockWithTxsRequest) XXX_Size() int
func (*GetBlockWithTxsRequest) XXX_Unmarshal ¶
func (m *GetBlockWithTxsRequest) XXX_Unmarshal(b []byte) error
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 *types1.BlockID `protobuf:"bytes,2,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` Block *types1.Block `protobuf:"bytes,3,opt,name=block,proto3" json:"block,omitempty"` // pagination defines a pagination for the response. Pagination *query.PageResponse `protobuf:"bytes,4,opt,name=pagination,proto3" json:"pagination,omitempty"` }
GetBlockWithTxsResponse is the response type for the Service.GetBlockWithTxs method.
Since: cosmos-sdk 0.45.2
func (*GetBlockWithTxsResponse) Descriptor ¶
func (*GetBlockWithTxsResponse) Descriptor() ([]byte, []int)
func (*GetBlockWithTxsResponse) GetBlock ¶
func (m *GetBlockWithTxsResponse) GetBlock() *types1.Block
func (*GetBlockWithTxsResponse) GetBlockId ¶
func (m *GetBlockWithTxsResponse) GetBlockId() *types1.BlockID
func (*GetBlockWithTxsResponse) GetPagination ¶
func (m *GetBlockWithTxsResponse) GetPagination() *query.PageResponse
func (*GetBlockWithTxsResponse) GetTxs ¶
func (m *GetBlockWithTxsResponse) GetTxs() []*Tx
func (*GetBlockWithTxsResponse) Marshal ¶
func (m *GetBlockWithTxsResponse) Marshal() (dAtA []byte, err error)
func (*GetBlockWithTxsResponse) MarshalTo ¶
func (m *GetBlockWithTxsResponse) MarshalTo(dAtA []byte) (int, error)
func (*GetBlockWithTxsResponse) MarshalToSizedBuffer ¶
func (m *GetBlockWithTxsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetBlockWithTxsResponse) ProtoMessage ¶
func (*GetBlockWithTxsResponse) ProtoMessage()
func (*GetBlockWithTxsResponse) Reset ¶
func (m *GetBlockWithTxsResponse) Reset()
func (*GetBlockWithTxsResponse) Size ¶
func (m *GetBlockWithTxsResponse) Size() (n int)
func (*GetBlockWithTxsResponse) String ¶
func (m *GetBlockWithTxsResponse) String() string
func (*GetBlockWithTxsResponse) Unmarshal ¶
func (m *GetBlockWithTxsResponse) Unmarshal(dAtA []byte) error
func (*GetBlockWithTxsResponse) XXX_DiscardUnknown ¶
func (m *GetBlockWithTxsResponse) XXX_DiscardUnknown()
func (*GetBlockWithTxsResponse) XXX_Marshal ¶
func (m *GetBlockWithTxsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlockWithTxsResponse) XXX_Merge ¶
func (m *GetBlockWithTxsResponse) XXX_Merge(src proto.Message)
func (*GetBlockWithTxsResponse) XXX_Size ¶
func (m *GetBlockWithTxsResponse) XXX_Size() int
func (*GetBlockWithTxsResponse) XXX_Unmarshal ¶
func (m *GetBlockWithTxsResponse) XXX_Unmarshal(b []byte) error
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"` }
GetTxRequest is the request type for the Service.GetTx RPC method.
func (*GetTxRequest) Descriptor ¶
func (*GetTxRequest) Descriptor() ([]byte, []int)
func (*GetTxRequest) GetHash ¶
func (m *GetTxRequest) GetHash() string
func (*GetTxRequest) Marshal ¶
func (m *GetTxRequest) Marshal() (dAtA []byte, err error)
func (*GetTxRequest) MarshalToSizedBuffer ¶
func (m *GetTxRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetTxRequest) ProtoMessage ¶
func (*GetTxRequest) ProtoMessage()
func (*GetTxRequest) Reset ¶
func (m *GetTxRequest) Reset()
func (*GetTxRequest) Size ¶
func (m *GetTxRequest) Size() (n int)
func (*GetTxRequest) String ¶
func (m *GetTxRequest) String() string
func (*GetTxRequest) Unmarshal ¶
func (m *GetTxRequest) Unmarshal(dAtA []byte) error
func (*GetTxRequest) XXX_DiscardUnknown ¶
func (m *GetTxRequest) XXX_DiscardUnknown()
func (*GetTxRequest) XXX_Marshal ¶
func (m *GetTxRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetTxRequest) XXX_Merge ¶
func (m *GetTxRequest) XXX_Merge(src proto.Message)
func (*GetTxRequest) XXX_Size ¶
func (m *GetTxRequest) XXX_Size() int
func (*GetTxRequest) XXX_Unmarshal ¶
func (m *GetTxRequest) XXX_Unmarshal(b []byte) error
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 *types.TxResponse `protobuf:"bytes,2,opt,name=tx_response,json=txResponse,proto3" json:"tx_response,omitempty"` }
GetTxResponse is the response type for the Service.GetTx method.
func (*GetTxResponse) Descriptor ¶
func (*GetTxResponse) Descriptor() ([]byte, []int)
func (*GetTxResponse) GetTx ¶
func (m *GetTxResponse) GetTx() *Tx
func (*GetTxResponse) GetTxResponse ¶
func (m *GetTxResponse) GetTxResponse() *types.TxResponse
func (*GetTxResponse) Marshal ¶
func (m *GetTxResponse) Marshal() (dAtA []byte, err error)
func (*GetTxResponse) MarshalToSizedBuffer ¶
func (m *GetTxResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetTxResponse) ProtoMessage ¶
func (*GetTxResponse) ProtoMessage()
func (*GetTxResponse) Reset ¶
func (m *GetTxResponse) Reset()
func (*GetTxResponse) Size ¶
func (m *GetTxResponse) Size() (n int)
func (*GetTxResponse) String ¶
func (m *GetTxResponse) String() string
func (*GetTxResponse) Unmarshal ¶
func (m *GetTxResponse) Unmarshal(dAtA []byte) error
func (*GetTxResponse) XXX_DiscardUnknown ¶
func (m *GetTxResponse) XXX_DiscardUnknown()
func (*GetTxResponse) XXX_Marshal ¶
func (m *GetTxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetTxResponse) XXX_Merge ¶
func (m *GetTxResponse) XXX_Merge(src proto.Message)
func (*GetTxResponse) XXX_Size ¶
func (m *GetTxResponse) XXX_Size() int
func (*GetTxResponse) XXX_Unmarshal ¶
func (m *GetTxResponse) XXX_Unmarshal(b []byte) error
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. Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // Deprecated: Do not use. 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"` }
GetTxsEventRequest is the request type for the Service.TxsByEvents RPC method.
func (*GetTxsEventRequest) Descriptor ¶
func (*GetTxsEventRequest) Descriptor() ([]byte, []int)
func (*GetTxsEventRequest) GetEvents ¶
func (m *GetTxsEventRequest) GetEvents() []string
func (*GetTxsEventRequest) GetLimit ¶
func (m *GetTxsEventRequest) GetLimit() uint64
func (*GetTxsEventRequest) GetOrderBy ¶
func (m *GetTxsEventRequest) GetOrderBy() OrderBy
func (*GetTxsEventRequest) GetPage ¶
func (m *GetTxsEventRequest) GetPage() uint64
func (*GetTxsEventRequest) GetPagination
deprecated
func (m *GetTxsEventRequest) GetPagination() *query.PageRequest
Deprecated: Do not use.
func (*GetTxsEventRequest) Marshal ¶
func (m *GetTxsEventRequest) Marshal() (dAtA []byte, err error)
func (*GetTxsEventRequest) MarshalTo ¶
func (m *GetTxsEventRequest) MarshalTo(dAtA []byte) (int, error)
func (*GetTxsEventRequest) MarshalToSizedBuffer ¶
func (m *GetTxsEventRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetTxsEventRequest) ProtoMessage ¶
func (*GetTxsEventRequest) ProtoMessage()
func (*GetTxsEventRequest) Reset ¶
func (m *GetTxsEventRequest) Reset()
func (*GetTxsEventRequest) Size ¶
func (m *GetTxsEventRequest) Size() (n int)
func (*GetTxsEventRequest) String ¶
func (m *GetTxsEventRequest) String() string
func (*GetTxsEventRequest) Unmarshal ¶
func (m *GetTxsEventRequest) Unmarshal(dAtA []byte) error
func (*GetTxsEventRequest) XXX_DiscardUnknown ¶
func (m *GetTxsEventRequest) XXX_DiscardUnknown()
func (*GetTxsEventRequest) XXX_Marshal ¶
func (m *GetTxsEventRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetTxsEventRequest) XXX_Merge ¶
func (m *GetTxsEventRequest) XXX_Merge(src proto.Message)
func (*GetTxsEventRequest) XXX_Size ¶
func (m *GetTxsEventRequest) XXX_Size() int
func (*GetTxsEventRequest) XXX_Unmarshal ¶
func (m *GetTxsEventRequest) XXX_Unmarshal(b []byte) error
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 []*types.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. Pagination *query.PageResponse `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` // Deprecated: Do not use. // total is total number of results available Total uint64 `protobuf:"varint,4,opt,name=total,proto3" json:"total,omitempty"` }
GetTxsEventResponse is the response type for the Service.TxsByEvents RPC method.
func (*GetTxsEventResponse) Descriptor ¶
func (*GetTxsEventResponse) Descriptor() ([]byte, []int)
func (*GetTxsEventResponse) GetPagination
deprecated
func (m *GetTxsEventResponse) GetPagination() *query.PageResponse
Deprecated: Do not use.
func (*GetTxsEventResponse) GetTotal ¶
func (m *GetTxsEventResponse) GetTotal() uint64
func (*GetTxsEventResponse) GetTxResponses ¶
func (m *GetTxsEventResponse) GetTxResponses() []*types.TxResponse
func (*GetTxsEventResponse) GetTxs ¶
func (m *GetTxsEventResponse) GetTxs() []*Tx
func (*GetTxsEventResponse) Marshal ¶
func (m *GetTxsEventResponse) Marshal() (dAtA []byte, err error)
func (*GetTxsEventResponse) MarshalTo ¶
func (m *GetTxsEventResponse) MarshalTo(dAtA []byte) (int, error)
func (*GetTxsEventResponse) MarshalToSizedBuffer ¶
func (m *GetTxsEventResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetTxsEventResponse) ProtoMessage ¶
func (*GetTxsEventResponse) ProtoMessage()
func (*GetTxsEventResponse) Reset ¶
func (m *GetTxsEventResponse) Reset()
func (*GetTxsEventResponse) Size ¶
func (m *GetTxsEventResponse) Size() (n int)
func (*GetTxsEventResponse) String ¶
func (m *GetTxsEventResponse) String() string
func (*GetTxsEventResponse) Unmarshal ¶
func (m *GetTxsEventResponse) Unmarshal(dAtA []byte) error
func (*GetTxsEventResponse) XXX_DiscardUnknown ¶
func (m *GetTxsEventResponse) XXX_DiscardUnknown()
func (*GetTxsEventResponse) XXX_Marshal ¶
func (m *GetTxsEventResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetTxsEventResponse) XXX_Merge ¶
func (m *GetTxsEventResponse) XXX_Merge(src proto.Message)
func (*GetTxsEventResponse) XXX_Size ¶
func (m *GetTxsEventResponse) XXX_Size() int
func (*GetTxsEventResponse) XXX_Unmarshal ¶
func (m *GetTxsEventResponse) XXX_Unmarshal(b []byte) error
type ModeInfo ¶
type ModeInfo struct { // sum is the oneof that specifies whether this represents a single or nested // multisig signer // // Types that are valid to be assigned to Sum: // // *ModeInfo_Single_ // *ModeInfo_Multi_ Sum isModeInfo_Sum `protobuf_oneof:"sum"` }
ModeInfo describes the signing mode of a single or nested multisig signer.
func (*ModeInfo) Descriptor ¶
func (*ModeInfo) GetMulti ¶
func (m *ModeInfo) GetMulti() *ModeInfo_Multi
func (*ModeInfo) GetSingle ¶
func (m *ModeInfo) GetSingle() *ModeInfo_Single
func (*ModeInfo) MarshalToSizedBuffer ¶
func (*ModeInfo) ProtoMessage ¶
func (*ModeInfo) ProtoMessage()
func (*ModeInfo) XXX_DiscardUnknown ¶
func (m *ModeInfo) XXX_DiscardUnknown()
func (*ModeInfo) XXX_Marshal ¶
func (*ModeInfo) XXX_OneofWrappers ¶
func (*ModeInfo) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*ModeInfo) XXX_Unmarshal ¶
type ModeInfo_Multi ¶
type ModeInfo_Multi struct { // bitarray specifies which keys within the multisig are signing Bitarray *types1.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"` }
Multi is the mode info for a multisig public key
func (*ModeInfo_Multi) Descriptor ¶
func (*ModeInfo_Multi) Descriptor() ([]byte, []int)
func (*ModeInfo_Multi) GetBitarray ¶
func (m *ModeInfo_Multi) GetBitarray() *types1.CompactBitArray
func (*ModeInfo_Multi) GetModeInfos ¶
func (m *ModeInfo_Multi) GetModeInfos() []*ModeInfo
func (*ModeInfo_Multi) Marshal ¶
func (m *ModeInfo_Multi) Marshal() (dAtA []byte, err error)
func (*ModeInfo_Multi) MarshalToSizedBuffer ¶
func (m *ModeInfo_Multi) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ModeInfo_Multi) ProtoMessage ¶
func (*ModeInfo_Multi) ProtoMessage()
func (*ModeInfo_Multi) Reset ¶
func (m *ModeInfo_Multi) Reset()
func (*ModeInfo_Multi) Size ¶
func (m *ModeInfo_Multi) Size() (n int)
func (*ModeInfo_Multi) String ¶
func (m *ModeInfo_Multi) String() string
func (*ModeInfo_Multi) Unmarshal ¶
func (m *ModeInfo_Multi) Unmarshal(dAtA []byte) error
func (*ModeInfo_Multi) XXX_DiscardUnknown ¶
func (m *ModeInfo_Multi) XXX_DiscardUnknown()
func (*ModeInfo_Multi) XXX_Marshal ¶
func (m *ModeInfo_Multi) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ModeInfo_Multi) XXX_Merge ¶
func (m *ModeInfo_Multi) XXX_Merge(src proto.Message)
func (*ModeInfo_Multi) XXX_Size ¶
func (m *ModeInfo_Multi) XXX_Size() int
func (*ModeInfo_Multi) XXX_Unmarshal ¶
func (m *ModeInfo_Multi) XXX_Unmarshal(b []byte) error
type ModeInfo_Multi_ ¶
type ModeInfo_Multi_ struct {
Multi *ModeInfo_Multi `protobuf:"bytes,2,opt,name=multi,proto3,oneof" json:"multi,omitempty"`
}
func (*ModeInfo_Multi_) MarshalToSizedBuffer ¶
func (m *ModeInfo_Multi_) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ModeInfo_Multi_) Size ¶
func (m *ModeInfo_Multi_) Size() (n int)
type ModeInfo_Single ¶
type ModeInfo_Single struct { // mode is the signing mode of the single signer Mode signing.SignMode `protobuf:"varint,1,opt,name=mode,proto3,enum=cosmos.tx.signing.v1beta1.SignMode" json:"mode,omitempty"` }
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 ¶
func (*ModeInfo_Single) Descriptor() ([]byte, []int)
func (*ModeInfo_Single) GetMode ¶
func (m *ModeInfo_Single) GetMode() signing.SignMode
func (*ModeInfo_Single) Marshal ¶
func (m *ModeInfo_Single) Marshal() (dAtA []byte, err error)
func (*ModeInfo_Single) MarshalToSizedBuffer ¶
func (m *ModeInfo_Single) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ModeInfo_Single) ProtoMessage ¶
func (*ModeInfo_Single) ProtoMessage()
func (*ModeInfo_Single) Reset ¶
func (m *ModeInfo_Single) Reset()
func (*ModeInfo_Single) Size ¶
func (m *ModeInfo_Single) Size() (n int)
func (*ModeInfo_Single) String ¶
func (m *ModeInfo_Single) String() string
func (*ModeInfo_Single) Unmarshal ¶
func (m *ModeInfo_Single) Unmarshal(dAtA []byte) error
func (*ModeInfo_Single) XXX_DiscardUnknown ¶
func (m *ModeInfo_Single) XXX_DiscardUnknown()
func (*ModeInfo_Single) XXX_Marshal ¶
func (m *ModeInfo_Single) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ModeInfo_Single) XXX_Merge ¶
func (m *ModeInfo_Single) XXX_Merge(src proto.Message)
func (*ModeInfo_Single) XXX_Size ¶
func (m *ModeInfo_Single) XXX_Size() int
func (*ModeInfo_Single) XXX_Unmarshal ¶
func (m *ModeInfo_Single) XXX_Unmarshal(b []byte) error
type ModeInfo_Single_ ¶
type ModeInfo_Single_ struct {
Single *ModeInfo_Single `protobuf:"bytes,1,opt,name=single,proto3,oneof" json:"single,omitempty"`
}
func (*ModeInfo_Single_) MarshalToSizedBuffer ¶
func (m *ModeInfo_Single_) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ModeInfo_Single_) Size ¶
func (m *ModeInfo_Single_) Size() (n int)
type MsgResponse ¶
type MsgResponse interface{}
MsgResponse is the interface all Msg server handlers' response types need to implement. It's the interface that's representing all Msg responses packed in Anys.
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://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewServiceClient ¶
func NewServiceClient(cc grpc1.ClientConn) 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) }
ServiceServer is the server API for Service service.
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"` }
SignDoc is the type used for generating sign bytes for SIGN_MODE_DIRECT.
func (*SignDoc) Descriptor ¶
func (*SignDoc) GetAccountNumber ¶
func (*SignDoc) GetAuthInfoBytes ¶
func (*SignDoc) GetBodyBytes ¶
func (*SignDoc) GetChainId ¶
func (*SignDoc) MarshalToSizedBuffer ¶
func (*SignDoc) ProtoMessage ¶
func (*SignDoc) ProtoMessage()
func (*SignDoc) XXX_DiscardUnknown ¶
func (m *SignDoc) XXX_DiscardUnknown()
func (*SignDoc) XXX_Marshal ¶
func (*SignDoc) XXX_Unmarshal ¶
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 *types.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"` }
SignDocDirectAux is the type used for generating sign bytes for SIGN_MODE_DIRECT_AUX.
Since: cosmos-sdk 0.46
func (*SignDocDirectAux) Descriptor ¶
func (*SignDocDirectAux) Descriptor() ([]byte, []int)
func (*SignDocDirectAux) GetAccountNumber ¶
func (m *SignDocDirectAux) GetAccountNumber() uint64
func (*SignDocDirectAux) GetBodyBytes ¶
func (m *SignDocDirectAux) GetBodyBytes() []byte
func (*SignDocDirectAux) GetChainId ¶
func (m *SignDocDirectAux) GetChainId() string
func (*SignDocDirectAux) GetPublicKey ¶
func (m *SignDocDirectAux) GetPublicKey() *types.Any
func (*SignDocDirectAux) GetSequence ¶
func (m *SignDocDirectAux) GetSequence() uint64
func (*SignDocDirectAux) GetTip ¶
func (m *SignDocDirectAux) GetTip() *Tip
func (*SignDocDirectAux) Marshal ¶
func (m *SignDocDirectAux) Marshal() (dAtA []byte, err error)
func (*SignDocDirectAux) MarshalToSizedBuffer ¶
func (m *SignDocDirectAux) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SignDocDirectAux) ProtoMessage ¶
func (*SignDocDirectAux) ProtoMessage()
func (*SignDocDirectAux) Reset ¶
func (m *SignDocDirectAux) Reset()
func (*SignDocDirectAux) Size ¶
func (m *SignDocDirectAux) Size() (n int)
func (*SignDocDirectAux) String ¶
func (m *SignDocDirectAux) String() string
func (*SignDocDirectAux) Unmarshal ¶
func (m *SignDocDirectAux) Unmarshal(dAtA []byte) error
func (*SignDocDirectAux) UnpackInterfaces ¶
func (s *SignDocDirectAux) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
UnpackInterfaces implements the UnpackInterfaceMessages.UnpackInterfaces method
func (*SignDocDirectAux) ValidateBasic ¶
func (s *SignDocDirectAux) ValidateBasic() error
ValidateBasic performs stateless validation of the sign doc.
func (*SignDocDirectAux) XXX_DiscardUnknown ¶
func (m *SignDocDirectAux) XXX_DiscardUnknown()
func (*SignDocDirectAux) XXX_Marshal ¶
func (m *SignDocDirectAux) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignDocDirectAux) XXX_Merge ¶
func (m *SignDocDirectAux) XXX_Merge(src proto.Message)
func (*SignDocDirectAux) XXX_Size ¶
func (m *SignDocDirectAux) XXX_Size() int
func (*SignDocDirectAux) XXX_Unmarshal ¶
func (m *SignDocDirectAux) XXX_Unmarshal(b []byte) error
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 *types.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"` }
SignerInfo describes the public key and signing mode of a single top-level signer.
func (*SignerInfo) Descriptor ¶
func (*SignerInfo) Descriptor() ([]byte, []int)
func (*SignerInfo) GetModeInfo ¶
func (m *SignerInfo) GetModeInfo() *ModeInfo
func (*SignerInfo) GetPublicKey ¶
func (m *SignerInfo) GetPublicKey() *types.Any
func (*SignerInfo) GetSequence ¶
func (m *SignerInfo) GetSequence() uint64
func (*SignerInfo) Marshal ¶
func (m *SignerInfo) Marshal() (dAtA []byte, err error)
func (*SignerInfo) MarshalToSizedBuffer ¶
func (m *SignerInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SignerInfo) ProtoMessage ¶
func (*SignerInfo) ProtoMessage()
func (*SignerInfo) Reset ¶
func (m *SignerInfo) Reset()
func (*SignerInfo) Size ¶
func (m *SignerInfo) Size() (n int)
func (*SignerInfo) String ¶
func (m *SignerInfo) String() string
func (*SignerInfo) Unmarshal ¶
func (m *SignerInfo) Unmarshal(dAtA []byte) error
func (*SignerInfo) UnpackInterfaces ¶
func (m *SignerInfo) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
UnpackInterfaces implements the UnpackInterfaceMessages.UnpackInterfaces method
func (*SignerInfo) XXX_DiscardUnknown ¶
func (m *SignerInfo) XXX_DiscardUnknown()
func (*SignerInfo) XXX_Marshal ¶
func (m *SignerInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignerInfo) XXX_Merge ¶
func (m *SignerInfo) XXX_Merge(src proto.Message)
func (*SignerInfo) XXX_Size ¶
func (m *SignerInfo) XXX_Size() int
func (*SignerInfo) XXX_Unmarshal ¶
func (m *SignerInfo) XXX_Unmarshal(b []byte) error
type SimulateRequest ¶
type SimulateRequest struct { // tx is the transaction to simulate. // Deprecated. Send raw tx bytes instead. Tx *Tx `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"` // Deprecated: Do not use. // 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"` }
SimulateRequest is the request type for the Service.Simulate RPC method.
func (*SimulateRequest) Descriptor ¶
func (*SimulateRequest) Descriptor() ([]byte, []int)
func (*SimulateRequest) GetTx
deprecated
func (m *SimulateRequest) GetTx() *Tx
Deprecated: Do not use.
func (*SimulateRequest) GetTxBytes ¶
func (m *SimulateRequest) GetTxBytes() []byte
func (*SimulateRequest) Marshal ¶
func (m *SimulateRequest) Marshal() (dAtA []byte, err error)
func (*SimulateRequest) MarshalToSizedBuffer ¶
func (m *SimulateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SimulateRequest) ProtoMessage ¶
func (*SimulateRequest) ProtoMessage()
func (*SimulateRequest) Reset ¶
func (m *SimulateRequest) Reset()
func (*SimulateRequest) Size ¶
func (m *SimulateRequest) Size() (n int)
func (*SimulateRequest) String ¶
func (m *SimulateRequest) String() string
func (*SimulateRequest) Unmarshal ¶
func (m *SimulateRequest) Unmarshal(dAtA []byte) error
func (*SimulateRequest) XXX_DiscardUnknown ¶
func (m *SimulateRequest) XXX_DiscardUnknown()
func (*SimulateRequest) XXX_Marshal ¶
func (m *SimulateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SimulateRequest) XXX_Merge ¶
func (m *SimulateRequest) XXX_Merge(src proto.Message)
func (*SimulateRequest) XXX_Size ¶
func (m *SimulateRequest) XXX_Size() int
func (*SimulateRequest) XXX_Unmarshal ¶
func (m *SimulateRequest) XXX_Unmarshal(b []byte) error
type SimulateResponse ¶
type SimulateResponse struct { // gas_info is the information about gas used in the simulation. GasInfo *types.GasInfo `protobuf:"bytes,1,opt,name=gas_info,json=gasInfo,proto3" json:"gas_info,omitempty"` // result is the result of the simulation. Result *types.Result `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"` }
SimulateResponse is the response type for the Service.SimulateRPC method.
func (*SimulateResponse) Descriptor ¶
func (*SimulateResponse) Descriptor() ([]byte, []int)
func (*SimulateResponse) GetGasInfo ¶
func (m *SimulateResponse) GetGasInfo() *types.GasInfo
func (*SimulateResponse) GetResult ¶
func (m *SimulateResponse) GetResult() *types.Result
func (*SimulateResponse) Marshal ¶
func (m *SimulateResponse) Marshal() (dAtA []byte, err error)
func (*SimulateResponse) MarshalToSizedBuffer ¶
func (m *SimulateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SimulateResponse) ProtoMessage ¶
func (*SimulateResponse) ProtoMessage()
func (*SimulateResponse) Reset ¶
func (m *SimulateResponse) Reset()
func (*SimulateResponse) Size ¶
func (m *SimulateResponse) Size() (n int)
func (*SimulateResponse) String ¶
func (m *SimulateResponse) String() string
func (*SimulateResponse) Unmarshal ¶
func (m *SimulateResponse) Unmarshal(dAtA []byte) error
func (*SimulateResponse) XXX_DiscardUnknown ¶
func (m *SimulateResponse) XXX_DiscardUnknown()
func (*SimulateResponse) XXX_Marshal ¶
func (m *SimulateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SimulateResponse) XXX_Merge ¶
func (m *SimulateResponse) XXX_Merge(src proto.Message)
func (*SimulateResponse) XXX_Size ¶
func (m *SimulateResponse) XXX_Size() int
func (*SimulateResponse) XXX_Unmarshal ¶
func (m *SimulateResponse) XXX_Unmarshal(b []byte) error
type Tip ¶
type Tip struct { // amount is the amount of the tip Amount github_com_cosmos_cosmos_sdk_types.Coins `protobuf:"bytes,1,rep,name=amount,proto3,castrepeated=github.com/cosmos/cosmos-sdk/types.Coins" json:"amount"` // tipper is the address of the account paying for the tip Tipper string `protobuf:"bytes,2,opt,name=tipper,proto3" json:"tipper,omitempty"` }
Tip is the tip used for meta-transactions.
Since: cosmos-sdk 0.46
func (*Tip) Descriptor ¶
func (*Tip) GetAmount ¶
func (m *Tip) GetAmount() github_com_cosmos_cosmos_sdk_types.Coins
func (*Tip) ProtoMessage ¶
func (*Tip) ProtoMessage()
func (*Tip) XXX_DiscardUnknown ¶
func (m *Tip) XXX_DiscardUnknown()
func (*Tip) XXX_Unmarshal ¶
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"` }
Tx is the standard type used for broadcasting transactions.
func (*Tx) Descriptor ¶
func (*Tx) FeeGranter ¶
func (t *Tx) FeeGranter() sdk.AccAddress
func (*Tx) FeePayer ¶
func (t *Tx) FeePayer() sdk.AccAddress
func (*Tx) GetAuthInfo ¶
func (*Tx) GetSignatures ¶
func (*Tx) GetSigners ¶
func (t *Tx) GetSigners() []sdk.AccAddress
GetSigners retrieves all the signers of a tx. This includes all unique signers of the messages (in order), as well as the FeePayer (if specified and not already included).
func (*Tx) ProtoMessage ¶
func (*Tx) ProtoMessage()
func (*Tx) UnpackInterfaces ¶
func (t *Tx) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
UnpackInterfaces implements the UnpackInterfaceMessages.UnpackInterfaces method
func (*Tx) ValidateBasic ¶
ValidateBasic implements the ValidateBasic method on sdk.Tx.
func (*Tx) XXX_DiscardUnknown ¶
func (m *Tx) XXX_DiscardUnknown()
func (*Tx) XXX_Unmarshal ¶
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 []*types.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 []*types.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 []*types.Any `` /* 149-byte string literal not displayed */ }
TxBody is the body of a transaction that all signers sign over.
func (*TxBody) Descriptor ¶
func (*TxBody) GetExtensionOptions ¶
func (*TxBody) GetMessages ¶
func (*TxBody) GetNonCriticalExtensionOptions ¶
func (*TxBody) GetTimeoutHeight ¶
func (*TxBody) MarshalToSizedBuffer ¶
func (*TxBody) ProtoMessage ¶
func (*TxBody) ProtoMessage()
func (*TxBody) UnpackInterfaces ¶
func (m *TxBody) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
UnpackInterfaces implements the UnpackInterfaceMessages.UnpackInterfaces method
func (*TxBody) XXX_DiscardUnknown ¶
func (m *TxBody) XXX_DiscardUnknown()
func (*TxBody) XXX_Marshal ¶
func (*TxBody) XXX_Unmarshal ¶
type TxDecodeAminoRequest ¶
type TxDecodeAminoRequest struct {
AminoBinary []byte `protobuf:"bytes,1,opt,name=amino_binary,json=aminoBinary,proto3" json:"amino_binary,omitempty"`
}
TxDecodeAminoRequest is the request type for the Service.TxDecodeAmino RPC method.
Since: cosmos-sdk 0.47
func (*TxDecodeAminoRequest) Descriptor ¶
func (*TxDecodeAminoRequest) Descriptor() ([]byte, []int)
func (*TxDecodeAminoRequest) GetAminoBinary ¶
func (m *TxDecodeAminoRequest) GetAminoBinary() []byte
func (*TxDecodeAminoRequest) Marshal ¶
func (m *TxDecodeAminoRequest) Marshal() (dAtA []byte, err error)
func (*TxDecodeAminoRequest) MarshalTo ¶
func (m *TxDecodeAminoRequest) MarshalTo(dAtA []byte) (int, error)
func (*TxDecodeAminoRequest) MarshalToSizedBuffer ¶
func (m *TxDecodeAminoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TxDecodeAminoRequest) ProtoMessage ¶
func (*TxDecodeAminoRequest) ProtoMessage()
func (*TxDecodeAminoRequest) Reset ¶
func (m *TxDecodeAminoRequest) Reset()
func (*TxDecodeAminoRequest) Size ¶
func (m *TxDecodeAminoRequest) Size() (n int)
func (*TxDecodeAminoRequest) String ¶
func (m *TxDecodeAminoRequest) String() string
func (*TxDecodeAminoRequest) Unmarshal ¶
func (m *TxDecodeAminoRequest) Unmarshal(dAtA []byte) error
func (*TxDecodeAminoRequest) XXX_DiscardUnknown ¶
func (m *TxDecodeAminoRequest) XXX_DiscardUnknown()
func (*TxDecodeAminoRequest) XXX_Marshal ¶
func (m *TxDecodeAminoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TxDecodeAminoRequest) XXX_Merge ¶
func (m *TxDecodeAminoRequest) XXX_Merge(src proto.Message)
func (*TxDecodeAminoRequest) XXX_Size ¶
func (m *TxDecodeAminoRequest) XXX_Size() int
func (*TxDecodeAminoRequest) XXX_Unmarshal ¶
func (m *TxDecodeAminoRequest) XXX_Unmarshal(b []byte) error
type TxDecodeAminoResponse ¶
type TxDecodeAminoResponse struct {
AminoJson string `protobuf:"bytes,1,opt,name=amino_json,json=aminoJson,proto3" json:"amino_json,omitempty"`
}
TxDecodeAminoResponse is the response type for the Service.TxDecodeAmino RPC method.
Since: cosmos-sdk 0.47
func (*TxDecodeAminoResponse) Descriptor ¶
func (*TxDecodeAminoResponse) Descriptor() ([]byte, []int)
func (*TxDecodeAminoResponse) GetAminoJson ¶
func (m *TxDecodeAminoResponse) GetAminoJson() string
func (*TxDecodeAminoResponse) Marshal ¶
func (m *TxDecodeAminoResponse) Marshal() (dAtA []byte, err error)
func (*TxDecodeAminoResponse) MarshalTo ¶
func (m *TxDecodeAminoResponse) MarshalTo(dAtA []byte) (int, error)
func (*TxDecodeAminoResponse) MarshalToSizedBuffer ¶
func (m *TxDecodeAminoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TxDecodeAminoResponse) ProtoMessage ¶
func (*TxDecodeAminoResponse) ProtoMessage()
func (*TxDecodeAminoResponse) Reset ¶
func (m *TxDecodeAminoResponse) Reset()
func (*TxDecodeAminoResponse) Size ¶
func (m *TxDecodeAminoResponse) Size() (n int)
func (*TxDecodeAminoResponse) String ¶
func (m *TxDecodeAminoResponse) String() string
func (*TxDecodeAminoResponse) Unmarshal ¶
func (m *TxDecodeAminoResponse) Unmarshal(dAtA []byte) error
func (*TxDecodeAminoResponse) XXX_DiscardUnknown ¶
func (m *TxDecodeAminoResponse) XXX_DiscardUnknown()
func (*TxDecodeAminoResponse) XXX_Marshal ¶
func (m *TxDecodeAminoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TxDecodeAminoResponse) XXX_Merge ¶
func (m *TxDecodeAminoResponse) XXX_Merge(src proto.Message)
func (*TxDecodeAminoResponse) XXX_Size ¶
func (m *TxDecodeAminoResponse) XXX_Size() int
func (*TxDecodeAminoResponse) XXX_Unmarshal ¶
func (m *TxDecodeAminoResponse) XXX_Unmarshal(b []byte) error
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"` }
TxDecodeRequest is the request type for the Service.TxDecode RPC method.
Since: cosmos-sdk 0.47
func (*TxDecodeRequest) Descriptor ¶
func (*TxDecodeRequest) Descriptor() ([]byte, []int)
func (*TxDecodeRequest) GetTxBytes ¶
func (m *TxDecodeRequest) GetTxBytes() []byte
func (*TxDecodeRequest) Marshal ¶
func (m *TxDecodeRequest) Marshal() (dAtA []byte, err error)
func (*TxDecodeRequest) MarshalToSizedBuffer ¶
func (m *TxDecodeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TxDecodeRequest) ProtoMessage ¶
func (*TxDecodeRequest) ProtoMessage()
func (*TxDecodeRequest) Reset ¶
func (m *TxDecodeRequest) Reset()
func (*TxDecodeRequest) Size ¶
func (m *TxDecodeRequest) Size() (n int)
func (*TxDecodeRequest) String ¶
func (m *TxDecodeRequest) String() string
func (*TxDecodeRequest) Unmarshal ¶
func (m *TxDecodeRequest) Unmarshal(dAtA []byte) error
func (*TxDecodeRequest) XXX_DiscardUnknown ¶
func (m *TxDecodeRequest) XXX_DiscardUnknown()
func (*TxDecodeRequest) XXX_Marshal ¶
func (m *TxDecodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TxDecodeRequest) XXX_Merge ¶
func (m *TxDecodeRequest) XXX_Merge(src proto.Message)
func (*TxDecodeRequest) XXX_Size ¶
func (m *TxDecodeRequest) XXX_Size() int
func (*TxDecodeRequest) XXX_Unmarshal ¶
func (m *TxDecodeRequest) XXX_Unmarshal(b []byte) error
type TxDecodeResponse ¶
type TxDecodeResponse struct { // tx is the decoded transaction. Tx *Tx `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"` }
TxDecodeResponse is the response type for the Service.TxDecode method.
Since: cosmos-sdk 0.47
func (*TxDecodeResponse) Descriptor ¶
func (*TxDecodeResponse) Descriptor() ([]byte, []int)
func (*TxDecodeResponse) GetTx ¶
func (m *TxDecodeResponse) GetTx() *Tx
func (*TxDecodeResponse) Marshal ¶
func (m *TxDecodeResponse) Marshal() (dAtA []byte, err error)
func (*TxDecodeResponse) MarshalToSizedBuffer ¶
func (m *TxDecodeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TxDecodeResponse) ProtoMessage ¶
func (*TxDecodeResponse) ProtoMessage()
func (*TxDecodeResponse) Reset ¶
func (m *TxDecodeResponse) Reset()
func (*TxDecodeResponse) Size ¶
func (m *TxDecodeResponse) Size() (n int)
func (*TxDecodeResponse) String ¶
func (m *TxDecodeResponse) String() string
func (*TxDecodeResponse) Unmarshal ¶
func (m *TxDecodeResponse) Unmarshal(dAtA []byte) error
func (*TxDecodeResponse) XXX_DiscardUnknown ¶
func (m *TxDecodeResponse) XXX_DiscardUnknown()
func (*TxDecodeResponse) XXX_Marshal ¶
func (m *TxDecodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TxDecodeResponse) XXX_Merge ¶
func (m *TxDecodeResponse) XXX_Merge(src proto.Message)
func (*TxDecodeResponse) XXX_Size ¶
func (m *TxDecodeResponse) XXX_Size() int
func (*TxDecodeResponse) XXX_Unmarshal ¶
func (m *TxDecodeResponse) XXX_Unmarshal(b []byte) error
type TxEncodeAminoRequest ¶
type TxEncodeAminoRequest struct {
AminoJson string `protobuf:"bytes,1,opt,name=amino_json,json=aminoJson,proto3" json:"amino_json,omitempty"`
}
TxEncodeAminoRequest is the request type for the Service.TxEncodeAmino RPC method.
Since: cosmos-sdk 0.47
func (*TxEncodeAminoRequest) Descriptor ¶
func (*TxEncodeAminoRequest) Descriptor() ([]byte, []int)
func (*TxEncodeAminoRequest) GetAminoJson ¶
func (m *TxEncodeAminoRequest) GetAminoJson() string
func (*TxEncodeAminoRequest) Marshal ¶
func (m *TxEncodeAminoRequest) Marshal() (dAtA []byte, err error)
func (*TxEncodeAminoRequest) MarshalTo ¶
func (m *TxEncodeAminoRequest) MarshalTo(dAtA []byte) (int, error)
func (*TxEncodeAminoRequest) MarshalToSizedBuffer ¶
func (m *TxEncodeAminoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TxEncodeAminoRequest) ProtoMessage ¶
func (*TxEncodeAminoRequest) ProtoMessage()
func (*TxEncodeAminoRequest) Reset ¶
func (m *TxEncodeAminoRequest) Reset()
func (*TxEncodeAminoRequest) Size ¶
func (m *TxEncodeAminoRequest) Size() (n int)
func (*TxEncodeAminoRequest) String ¶
func (m *TxEncodeAminoRequest) String() string
func (*TxEncodeAminoRequest) Unmarshal ¶
func (m *TxEncodeAminoRequest) Unmarshal(dAtA []byte) error
func (*TxEncodeAminoRequest) XXX_DiscardUnknown ¶
func (m *TxEncodeAminoRequest) XXX_DiscardUnknown()
func (*TxEncodeAminoRequest) XXX_Marshal ¶
func (m *TxEncodeAminoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TxEncodeAminoRequest) XXX_Merge ¶
func (m *TxEncodeAminoRequest) XXX_Merge(src proto.Message)
func (*TxEncodeAminoRequest) XXX_Size ¶
func (m *TxEncodeAminoRequest) XXX_Size() int
func (*TxEncodeAminoRequest) XXX_Unmarshal ¶
func (m *TxEncodeAminoRequest) XXX_Unmarshal(b []byte) error
type TxEncodeAminoResponse ¶
type TxEncodeAminoResponse struct {
AminoBinary []byte `protobuf:"bytes,1,opt,name=amino_binary,json=aminoBinary,proto3" json:"amino_binary,omitempty"`
}
TxEncodeAminoResponse is the response type for the Service.TxEncodeAmino RPC method.
Since: cosmos-sdk 0.47
func (*TxEncodeAminoResponse) Descriptor ¶
func (*TxEncodeAminoResponse) Descriptor() ([]byte, []int)
func (*TxEncodeAminoResponse) GetAminoBinary ¶
func (m *TxEncodeAminoResponse) GetAminoBinary() []byte
func (*TxEncodeAminoResponse) Marshal ¶
func (m *TxEncodeAminoResponse) Marshal() (dAtA []byte, err error)
func (*TxEncodeAminoResponse) MarshalTo ¶
func (m *TxEncodeAminoResponse) MarshalTo(dAtA []byte) (int, error)
func (*TxEncodeAminoResponse) MarshalToSizedBuffer ¶
func (m *TxEncodeAminoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TxEncodeAminoResponse) ProtoMessage ¶
func (*TxEncodeAminoResponse) ProtoMessage()
func (*TxEncodeAminoResponse) Reset ¶
func (m *TxEncodeAminoResponse) Reset()
func (*TxEncodeAminoResponse) Size ¶
func (m *TxEncodeAminoResponse) Size() (n int)
func (*TxEncodeAminoResponse) String ¶
func (m *TxEncodeAminoResponse) String() string
func (*TxEncodeAminoResponse) Unmarshal ¶
func (m *TxEncodeAminoResponse) Unmarshal(dAtA []byte) error
func (*TxEncodeAminoResponse) XXX_DiscardUnknown ¶
func (m *TxEncodeAminoResponse) XXX_DiscardUnknown()
func (*TxEncodeAminoResponse) XXX_Marshal ¶
func (m *TxEncodeAminoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TxEncodeAminoResponse) XXX_Merge ¶
func (m *TxEncodeAminoResponse) XXX_Merge(src proto.Message)
func (*TxEncodeAminoResponse) XXX_Size ¶
func (m *TxEncodeAminoResponse) XXX_Size() int
func (*TxEncodeAminoResponse) XXX_Unmarshal ¶
func (m *TxEncodeAminoResponse) XXX_Unmarshal(b []byte) error
type TxEncodeRequest ¶
type TxEncodeRequest struct { // tx is the transaction to encode. Tx *Tx `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"` }
TxEncodeRequest is the request type for the Service.TxEncode RPC method.
Since: cosmos-sdk 0.47
func (*TxEncodeRequest) Descriptor ¶
func (*TxEncodeRequest) Descriptor() ([]byte, []int)
func (*TxEncodeRequest) GetTx ¶
func (m *TxEncodeRequest) GetTx() *Tx
func (*TxEncodeRequest) Marshal ¶
func (m *TxEncodeRequest) Marshal() (dAtA []byte, err error)
func (*TxEncodeRequest) MarshalToSizedBuffer ¶
func (m *TxEncodeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TxEncodeRequest) ProtoMessage ¶
func (*TxEncodeRequest) ProtoMessage()
func (*TxEncodeRequest) Reset ¶
func (m *TxEncodeRequest) Reset()
func (*TxEncodeRequest) Size ¶
func (m *TxEncodeRequest) Size() (n int)
func (*TxEncodeRequest) String ¶
func (m *TxEncodeRequest) String() string
func (*TxEncodeRequest) Unmarshal ¶
func (m *TxEncodeRequest) Unmarshal(dAtA []byte) error
func (*TxEncodeRequest) XXX_DiscardUnknown ¶
func (m *TxEncodeRequest) XXX_DiscardUnknown()
func (*TxEncodeRequest) XXX_Marshal ¶
func (m *TxEncodeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TxEncodeRequest) XXX_Merge ¶
func (m *TxEncodeRequest) XXX_Merge(src proto.Message)
func (*TxEncodeRequest) XXX_Size ¶
func (m *TxEncodeRequest) XXX_Size() int
func (*TxEncodeRequest) XXX_Unmarshal ¶
func (m *TxEncodeRequest) XXX_Unmarshal(b []byte) error
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"` }
TxEncodeResponse is the response type for the Service.TxEncode method.
Since: cosmos-sdk 0.47
func (*TxEncodeResponse) Descriptor ¶
func (*TxEncodeResponse) Descriptor() ([]byte, []int)
func (*TxEncodeResponse) GetTxBytes ¶
func (m *TxEncodeResponse) GetTxBytes() []byte
func (*TxEncodeResponse) Marshal ¶
func (m *TxEncodeResponse) Marshal() (dAtA []byte, err error)
func (*TxEncodeResponse) MarshalToSizedBuffer ¶
func (m *TxEncodeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TxEncodeResponse) ProtoMessage ¶
func (*TxEncodeResponse) ProtoMessage()
func (*TxEncodeResponse) Reset ¶
func (m *TxEncodeResponse) Reset()
func (*TxEncodeResponse) Size ¶
func (m *TxEncodeResponse) Size() (n int)
func (*TxEncodeResponse) String ¶
func (m *TxEncodeResponse) String() string
func (*TxEncodeResponse) Unmarshal ¶
func (m *TxEncodeResponse) Unmarshal(dAtA []byte) error
func (*TxEncodeResponse) XXX_DiscardUnknown ¶
func (m *TxEncodeResponse) XXX_DiscardUnknown()
func (*TxEncodeResponse) XXX_Marshal ¶
func (m *TxEncodeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TxEncodeResponse) XXX_Merge ¶
func (m *TxEncodeResponse) XXX_Merge(src proto.Message)
func (*TxEncodeResponse) XXX_Size ¶
func (m *TxEncodeResponse) XXX_Size() int
func (*TxEncodeResponse) XXX_Unmarshal ¶
func (m *TxEncodeResponse) XXX_Unmarshal(b []byte) error
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"` }
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 ¶
func (*TxRaw) GetAuthInfoBytes ¶
func (*TxRaw) GetBodyBytes ¶
func (*TxRaw) GetSignatures ¶
func (*TxRaw) ProtoMessage ¶
func (*TxRaw) ProtoMessage()
func (*TxRaw) XXX_DiscardUnknown ¶
func (m *TxRaw) XXX_DiscardUnknown()
func (*TxRaw) XXX_Marshal ¶
func (*TxRaw) XXX_Unmarshal ¶
type UnimplementedServiceServer ¶
type UnimplementedServiceServer struct { }
UnimplementedServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedServiceServer) BroadcastTx ¶
func (*UnimplementedServiceServer) BroadcastTx(ctx context.Context, req *BroadcastTxRequest) (*BroadcastTxResponse, error)
func (*UnimplementedServiceServer) GetBlockWithTxs ¶
func (*UnimplementedServiceServer) GetBlockWithTxs(ctx context.Context, req *GetBlockWithTxsRequest) (*GetBlockWithTxsResponse, error)
func (*UnimplementedServiceServer) GetTx ¶
func (*UnimplementedServiceServer) GetTx(ctx context.Context, req *GetTxRequest) (*GetTxResponse, error)
func (*UnimplementedServiceServer) GetTxsEvent ¶
func (*UnimplementedServiceServer) GetTxsEvent(ctx context.Context, req *GetTxsEventRequest) (*GetTxsEventResponse, error)
func (*UnimplementedServiceServer) Simulate ¶
func (*UnimplementedServiceServer) Simulate(ctx context.Context, req *SimulateRequest) (*SimulateResponse, error)
func (*UnimplementedServiceServer) TxDecode ¶
func (*UnimplementedServiceServer) TxDecode(ctx context.Context, req *TxDecodeRequest) (*TxDecodeResponse, error)
func (*UnimplementedServiceServer) TxDecodeAmino ¶
func (*UnimplementedServiceServer) TxDecodeAmino(ctx context.Context, req *TxDecodeAminoRequest) (*TxDecodeAminoResponse, error)
func (*UnimplementedServiceServer) TxEncode ¶
func (*UnimplementedServiceServer) TxEncode(ctx context.Context, req *TxEncodeRequest) (*TxEncodeResponse, error)
func (*UnimplementedServiceServer) TxEncodeAmino ¶
func (*UnimplementedServiceServer) TxEncodeAmino(ctx context.Context, req *TxEncodeAminoRequest) (*TxEncodeAminoResponse, error)