Documentation ¶
Index ¶
- Variables
- func RegisterInjectiveExchangeRPCServer(s grpc.ServiceRegistrar, srv InjectiveExchangeRPCServer)
- type BroadcastTxRequest
- func (*BroadcastTxRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BroadcastTxRequest) GetChainId() uint64
- 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) GetAmounts() []*CosmosCoin
- func (x *CosmosTxFee) GetGas() uint64
- func (*CosmosTxFee) ProtoMessage()
- func (x *CosmosTxFee) ProtoReflect() protoreflect.Message
- func (x *CosmosTxFee) Reset()
- func (x *CosmosTxFee) 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 PingRequest
- type PingResponse
- type PrepareTxRequest
- func (*PrepareTxRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PrepareTxRequest) GetChainId() uint64
- 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) 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) BroadcastTx(context.Context, *BroadcastTxRequest) (*BroadcastTxResponse, error)
- func (UnimplementedInjectiveExchangeRPCServer) GetTx(context.Context, *GetTxRequest) (*GetTxResponse, error)
- func (UnimplementedInjectiveExchangeRPCServer) Ping(context.Context, *PingRequest) (*PingResponse, error)
- func (UnimplementedInjectiveExchangeRPCServer) PrepareTx(context.Context, *PrepareTxRequest) (*PrepareTxResponse, error)
- func (UnimplementedInjectiveExchangeRPCServer) Version(context.Context, *VersionRequest) (*VersionResponse, error)
- type UnsafeInjectiveExchangeRPCServer
- type VersionRequest
- type VersionResponse
- func (*VersionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *VersionResponse) GetMetaData() map[string]string
- func (x *VersionResponse) GetVersion() string
- func (*VersionResponse) ProtoMessage()
- func (x *VersionResponse) ProtoReflect() protoreflect.Message
- func (x *VersionResponse) Reset()
- func (x *VersionResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var File_injective_exchange_rpc_proto protoreflect.FileDescriptor
var InjectiveExchangeRPC_ServiceDesc = grpc.ServiceDesc{ ServiceName: "injective_exchange_rpc.InjectiveExchangeRPC", HandlerType: (*InjectiveExchangeRPCServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Ping", Handler: _InjectiveExchangeRPC_Ping_Handler, }, { MethodName: "Version", Handler: _InjectiveExchangeRPC_Version_Handler, }, { MethodName: "GetTx", Handler: _InjectiveExchangeRPC_GetTx_Handler, }, { MethodName: "PrepareTx", Handler: _InjectiveExchangeRPC_PrepareTx_Handler, }, { MethodName: "BroadcastTx", Handler: _InjectiveExchangeRPC_BroadcastTx_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "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 RegisterInjectiveExchangeRPCServer ¶
func RegisterInjectiveExchangeRPCServer(s grpc.ServiceRegistrar, srv InjectiveExchangeRPCServer)
Types ¶
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"` // Broadcast mode Mode string `protobuf:"bytes,6,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) 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 { // List of coins for the fee Amounts []*CosmosCoin `protobuf:"bytes,1,rep,name=amounts,proto3" json:"amounts,omitempty"` // Transaction gas limit Gas uint64 `protobuf:"varint,2,opt,name=gas,proto3" json:"gas,omitempty"` // contains filtered or unexported fields }
func (*CosmosTxFee) Descriptor
deprecated
func (*CosmosTxFee) Descriptor() ([]byte, []int)
Deprecated: Use CosmosTxFee.ProtoReflect.Descriptor instead.
func (*CosmosTxFee) GetAmounts ¶
func (x *CosmosTxFee) GetAmounts() []*CosmosCoin
func (*CosmosTxFee) GetGas ¶
func (x *CosmosTxFee) GetGas() uint64
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 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 { // Endpoint for checking server health. Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingResponse, error) // Returns injective-exchange version. Version(ctx context.Context, in *VersionRequest, opts ...grpc.CallOption) (*VersionResponse, error) // 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) }
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 { // Endpoint for checking server health. Ping(context.Context, *PingRequest) (*PingResponse, error) // Returns injective-exchange version. Version(context.Context, *VersionRequest) (*VersionResponse, error) // 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) // contains filtered or unexported methods }
InjectiveExchangeRPCServer is the server API for InjectiveExchangeRPC service. All implementations must embed UnimplementedInjectiveExchangeRPCServer for forward compatibility
type PingRequest ¶
type PingRequest struct {
// contains filtered or unexported fields
}
func (*PingRequest) Descriptor
deprecated
func (*PingRequest) Descriptor() ([]byte, []int)
Deprecated: Use PingRequest.ProtoReflect.Descriptor instead.
func (*PingRequest) ProtoMessage ¶
func (*PingRequest) ProtoMessage()
func (*PingRequest) ProtoReflect ¶
func (x *PingRequest) ProtoReflect() protoreflect.Message
func (*PingRequest) Reset ¶
func (x *PingRequest) Reset()
func (*PingRequest) String ¶
func (x *PingRequest) String() string
type PingResponse ¶
type PingResponse struct {
// contains filtered or unexported fields
}
func (*PingResponse) Descriptor
deprecated
func (*PingResponse) Descriptor() ([]byte, []int)
Deprecated: Use PingResponse.ProtoReflect.Descriptor instead.
func (*PingResponse) ProtoMessage ¶
func (*PingResponse) ProtoMessage()
func (*PingResponse) ProtoReflect ¶
func (x *PingResponse) ProtoReflect() protoreflect.Message
func (*PingResponse) Reset ¶
func (x *PingResponse) Reset()
func (*PingResponse) String ¶
func (x *PingResponse) 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"` // Account sequence number (nonce) of signer 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"` // 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) 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"` // 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) 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) BroadcastTx ¶
func (UnimplementedInjectiveExchangeRPCServer) BroadcastTx(context.Context, *BroadcastTxRequest) (*BroadcastTxResponse, error)
func (UnimplementedInjectiveExchangeRPCServer) GetTx ¶
func (UnimplementedInjectiveExchangeRPCServer) GetTx(context.Context, *GetTxRequest) (*GetTxResponse, error)
func (UnimplementedInjectiveExchangeRPCServer) Ping ¶
func (UnimplementedInjectiveExchangeRPCServer) Ping(context.Context, *PingRequest) (*PingResponse, error)
func (UnimplementedInjectiveExchangeRPCServer) PrepareTx ¶
func (UnimplementedInjectiveExchangeRPCServer) PrepareTx(context.Context, *PrepareTxRequest) (*PrepareTxResponse, error)
func (UnimplementedInjectiveExchangeRPCServer) Version ¶
func (UnimplementedInjectiveExchangeRPCServer) Version(context.Context, *VersionRequest) (*VersionResponse, 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.
type VersionRequest ¶
type VersionRequest struct {
// contains filtered or unexported fields
}
func (*VersionRequest) Descriptor
deprecated
func (*VersionRequest) Descriptor() ([]byte, []int)
Deprecated: Use VersionRequest.ProtoReflect.Descriptor instead.
func (*VersionRequest) ProtoMessage ¶
func (*VersionRequest) ProtoMessage()
func (*VersionRequest) ProtoReflect ¶
func (x *VersionRequest) ProtoReflect() protoreflect.Message
func (*VersionRequest) Reset ¶
func (x *VersionRequest) Reset()
func (*VersionRequest) String ¶
func (x *VersionRequest) String() string
type VersionResponse ¶
type VersionResponse struct { // injective-exchange code version. Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` // Additional meta data. MetaData map[string]string `` /* 173-byte string literal not displayed */ // contains filtered or unexported fields }
func (*VersionResponse) Descriptor
deprecated
func (*VersionResponse) Descriptor() ([]byte, []int)
Deprecated: Use VersionResponse.ProtoReflect.Descriptor instead.
func (*VersionResponse) GetMetaData ¶
func (x *VersionResponse) GetMetaData() map[string]string
func (*VersionResponse) GetVersion ¶
func (x *VersionResponse) GetVersion() string
func (*VersionResponse) ProtoMessage ¶
func (*VersionResponse) ProtoMessage()
func (*VersionResponse) ProtoReflect ¶
func (x *VersionResponse) ProtoReflect() protoreflect.Message
func (*VersionResponse) Reset ¶
func (x *VersionResponse) Reset()
func (*VersionResponse) String ¶
func (x *VersionResponse) String() string