Documentation ¶
Overview ¶
Package injective_exchange_rpcpb is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterInjectiveExchangeRPCHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterInjectiveExchangeRPCHandlerClient(ctx context.Context, mux *runtime.ServeMux, client InjectiveExchangeRPCClient) error
- func RegisterInjectiveExchangeRPCHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterInjectiveExchangeRPCHandlerServer(ctx context.Context, mux *runtime.ServeMux, server InjectiveExchangeRPCServer) error
- func RegisterInjectiveExchangeRPCServer(s grpc.ServiceRegistrar, srv InjectiveExchangeRPCServer)
- type BroadcastCosmosTxRequest
- func (*BroadcastCosmosTxRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BroadcastCosmosTxRequest) GetPubKey() *CosmosPubKey
- func (x *BroadcastCosmosTxRequest) GetSenderAddress() string
- func (x *BroadcastCosmosTxRequest) GetSignature() string
- func (x *BroadcastCosmosTxRequest) GetTx() []byte
- func (*BroadcastCosmosTxRequest) ProtoMessage()
- func (x *BroadcastCosmosTxRequest) ProtoReflect() protoreflect.Message
- func (x *BroadcastCosmosTxRequest) Reset()
- func (x *BroadcastCosmosTxRequest) String() string
- type BroadcastCosmosTxResponse
- func (*BroadcastCosmosTxResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BroadcastCosmosTxResponse) GetCode() uint32
- func (x *BroadcastCosmosTxResponse) GetCodespace() string
- func (x *BroadcastCosmosTxResponse) GetData() []byte
- func (x *BroadcastCosmosTxResponse) GetHeight() int64
- func (x *BroadcastCosmosTxResponse) GetIndex() uint32
- func (x *BroadcastCosmosTxResponse) GetRawLog() string
- func (x *BroadcastCosmosTxResponse) GetTimestamp() string
- func (x *BroadcastCosmosTxResponse) GetTxHash() string
- func (*BroadcastCosmosTxResponse) ProtoMessage()
- func (x *BroadcastCosmosTxResponse) ProtoReflect() protoreflect.Message
- func (x *BroadcastCosmosTxResponse) Reset()
- func (x *BroadcastCosmosTxResponse) String() string
- type BroadcastTxRequest
- func (*BroadcastTxRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BroadcastTxRequest) GetChainId() uint64
- func (x *BroadcastTxRequest) GetFeePayer() string
- func (x *BroadcastTxRequest) GetFeePayerSig() string
- func (x *BroadcastTxRequest) GetMode() string
- func (x *BroadcastTxRequest) GetMsgs() [][]byte
- func (x *BroadcastTxRequest) GetPubKey() *CosmosPubKey
- func (x *BroadcastTxRequest) GetSignature() string
- func (x *BroadcastTxRequest) GetTx() []byte
- func (*BroadcastTxRequest) ProtoMessage()
- func (x *BroadcastTxRequest) ProtoReflect() protoreflect.Message
- func (x *BroadcastTxRequest) Reset()
- func (x *BroadcastTxRequest) String() string
- type BroadcastTxResponse
- func (*BroadcastTxResponse) Descriptor() ([]byte, []int)deprecated
- func (x *BroadcastTxResponse) GetCode() uint32
- func (x *BroadcastTxResponse) GetCodespace() string
- func (x *BroadcastTxResponse) GetData() []byte
- func (x *BroadcastTxResponse) GetHeight() int64
- func (x *BroadcastTxResponse) GetIndex() uint32
- func (x *BroadcastTxResponse) GetRawLog() string
- func (x *BroadcastTxResponse) GetTimestamp() string
- func (x *BroadcastTxResponse) GetTxHash() string
- func (*BroadcastTxResponse) ProtoMessage()
- func (x *BroadcastTxResponse) ProtoReflect() protoreflect.Message
- func (x *BroadcastTxResponse) Reset()
- func (x *BroadcastTxResponse) String() string
- type CosmosCoin
- type CosmosPubKey
- func (*CosmosPubKey) Descriptor() ([]byte, []int)deprecated
- func (x *CosmosPubKey) GetKey() string
- func (x *CosmosPubKey) GetType() string
- func (*CosmosPubKey) ProtoMessage()
- func (x *CosmosPubKey) ProtoReflect() protoreflect.Message
- func (x *CosmosPubKey) Reset()
- func (x *CosmosPubKey) String() string
- type CosmosTxFee
- func (*CosmosTxFee) Descriptor() ([]byte, []int)deprecated
- func (x *CosmosTxFee) GetDelegateFee() bool
- func (x *CosmosTxFee) GetGas() uint64
- func (x *CosmosTxFee) GetPrice() []*CosmosCoin
- func (*CosmosTxFee) ProtoMessage()
- func (x *CosmosTxFee) ProtoReflect() protoreflect.Message
- func (x *CosmosTxFee) Reset()
- func (x *CosmosTxFee) String() string
- type GetFeePayerRequest
- type GetFeePayerResponse
- func (*GetFeePayerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetFeePayerResponse) GetFeePayer() string
- func (x *GetFeePayerResponse) GetFeePayerPubKey() *CosmosPubKey
- func (*GetFeePayerResponse) ProtoMessage()
- func (x *GetFeePayerResponse) ProtoReflect() protoreflect.Message
- func (x *GetFeePayerResponse) Reset()
- func (x *GetFeePayerResponse) String() string
- type GetTxRequest
- type GetTxResponse
- func (*GetTxResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetTxResponse) GetCode() uint32
- func (x *GetTxResponse) GetCodespace() string
- func (x *GetTxResponse) GetData() []byte
- func (x *GetTxResponse) GetHeight() int64
- func (x *GetTxResponse) GetIndex() uint32
- func (x *GetTxResponse) GetRawLog() string
- func (x *GetTxResponse) GetTimestamp() string
- func (x *GetTxResponse) GetTxHash() string
- func (*GetTxResponse) ProtoMessage()
- func (x *GetTxResponse) ProtoReflect() protoreflect.Message
- func (x *GetTxResponse) Reset()
- func (x *GetTxResponse) String() string
- type InjectiveExchangeRPCClient
- type InjectiveExchangeRPCServer
- type PrepareCosmosTxRequest
- func (*PrepareCosmosTxRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PrepareCosmosTxRequest) GetChainId() uint64
- func (x *PrepareCosmosTxRequest) GetFee() *CosmosTxFee
- func (x *PrepareCosmosTxRequest) GetMemo() string
- func (x *PrepareCosmosTxRequest) GetMsgs() [][]byte
- func (x *PrepareCosmosTxRequest) GetSenderAddress() string
- func (x *PrepareCosmosTxRequest) GetTimeoutHeight() uint64
- func (*PrepareCosmosTxRequest) ProtoMessage()
- func (x *PrepareCosmosTxRequest) ProtoReflect() protoreflect.Message
- func (x *PrepareCosmosTxRequest) Reset()
- func (x *PrepareCosmosTxRequest) String() string
- type PrepareCosmosTxResponse
- func (*PrepareCosmosTxResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PrepareCosmosTxResponse) GetFeePayer() string
- func (x *PrepareCosmosTxResponse) GetFeePayerPubKey() *CosmosPubKey
- func (x *PrepareCosmosTxResponse) GetFeePayerSig() string
- func (x *PrepareCosmosTxResponse) GetPubKeyType() string
- func (x *PrepareCosmosTxResponse) GetSignMode() string
- func (x *PrepareCosmosTxResponse) GetTx() []byte
- func (*PrepareCosmosTxResponse) ProtoMessage()
- func (x *PrepareCosmosTxResponse) ProtoReflect() protoreflect.Message
- func (x *PrepareCosmosTxResponse) Reset()
- func (x *PrepareCosmosTxResponse) String() string
- type PrepareTxRequest
- func (*PrepareTxRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PrepareTxRequest) GetChainId() uint64
- func (x *PrepareTxRequest) GetEip712Wrapper() string
- func (x *PrepareTxRequest) GetFee() *CosmosTxFee
- func (x *PrepareTxRequest) GetMemo() string
- func (x *PrepareTxRequest) GetMsgs() [][]byte
- func (x *PrepareTxRequest) GetSequence() uint64
- func (x *PrepareTxRequest) GetSignerAddress() string
- func (x *PrepareTxRequest) GetTimeoutHeight() uint64
- func (*PrepareTxRequest) ProtoMessage()
- func (x *PrepareTxRequest) ProtoReflect() protoreflect.Message
- func (x *PrepareTxRequest) Reset()
- func (x *PrepareTxRequest) String() string
- type PrepareTxResponse
- func (*PrepareTxResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PrepareTxResponse) GetData() string
- func (x *PrepareTxResponse) GetFeePayer() string
- func (x *PrepareTxResponse) GetFeePayerSig() string
- func (x *PrepareTxResponse) GetPubKeyType() string
- func (x *PrepareTxResponse) GetSequence() uint64
- func (x *PrepareTxResponse) GetSignMode() string
- func (*PrepareTxResponse) ProtoMessage()
- func (x *PrepareTxResponse) ProtoReflect() protoreflect.Message
- func (x *PrepareTxResponse) Reset()
- func (x *PrepareTxResponse) String() string
- type UnimplementedInjectiveExchangeRPCServer
- func (UnimplementedInjectiveExchangeRPCServer) BroadcastCosmosTx(context.Context, *BroadcastCosmosTxRequest) (*BroadcastCosmosTxResponse, error)
- func (UnimplementedInjectiveExchangeRPCServer) BroadcastTx(context.Context, *BroadcastTxRequest) (*BroadcastTxResponse, error)
- func (UnimplementedInjectiveExchangeRPCServer) GetFeePayer(context.Context, *GetFeePayerRequest) (*GetFeePayerResponse, error)
- func (UnimplementedInjectiveExchangeRPCServer) GetTx(context.Context, *GetTxRequest) (*GetTxResponse, error)
- func (UnimplementedInjectiveExchangeRPCServer) PrepareCosmosTx(context.Context, *PrepareCosmosTxRequest) (*PrepareCosmosTxResponse, error)
- func (UnimplementedInjectiveExchangeRPCServer) PrepareTx(context.Context, *PrepareTxRequest) (*PrepareTxResponse, error)
- type UnsafeInjectiveExchangeRPCServer
Constants ¶
This section is empty.
Variables ¶
var File_goadesign_goagen_injective_exchange_rpc_proto protoreflect.FileDescriptor
var InjectiveExchangeRPC_ServiceDesc = grpc.ServiceDesc{ ServiceName: "injective_exchange_rpc.InjectiveExchangeRPC", HandlerType: (*InjectiveExchangeRPCServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetTx", Handler: _InjectiveExchangeRPC_GetTx_Handler, }, { MethodName: "PrepareTx", Handler: _InjectiveExchangeRPC_PrepareTx_Handler, }, { MethodName: "BroadcastTx", Handler: _InjectiveExchangeRPC_BroadcastTx_Handler, }, { MethodName: "PrepareCosmosTx", Handler: _InjectiveExchangeRPC_PrepareCosmosTx_Handler, }, { MethodName: "BroadcastCosmosTx", Handler: _InjectiveExchangeRPC_BroadcastCosmosTx_Handler, }, { MethodName: "GetFeePayer", Handler: _InjectiveExchangeRPC_GetFeePayer_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "goadesign_goagen_injective_exchange_rpc.proto", }
InjectiveExchangeRPC_ServiceDesc is the grpc.ServiceDesc for InjectiveExchangeRPC service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterInjectiveExchangeRPCHandler ¶ added in v1.32.1
func RegisterInjectiveExchangeRPCHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterInjectiveExchangeRPCHandler registers the http handlers for service InjectiveExchangeRPC to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterInjectiveExchangeRPCHandlerClient ¶ added in v1.32.1
func RegisterInjectiveExchangeRPCHandlerClient(ctx context.Context, mux *runtime.ServeMux, client InjectiveExchangeRPCClient) error
RegisterInjectiveExchangeRPCHandlerClient registers the http handlers for service InjectiveExchangeRPC to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "InjectiveExchangeRPCClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "InjectiveExchangeRPCClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "InjectiveExchangeRPCClient" to call the correct interceptors.
func RegisterInjectiveExchangeRPCHandlerFromEndpoint ¶ added in v1.32.1
func RegisterInjectiveExchangeRPCHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterInjectiveExchangeRPCHandlerFromEndpoint is same as RegisterInjectiveExchangeRPCHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterInjectiveExchangeRPCHandlerServer ¶ added in v1.32.1
func RegisterInjectiveExchangeRPCHandlerServer(ctx context.Context, mux *runtime.ServeMux, server InjectiveExchangeRPCServer) error
RegisterInjectiveExchangeRPCHandlerServer registers the http handlers for service InjectiveExchangeRPC to "mux". UnaryRPC :call InjectiveExchangeRPCServer 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 RegisterInjectiveExchangeRPCHandlerFromEndpoint instead.
func RegisterInjectiveExchangeRPCServer ¶
func RegisterInjectiveExchangeRPCServer(s grpc.ServiceRegistrar, srv InjectiveExchangeRPCServer)
Types ¶
type BroadcastCosmosTxRequest ¶ added in v1.43.4
type BroadcastCosmosTxRequest struct { // proto encoded tx Tx []byte `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"` // Specify ethsecp256k1 sender pubkey PubKey *CosmosPubKey `protobuf:"bytes,2,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"` // Hex-encoded ethsecp256k1 sender signature bytes Signature string `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` // sender address SenderAddress string `protobuf:"bytes,4,opt,name=sender_address,json=senderAddress,proto3" json:"sender_address,omitempty"` // contains filtered or unexported fields }
func (*BroadcastCosmosTxRequest) Descriptor
deprecated
added in
v1.43.4
func (*BroadcastCosmosTxRequest) Descriptor() ([]byte, []int)
Deprecated: Use BroadcastCosmosTxRequest.ProtoReflect.Descriptor instead.
func (*BroadcastCosmosTxRequest) GetPubKey ¶ added in v1.43.4
func (x *BroadcastCosmosTxRequest) GetPubKey() *CosmosPubKey
func (*BroadcastCosmosTxRequest) GetSenderAddress ¶ added in v1.43.4
func (x *BroadcastCosmosTxRequest) GetSenderAddress() string
func (*BroadcastCosmosTxRequest) GetSignature ¶ added in v1.43.4
func (x *BroadcastCosmosTxRequest) GetSignature() string
func (*BroadcastCosmosTxRequest) GetTx ¶ added in v1.43.4
func (x *BroadcastCosmosTxRequest) GetTx() []byte
func (*BroadcastCosmosTxRequest) ProtoMessage ¶ added in v1.43.4
func (*BroadcastCosmosTxRequest) ProtoMessage()
func (*BroadcastCosmosTxRequest) ProtoReflect ¶ added in v1.43.4
func (x *BroadcastCosmosTxRequest) ProtoReflect() protoreflect.Message
func (*BroadcastCosmosTxRequest) Reset ¶ added in v1.43.4
func (x *BroadcastCosmosTxRequest) Reset()
func (*BroadcastCosmosTxRequest) String ¶ added in v1.43.4
func (x *BroadcastCosmosTxRequest) String() string
type BroadcastCosmosTxResponse ¶ added in v1.43.4
type BroadcastCosmosTxResponse struct { // Hex-encoded Tendermint transaction hash TxHash string `protobuf:"bytes,1,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` // The block height Height int64 `protobuf:"zigzag64,2,opt,name=height,proto3" json:"height,omitempty"` // Tx index in the block Index uint32 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` // Namespace for the resp code Codespace string `protobuf:"bytes,4,opt,name=codespace,proto3" json:"codespace,omitempty"` // Response code Code uint32 `protobuf:"varint,5,opt,name=code,proto3" json:"code,omitempty"` // Result bytes, if any Data []byte `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"` // The output of the application's logger (raw string). May be // non-deterministic. RawLog string `protobuf:"bytes,7,opt,name=raw_log,json=rawLog,proto3" json:"raw_log,omitempty"` // Time of the previous block. Timestamp string `protobuf:"bytes,8,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*BroadcastCosmosTxResponse) Descriptor
deprecated
added in
v1.43.4
func (*BroadcastCosmosTxResponse) Descriptor() ([]byte, []int)
Deprecated: Use BroadcastCosmosTxResponse.ProtoReflect.Descriptor instead.
func (*BroadcastCosmosTxResponse) GetCode ¶ added in v1.43.4
func (x *BroadcastCosmosTxResponse) GetCode() uint32
func (*BroadcastCosmosTxResponse) GetCodespace ¶ added in v1.43.4
func (x *BroadcastCosmosTxResponse) GetCodespace() string
func (*BroadcastCosmosTxResponse) GetData ¶ added in v1.43.4
func (x *BroadcastCosmosTxResponse) GetData() []byte
func (*BroadcastCosmosTxResponse) GetHeight ¶ added in v1.43.4
func (x *BroadcastCosmosTxResponse) GetHeight() int64
func (*BroadcastCosmosTxResponse) GetIndex ¶ added in v1.43.4
func (x *BroadcastCosmosTxResponse) GetIndex() uint32
func (*BroadcastCosmosTxResponse) GetRawLog ¶ added in v1.43.4
func (x *BroadcastCosmosTxResponse) GetRawLog() string
func (*BroadcastCosmosTxResponse) GetTimestamp ¶ added in v1.43.4
func (x *BroadcastCosmosTxResponse) GetTimestamp() string
func (*BroadcastCosmosTxResponse) GetTxHash ¶ added in v1.43.4
func (x *BroadcastCosmosTxResponse) GetTxHash() string
func (*BroadcastCosmosTxResponse) ProtoMessage ¶ added in v1.43.4
func (*BroadcastCosmosTxResponse) ProtoMessage()
func (*BroadcastCosmosTxResponse) ProtoReflect ¶ added in v1.43.4
func (x *BroadcastCosmosTxResponse) ProtoReflect() protoreflect.Message
func (*BroadcastCosmosTxResponse) Reset ¶ added in v1.43.4
func (x *BroadcastCosmosTxResponse) Reset()
func (*BroadcastCosmosTxResponse) String ¶ added in v1.43.4
func (x *BroadcastCosmosTxResponse) String() string
type BroadcastTxRequest ¶
type BroadcastTxRequest struct { // Specify Web3 chainID (from prepateTx) for the target Tx ChainId uint64 `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // Amino-encoded Tx JSON data (except Msgs) Tx []byte `protobuf:"bytes,2,opt,name=tx,proto3" json:"tx,omitempty"` // List of Cosmos proto3-encoded Msgs from tx Msgs [][]byte `protobuf:"bytes,3,rep,name=msgs,proto3" json:"msgs,omitempty"` // Specify ethsecp256k1 pubkey of the signer PubKey *CosmosPubKey `protobuf:"bytes,4,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"` // Hex-encoded ethsecp256k1 signature bytes Signature string `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"` // Fee payer address provided by service FeePayer string `protobuf:"bytes,6,opt,name=fee_payer,json=feePayer,proto3" json:"fee_payer,omitempty"` // Hex-encoded ethsecp256k1 signature bytes from fee payer FeePayerSig string `protobuf:"bytes,7,opt,name=fee_payer_sig,json=feePayerSig,proto3" json:"fee_payer_sig,omitempty"` // Broadcast mode Mode string `protobuf:"bytes,8,opt,name=mode,proto3" json:"mode,omitempty"` // contains filtered or unexported fields }
func (*BroadcastTxRequest) Descriptor
deprecated
func (*BroadcastTxRequest) Descriptor() ([]byte, []int)
Deprecated: Use BroadcastTxRequest.ProtoReflect.Descriptor instead.
func (*BroadcastTxRequest) GetChainId ¶
func (x *BroadcastTxRequest) GetChainId() uint64
func (*BroadcastTxRequest) GetFeePayer ¶ added in v1.23.6
func (x *BroadcastTxRequest) GetFeePayer() string
func (*BroadcastTxRequest) GetFeePayerSig ¶ added in v1.23.6
func (x *BroadcastTxRequest) GetFeePayerSig() string
func (*BroadcastTxRequest) GetMode ¶
func (x *BroadcastTxRequest) GetMode() string
func (*BroadcastTxRequest) GetMsgs ¶
func (x *BroadcastTxRequest) GetMsgs() [][]byte
func (*BroadcastTxRequest) GetPubKey ¶
func (x *BroadcastTxRequest) GetPubKey() *CosmosPubKey
func (*BroadcastTxRequest) GetSignature ¶
func (x *BroadcastTxRequest) GetSignature() string
func (*BroadcastTxRequest) GetTx ¶
func (x *BroadcastTxRequest) GetTx() []byte
func (*BroadcastTxRequest) ProtoMessage ¶
func (*BroadcastTxRequest) ProtoMessage()
func (*BroadcastTxRequest) ProtoReflect ¶
func (x *BroadcastTxRequest) ProtoReflect() protoreflect.Message
func (*BroadcastTxRequest) Reset ¶
func (x *BroadcastTxRequest) Reset()
func (*BroadcastTxRequest) String ¶
func (x *BroadcastTxRequest) String() string
type BroadcastTxResponse ¶
type BroadcastTxResponse struct { // Hex-encoded Tendermint transaction hash TxHash string `protobuf:"bytes,1,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` // The block height Height int64 `protobuf:"zigzag64,2,opt,name=height,proto3" json:"height,omitempty"` // Tx index in the block Index uint32 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` // Namespace for the resp code Codespace string `protobuf:"bytes,4,opt,name=codespace,proto3" json:"codespace,omitempty"` // Response code Code uint32 `protobuf:"varint,5,opt,name=code,proto3" json:"code,omitempty"` // Result bytes, if any Data []byte `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"` // The output of the application's logger (raw string). May be // non-deterministic. RawLog string `protobuf:"bytes,7,opt,name=raw_log,json=rawLog,proto3" json:"raw_log,omitempty"` // Time of the previous block. Timestamp string `protobuf:"bytes,8,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*BroadcastTxResponse) Descriptor
deprecated
func (*BroadcastTxResponse) Descriptor() ([]byte, []int)
Deprecated: Use BroadcastTxResponse.ProtoReflect.Descriptor instead.
func (*BroadcastTxResponse) GetCode ¶
func (x *BroadcastTxResponse) GetCode() uint32
func (*BroadcastTxResponse) GetCodespace ¶
func (x *BroadcastTxResponse) GetCodespace() string
func (*BroadcastTxResponse) GetData ¶
func (x *BroadcastTxResponse) GetData() []byte
func (*BroadcastTxResponse) GetHeight ¶
func (x *BroadcastTxResponse) GetHeight() int64
func (*BroadcastTxResponse) GetIndex ¶
func (x *BroadcastTxResponse) GetIndex() uint32
func (*BroadcastTxResponse) GetRawLog ¶
func (x *BroadcastTxResponse) GetRawLog() string
func (*BroadcastTxResponse) GetTimestamp ¶
func (x *BroadcastTxResponse) GetTimestamp() string
func (*BroadcastTxResponse) GetTxHash ¶
func (x *BroadcastTxResponse) GetTxHash() string
func (*BroadcastTxResponse) ProtoMessage ¶
func (*BroadcastTxResponse) ProtoMessage()
func (*BroadcastTxResponse) ProtoReflect ¶
func (x *BroadcastTxResponse) ProtoReflect() protoreflect.Message
func (*BroadcastTxResponse) Reset ¶
func (x *BroadcastTxResponse) Reset()
func (*BroadcastTxResponse) String ¶
func (x *BroadcastTxResponse) String() string
type CosmosCoin ¶
type CosmosCoin struct { // Coin denominator Denom string `protobuf:"bytes,1,opt,name=denom,proto3" json:"denom,omitempty"` // Coin amount (big int) Amount string `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"` // contains filtered or unexported fields }
func (*CosmosCoin) Descriptor
deprecated
func (*CosmosCoin) Descriptor() ([]byte, []int)
Deprecated: Use CosmosCoin.ProtoReflect.Descriptor instead.
func (*CosmosCoin) GetAmount ¶
func (x *CosmosCoin) GetAmount() string
func (*CosmosCoin) GetDenom ¶
func (x *CosmosCoin) GetDenom() string
func (*CosmosCoin) ProtoMessage ¶
func (*CosmosCoin) ProtoMessage()
func (*CosmosCoin) ProtoReflect ¶
func (x *CosmosCoin) ProtoReflect() protoreflect.Message
func (*CosmosCoin) Reset ¶
func (x *CosmosCoin) Reset()
func (*CosmosCoin) String ¶
func (x *CosmosCoin) String() string
type CosmosPubKey ¶
type CosmosPubKey struct { // Pubkey type URL Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // Hex-encoded string of the public key Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*CosmosPubKey) Descriptor
deprecated
func (*CosmosPubKey) Descriptor() ([]byte, []int)
Deprecated: Use CosmosPubKey.ProtoReflect.Descriptor instead.
func (*CosmosPubKey) GetKey ¶
func (x *CosmosPubKey) GetKey() string
func (*CosmosPubKey) GetType ¶
func (x *CosmosPubKey) GetType() string
func (*CosmosPubKey) ProtoMessage ¶
func (*CosmosPubKey) ProtoMessage()
func (*CosmosPubKey) ProtoReflect ¶
func (x *CosmosPubKey) ProtoReflect() protoreflect.Message
func (*CosmosPubKey) Reset ¶
func (x *CosmosPubKey) Reset()
func (*CosmosPubKey) String ¶
func (x *CosmosPubKey) String() string
type CosmosTxFee ¶
type CosmosTxFee struct { // Transaction gas price Price []*CosmosCoin `protobuf:"bytes,1,rep,name=price,proto3" json:"price,omitempty"` // Transaction gas limit Gas uint64 `protobuf:"varint,2,opt,name=gas,proto3" json:"gas,omitempty"` // Explicitly require fee delegation when set to true. Or don't care = false. // Will be replaced by other flag in the next version. DelegateFee bool `protobuf:"varint,3,opt,name=delegate_fee,json=delegateFee,proto3" json:"delegate_fee,omitempty"` // contains filtered or unexported fields }
func (*CosmosTxFee) Descriptor
deprecated
func (*CosmosTxFee) Descriptor() ([]byte, []int)
Deprecated: Use CosmosTxFee.ProtoReflect.Descriptor instead.
func (*CosmosTxFee) GetDelegateFee ¶ added in v1.23.6
func (x *CosmosTxFee) GetDelegateFee() bool
func (*CosmosTxFee) GetGas ¶
func (x *CosmosTxFee) GetGas() uint64
func (*CosmosTxFee) GetPrice ¶ added in v1.23.6
func (x *CosmosTxFee) GetPrice() []*CosmosCoin
func (*CosmosTxFee) ProtoMessage ¶
func (*CosmosTxFee) ProtoMessage()
func (*CosmosTxFee) ProtoReflect ¶
func (x *CosmosTxFee) ProtoReflect() protoreflect.Message
func (*CosmosTxFee) Reset ¶
func (x *CosmosTxFee) Reset()
func (*CosmosTxFee) String ¶
func (x *CosmosTxFee) String() string
type GetFeePayerRequest ¶ added in v1.43.4
type GetFeePayerRequest struct {
// contains filtered or unexported fields
}
func (*GetFeePayerRequest) Descriptor
deprecated
added in
v1.43.4
func (*GetFeePayerRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFeePayerRequest.ProtoReflect.Descriptor instead.
func (*GetFeePayerRequest) ProtoMessage ¶ added in v1.43.4
func (*GetFeePayerRequest) ProtoMessage()
func (*GetFeePayerRequest) ProtoReflect ¶ added in v1.43.4
func (x *GetFeePayerRequest) ProtoReflect() protoreflect.Message
func (*GetFeePayerRequest) Reset ¶ added in v1.43.4
func (x *GetFeePayerRequest) Reset()
func (*GetFeePayerRequest) String ¶ added in v1.43.4
func (x *GetFeePayerRequest) String() string
type GetFeePayerResponse ¶ added in v1.43.4
type GetFeePayerResponse struct { // Fee payer address provided by service FeePayer string `protobuf:"bytes,1,opt,name=fee_payer,json=feePayer,proto3" json:"fee_payer,omitempty"` // ethsecp256k1 feePayer pubkey FeePayerPubKey *CosmosPubKey `protobuf:"bytes,2,opt,name=fee_payer_pub_key,json=feePayerPubKey,proto3" json:"fee_payer_pub_key,omitempty"` // contains filtered or unexported fields }
func (*GetFeePayerResponse) Descriptor
deprecated
added in
v1.43.4
func (*GetFeePayerResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetFeePayerResponse.ProtoReflect.Descriptor instead.
func (*GetFeePayerResponse) GetFeePayer ¶ added in v1.43.4
func (x *GetFeePayerResponse) GetFeePayer() string
func (*GetFeePayerResponse) GetFeePayerPubKey ¶ added in v1.43.4
func (x *GetFeePayerResponse) GetFeePayerPubKey() *CosmosPubKey
func (*GetFeePayerResponse) ProtoMessage ¶ added in v1.43.4
func (*GetFeePayerResponse) ProtoMessage()
func (*GetFeePayerResponse) ProtoReflect ¶ added in v1.43.4
func (x *GetFeePayerResponse) ProtoReflect() protoreflect.Message
func (*GetFeePayerResponse) Reset ¶ added in v1.43.4
func (x *GetFeePayerResponse) Reset()
func (*GetFeePayerResponse) String ¶ added in v1.43.4
func (x *GetFeePayerResponse) String() string
type GetTxRequest ¶
type GetTxRequest struct { // Transaction hash in hex without 0x prefix (Cosmos-like). Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // contains filtered or unexported fields }
func (*GetTxRequest) Descriptor
deprecated
func (*GetTxRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTxRequest.ProtoReflect.Descriptor instead.
func (*GetTxRequest) GetHash ¶
func (x *GetTxRequest) GetHash() string
func (*GetTxRequest) ProtoMessage ¶
func (*GetTxRequest) ProtoMessage()
func (*GetTxRequest) ProtoReflect ¶
func (x *GetTxRequest) ProtoReflect() protoreflect.Message
func (*GetTxRequest) Reset ¶
func (x *GetTxRequest) Reset()
func (*GetTxRequest) String ¶
func (x *GetTxRequest) String() string
type GetTxResponse ¶
type GetTxResponse struct { // Hex-encoded Tendermint transaction hash TxHash string `protobuf:"bytes,1,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"` // The block height Height int64 `protobuf:"zigzag64,2,opt,name=height,proto3" json:"height,omitempty"` // Tx index in the block Index uint32 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` // Namespace for the resp code Codespace string `protobuf:"bytes,4,opt,name=codespace,proto3" json:"codespace,omitempty"` // Response code Code uint32 `protobuf:"varint,5,opt,name=code,proto3" json:"code,omitempty"` // Result bytes, if any Data []byte `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"` // The output of the application's logger (raw string). May be // non-deterministic. RawLog string `protobuf:"bytes,7,opt,name=raw_log,json=rawLog,proto3" json:"raw_log,omitempty"` // Time of the previous block. Timestamp string `protobuf:"bytes,8,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*GetTxResponse) Descriptor
deprecated
func (*GetTxResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTxResponse.ProtoReflect.Descriptor instead.
func (*GetTxResponse) GetCode ¶
func (x *GetTxResponse) GetCode() uint32
func (*GetTxResponse) GetCodespace ¶
func (x *GetTxResponse) GetCodespace() string
func (*GetTxResponse) GetData ¶
func (x *GetTxResponse) GetData() []byte
func (*GetTxResponse) GetHeight ¶
func (x *GetTxResponse) GetHeight() int64
func (*GetTxResponse) GetIndex ¶
func (x *GetTxResponse) GetIndex() uint32
func (*GetTxResponse) GetRawLog ¶
func (x *GetTxResponse) GetRawLog() string
func (*GetTxResponse) GetTimestamp ¶
func (x *GetTxResponse) GetTimestamp() string
func (*GetTxResponse) GetTxHash ¶
func (x *GetTxResponse) GetTxHash() string
func (*GetTxResponse) ProtoMessage ¶
func (*GetTxResponse) ProtoMessage()
func (*GetTxResponse) ProtoReflect ¶
func (x *GetTxResponse) ProtoReflect() protoreflect.Message
func (*GetTxResponse) Reset ¶
func (x *GetTxResponse) Reset()
func (*GetTxResponse) String ¶
func (x *GetTxResponse) String() string
type InjectiveExchangeRPCClient ¶
type InjectiveExchangeRPCClient interface { // GetTx gets transaction details by hash. GetTx(ctx context.Context, in *GetTxRequest, opts ...grpc.CallOption) (*GetTxResponse, error) // PrepareTx generates a Web3-signable body for a Cosmos transaction PrepareTx(ctx context.Context, in *PrepareTxRequest, opts ...grpc.CallOption) (*PrepareTxResponse, error) // BroadcastTx broadcasts a signed Web3 transaction BroadcastTx(ctx context.Context, in *BroadcastTxRequest, opts ...grpc.CallOption) (*BroadcastTxResponse, error) // PrepareCosmosTx generates a Web3-signable body for a Cosmos transaction PrepareCosmosTx(ctx context.Context, in *PrepareCosmosTxRequest, opts ...grpc.CallOption) (*PrepareCosmosTxResponse, error) // BroadcastCosmosTx broadcasts a signed Web3 transaction BroadcastCosmosTx(ctx context.Context, in *BroadcastCosmosTxRequest, opts ...grpc.CallOption) (*BroadcastCosmosTxResponse, error) // Return fee payer information's GetFeePayer(ctx context.Context, in *GetFeePayerRequest, opts ...grpc.CallOption) (*GetFeePayerResponse, error) }
InjectiveExchangeRPCClient is the client API for InjectiveExchangeRPC service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewInjectiveExchangeRPCClient ¶
func NewInjectiveExchangeRPCClient(cc grpc.ClientConnInterface) InjectiveExchangeRPCClient
type InjectiveExchangeRPCServer ¶
type InjectiveExchangeRPCServer interface { // GetTx gets transaction details by hash. GetTx(context.Context, *GetTxRequest) (*GetTxResponse, error) // PrepareTx generates a Web3-signable body for a Cosmos transaction PrepareTx(context.Context, *PrepareTxRequest) (*PrepareTxResponse, error) // BroadcastTx broadcasts a signed Web3 transaction BroadcastTx(context.Context, *BroadcastTxRequest) (*BroadcastTxResponse, error) // PrepareCosmosTx generates a Web3-signable body for a Cosmos transaction PrepareCosmosTx(context.Context, *PrepareCosmosTxRequest) (*PrepareCosmosTxResponse, error) // BroadcastCosmosTx broadcasts a signed Web3 transaction BroadcastCosmosTx(context.Context, *BroadcastCosmosTxRequest) (*BroadcastCosmosTxResponse, error) // Return fee payer information's GetFeePayer(context.Context, *GetFeePayerRequest) (*GetFeePayerResponse, error) // contains filtered or unexported methods }
InjectiveExchangeRPCServer is the server API for InjectiveExchangeRPC service. All implementations must embed UnimplementedInjectiveExchangeRPCServer for forward compatibility
type PrepareCosmosTxRequest ¶ added in v1.43.4
type PrepareCosmosTxRequest struct { // Specify chainID for the target tx ChainId uint64 `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // sender address provided SenderAddress string `protobuf:"bytes,2,opt,name=sender_address,json=senderAddress,proto3" json:"sender_address,omitempty"` // Textual memo information to attach with tx Memo string `protobuf:"bytes,3,opt,name=memo,proto3" json:"memo,omitempty"` // Block height until which the transaction is valid. TimeoutHeight uint64 `protobuf:"varint,4,opt,name=timeout_height,json=timeoutHeight,proto3" json:"timeout_height,omitempty"` // Transaction fee details. Fee *CosmosTxFee `protobuf:"bytes,5,opt,name=fee,proto3" json:"fee,omitempty"` // List of Cosmos proto3-encoded Msgs to include in a single tx Msgs [][]byte `protobuf:"bytes,6,rep,name=msgs,proto3" json:"msgs,omitempty"` // contains filtered or unexported fields }
func (*PrepareCosmosTxRequest) Descriptor
deprecated
added in
v1.43.4
func (*PrepareCosmosTxRequest) Descriptor() ([]byte, []int)
Deprecated: Use PrepareCosmosTxRequest.ProtoReflect.Descriptor instead.
func (*PrepareCosmosTxRequest) GetChainId ¶ added in v1.43.4
func (x *PrepareCosmosTxRequest) GetChainId() uint64
func (*PrepareCosmosTxRequest) GetFee ¶ added in v1.43.4
func (x *PrepareCosmosTxRequest) GetFee() *CosmosTxFee
func (*PrepareCosmosTxRequest) GetMemo ¶ added in v1.43.4
func (x *PrepareCosmosTxRequest) GetMemo() string
func (*PrepareCosmosTxRequest) GetMsgs ¶ added in v1.43.4
func (x *PrepareCosmosTxRequest) GetMsgs() [][]byte
func (*PrepareCosmosTxRequest) GetSenderAddress ¶ added in v1.43.4
func (x *PrepareCosmosTxRequest) GetSenderAddress() string
func (*PrepareCosmosTxRequest) GetTimeoutHeight ¶ added in v1.43.4
func (x *PrepareCosmosTxRequest) GetTimeoutHeight() uint64
func (*PrepareCosmosTxRequest) ProtoMessage ¶ added in v1.43.4
func (*PrepareCosmosTxRequest) ProtoMessage()
func (*PrepareCosmosTxRequest) ProtoReflect ¶ added in v1.43.4
func (x *PrepareCosmosTxRequest) ProtoReflect() protoreflect.Message
func (*PrepareCosmosTxRequest) Reset ¶ added in v1.43.4
func (x *PrepareCosmosTxRequest) Reset()
func (*PrepareCosmosTxRequest) String ¶ added in v1.43.4
func (x *PrepareCosmosTxRequest) String() string
type PrepareCosmosTxResponse ¶ added in v1.43.4
type PrepareCosmosTxResponse struct { // proto encoded tx Tx []byte `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"` // Sign mode for the resulting tx SignMode string `protobuf:"bytes,2,opt,name=sign_mode,json=signMode,proto3" json:"sign_mode,omitempty"` // Specify proto-URL of a public key, which defines the signature format PubKeyType string `protobuf:"bytes,3,opt,name=pub_key_type,json=pubKeyType,proto3" json:"pub_key_type,omitempty"` // Fee payer address provided by service FeePayer string `protobuf:"bytes,4,opt,name=fee_payer,json=feePayer,proto3" json:"fee_payer,omitempty"` // Hex-encoded ethsecp256k1 signature bytes from fee payer FeePayerSig string `protobuf:"bytes,5,opt,name=fee_payer_sig,json=feePayerSig,proto3" json:"fee_payer_sig,omitempty"` // ethsecp256k1 feePayer pubkey FeePayerPubKey *CosmosPubKey `protobuf:"bytes,6,opt,name=fee_payer_pub_key,json=feePayerPubKey,proto3" json:"fee_payer_pub_key,omitempty"` // contains filtered or unexported fields }
func (*PrepareCosmosTxResponse) Descriptor
deprecated
added in
v1.43.4
func (*PrepareCosmosTxResponse) Descriptor() ([]byte, []int)
Deprecated: Use PrepareCosmosTxResponse.ProtoReflect.Descriptor instead.
func (*PrepareCosmosTxResponse) GetFeePayer ¶ added in v1.43.4
func (x *PrepareCosmosTxResponse) GetFeePayer() string
func (*PrepareCosmosTxResponse) GetFeePayerPubKey ¶ added in v1.43.4
func (x *PrepareCosmosTxResponse) GetFeePayerPubKey() *CosmosPubKey
func (*PrepareCosmosTxResponse) GetFeePayerSig ¶ added in v1.43.4
func (x *PrepareCosmosTxResponse) GetFeePayerSig() string
func (*PrepareCosmosTxResponse) GetPubKeyType ¶ added in v1.43.4
func (x *PrepareCosmosTxResponse) GetPubKeyType() string
func (*PrepareCosmosTxResponse) GetSignMode ¶ added in v1.43.4
func (x *PrepareCosmosTxResponse) GetSignMode() string
func (*PrepareCosmosTxResponse) GetTx ¶ added in v1.43.4
func (x *PrepareCosmosTxResponse) GetTx() []byte
func (*PrepareCosmosTxResponse) ProtoMessage ¶ added in v1.43.4
func (*PrepareCosmosTxResponse) ProtoMessage()
func (*PrepareCosmosTxResponse) ProtoReflect ¶ added in v1.43.4
func (x *PrepareCosmosTxResponse) ProtoReflect() protoreflect.Message
func (*PrepareCosmosTxResponse) Reset ¶ added in v1.43.4
func (x *PrepareCosmosTxResponse) Reset()
func (*PrepareCosmosTxResponse) String ¶ added in v1.43.4
func (x *PrepareCosmosTxResponse) String() string
type PrepareTxRequest ¶
type PrepareTxRequest struct { // Specify chainID for the target tx ChainId uint64 `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` // Specify Ethereum address of a signer SignerAddress string `protobuf:"bytes,2,opt,name=signer_address,json=signerAddress,proto3" json:"signer_address,omitempty"` // Deprecated: this field is ignored Sequence uint64 `protobuf:"varint,3,opt,name=sequence,proto3" json:"sequence,omitempty"` // Textual memo information to attach with tx Memo string `protobuf:"bytes,4,opt,name=memo,proto3" json:"memo,omitempty"` // Block height until which the transaction is valid. TimeoutHeight uint64 `protobuf:"varint,5,opt,name=timeout_height,json=timeoutHeight,proto3" json:"timeout_height,omitempty"` // Transaction fee details. Fee *CosmosTxFee `protobuf:"bytes,6,opt,name=fee,proto3" json:"fee,omitempty"` // List of Cosmos proto3-encoded Msgs to include in a single tx Msgs [][]byte `protobuf:"bytes,7,rep,name=msgs,proto3" json:"msgs,omitempty"` // The wrapper of the EIP712 message, V1 or V2 Eip712Wrapper string `protobuf:"bytes,8,opt,name=eip712_wrapper,json=eip712Wrapper,proto3" json:"eip712_wrapper,omitempty"` // contains filtered or unexported fields }
func (*PrepareTxRequest) Descriptor
deprecated
func (*PrepareTxRequest) Descriptor() ([]byte, []int)
Deprecated: Use PrepareTxRequest.ProtoReflect.Descriptor instead.
func (*PrepareTxRequest) GetChainId ¶
func (x *PrepareTxRequest) GetChainId() uint64
func (*PrepareTxRequest) GetEip712Wrapper ¶ added in v1.51.0
func (x *PrepareTxRequest) GetEip712Wrapper() string
func (*PrepareTxRequest) GetFee ¶
func (x *PrepareTxRequest) GetFee() *CosmosTxFee
func (*PrepareTxRequest) GetMemo ¶
func (x *PrepareTxRequest) GetMemo() string
func (*PrepareTxRequest) GetMsgs ¶
func (x *PrepareTxRequest) GetMsgs() [][]byte
func (*PrepareTxRequest) GetSequence ¶
func (x *PrepareTxRequest) GetSequence() uint64
func (*PrepareTxRequest) GetSignerAddress ¶
func (x *PrepareTxRequest) GetSignerAddress() string
func (*PrepareTxRequest) GetTimeoutHeight ¶
func (x *PrepareTxRequest) GetTimeoutHeight() uint64
func (*PrepareTxRequest) ProtoMessage ¶
func (*PrepareTxRequest) ProtoMessage()
func (*PrepareTxRequest) ProtoReflect ¶
func (x *PrepareTxRequest) ProtoReflect() protoreflect.Message
func (*PrepareTxRequest) Reset ¶
func (x *PrepareTxRequest) Reset()
func (*PrepareTxRequest) String ¶
func (x *PrepareTxRequest) String() string
type PrepareTxResponse ¶
type PrepareTxResponse struct { // EIP712-compatible message suitable for signing with eth_signTypedData_v4 Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // Account tx sequence (nonce) Sequence uint64 `protobuf:"varint,2,opt,name=sequence,proto3" json:"sequence,omitempty"` // Sign mode for the resulting tx SignMode string `protobuf:"bytes,3,opt,name=sign_mode,json=signMode,proto3" json:"sign_mode,omitempty"` // Specify proto-URL of a public key, which defines the signature format PubKeyType string `protobuf:"bytes,4,opt,name=pub_key_type,json=pubKeyType,proto3" json:"pub_key_type,omitempty"` // Fee payer address provided by service FeePayer string `protobuf:"bytes,5,opt,name=fee_payer,json=feePayer,proto3" json:"fee_payer,omitempty"` // Hex-encoded ethsecp256k1 signature bytes from fee payer FeePayerSig string `protobuf:"bytes,6,opt,name=fee_payer_sig,json=feePayerSig,proto3" json:"fee_payer_sig,omitempty"` // contains filtered or unexported fields }
func (*PrepareTxResponse) Descriptor
deprecated
func (*PrepareTxResponse) Descriptor() ([]byte, []int)
Deprecated: Use PrepareTxResponse.ProtoReflect.Descriptor instead.
func (*PrepareTxResponse) GetData ¶
func (x *PrepareTxResponse) GetData() string
func (*PrepareTxResponse) GetFeePayer ¶ added in v1.23.6
func (x *PrepareTxResponse) GetFeePayer() string
func (*PrepareTxResponse) GetFeePayerSig ¶ added in v1.23.6
func (x *PrepareTxResponse) GetFeePayerSig() string
func (*PrepareTxResponse) GetPubKeyType ¶
func (x *PrepareTxResponse) GetPubKeyType() string
func (*PrepareTxResponse) GetSequence ¶
func (x *PrepareTxResponse) GetSequence() uint64
func (*PrepareTxResponse) GetSignMode ¶
func (x *PrepareTxResponse) GetSignMode() string
func (*PrepareTxResponse) ProtoMessage ¶
func (*PrepareTxResponse) ProtoMessage()
func (*PrepareTxResponse) ProtoReflect ¶
func (x *PrepareTxResponse) ProtoReflect() protoreflect.Message
func (*PrepareTxResponse) Reset ¶
func (x *PrepareTxResponse) Reset()
func (*PrepareTxResponse) String ¶
func (x *PrepareTxResponse) String() string
type UnimplementedInjectiveExchangeRPCServer ¶
type UnimplementedInjectiveExchangeRPCServer struct { }
UnimplementedInjectiveExchangeRPCServer must be embedded to have forward compatible implementations.
func (UnimplementedInjectiveExchangeRPCServer) BroadcastCosmosTx ¶ added in v1.43.4
func (UnimplementedInjectiveExchangeRPCServer) BroadcastCosmosTx(context.Context, *BroadcastCosmosTxRequest) (*BroadcastCosmosTxResponse, error)
func (UnimplementedInjectiveExchangeRPCServer) BroadcastTx ¶
func (UnimplementedInjectiveExchangeRPCServer) BroadcastTx(context.Context, *BroadcastTxRequest) (*BroadcastTxResponse, error)
func (UnimplementedInjectiveExchangeRPCServer) GetFeePayer ¶ added in v1.43.4
func (UnimplementedInjectiveExchangeRPCServer) GetFeePayer(context.Context, *GetFeePayerRequest) (*GetFeePayerResponse, error)
func (UnimplementedInjectiveExchangeRPCServer) GetTx ¶
func (UnimplementedInjectiveExchangeRPCServer) GetTx(context.Context, *GetTxRequest) (*GetTxResponse, error)
func (UnimplementedInjectiveExchangeRPCServer) PrepareCosmosTx ¶ added in v1.43.4
func (UnimplementedInjectiveExchangeRPCServer) PrepareCosmosTx(context.Context, *PrepareCosmosTxRequest) (*PrepareCosmosTxResponse, error)
func (UnimplementedInjectiveExchangeRPCServer) PrepareTx ¶
func (UnimplementedInjectiveExchangeRPCServer) PrepareTx(context.Context, *PrepareTxRequest) (*PrepareTxResponse, error)
type UnsafeInjectiveExchangeRPCServer ¶
type UnsafeInjectiveExchangeRPCServer interface {
// contains filtered or unexported methods
}
UnsafeInjectiveExchangeRPCServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to InjectiveExchangeRPCServer will result in compilation errors.