@injectivelabs/indexer-proto-ts
Advanced tools
Comparing version 1.11.55 to 1.11.56
@@ -44,3 +44,3 @@ import { grpc } from "@injectivelabs/grpc-web"; | ||
msgs: Uint8Array[]; | ||
/** The wrapper of the EIP712 message, V1 or V2 */ | ||
/** The wrapper of the EIP712 message, 'v1'/'v2' or 'V1'/'V2' */ | ||
eip712Wrapper: string; | ||
@@ -79,2 +79,26 @@ } | ||
} | ||
export interface PrepareEip712Request { | ||
/** Specify chainID for the target tx */ | ||
chainId: string; | ||
/** Specify Ethereum address of a signer */ | ||
signerAddress: string; | ||
/** Sequence number of the transaction signer */ | ||
sequence: string; | ||
/** Account number of the transaction signer */ | ||
accountNumber: string; | ||
/** Textual memo information to attach with tx */ | ||
memo: string; | ||
/** Block height until which the transaction is valid. */ | ||
timeoutHeight: string; | ||
/** Transaction fee details. */ | ||
fee: CosmosTxFee | undefined; | ||
/** List of Cosmos proto3-encoded Msgs to include in a single tx */ | ||
msgs: Uint8Array[]; | ||
/** The wrapper of the EIP712 message, 'v1'/'v2' or 'V1'/'V2' */ | ||
eip712Wrapper: string; | ||
} | ||
export interface PrepareEip712Response { | ||
/** EIP712-compatible message suitable for signing with eth_signTypedData_v4 */ | ||
data: string; | ||
} | ||
export interface BroadcastTxRequest { | ||
@@ -240,2 +264,18 @@ /** Specify Web3 chainID (from prepateTx) for the target Tx */ | ||
}; | ||
export declare const PrepareEip712Request: { | ||
encode(message: PrepareEip712Request, writer?: _m0.Writer): _m0.Writer; | ||
decode(input: _m0.Reader | Uint8Array, length?: number): PrepareEip712Request; | ||
fromJSON(object: any): PrepareEip712Request; | ||
toJSON(message: PrepareEip712Request): unknown; | ||
create(base?: DeepPartial<PrepareEip712Request>): PrepareEip712Request; | ||
fromPartial(object: DeepPartial<PrepareEip712Request>): PrepareEip712Request; | ||
}; | ||
export declare const PrepareEip712Response: { | ||
encode(message: PrepareEip712Response, writer?: _m0.Writer): _m0.Writer; | ||
decode(input: _m0.Reader | Uint8Array, length?: number): PrepareEip712Response; | ||
fromJSON(object: any): PrepareEip712Response; | ||
toJSON(message: PrepareEip712Response): unknown; | ||
create(base?: DeepPartial<PrepareEip712Response>): PrepareEip712Response; | ||
fromPartial(object: DeepPartial<PrepareEip712Response>): PrepareEip712Response; | ||
}; | ||
export declare const BroadcastTxRequest: { | ||
@@ -319,2 +359,4 @@ encode(message: BroadcastTxRequest, writer?: _m0.Writer): _m0.Writer; | ||
PrepareTx(request: DeepPartial<PrepareTxRequest>, metadata?: grpc.Metadata): Promise<PrepareTxResponse>; | ||
/** prepareEip712 generates EIP712 for an Injective Message */ | ||
PrepareEip712(request: DeepPartial<PrepareEip712Request>, metadata?: grpc.Metadata): Promise<PrepareEip712Response>; | ||
/** BroadcastTx broadcasts a signed Web3 transaction */ | ||
@@ -334,2 +376,3 @@ BroadcastTx(request: DeepPartial<BroadcastTxRequest>, metadata?: grpc.Metadata): Promise<BroadcastTxResponse>; | ||
PrepareTx(request: DeepPartial<PrepareTxRequest>, metadata?: grpc.Metadata): Promise<PrepareTxResponse>; | ||
PrepareEip712(request: DeepPartial<PrepareEip712Request>, metadata?: grpc.Metadata): Promise<PrepareEip712Response>; | ||
BroadcastTx(request: DeepPartial<BroadcastTxRequest>, metadata?: grpc.Metadata): Promise<BroadcastTxResponse>; | ||
@@ -345,2 +388,3 @@ PrepareCosmosTx(request: DeepPartial<PrepareCosmosTxRequest>, metadata?: grpc.Metadata): Promise<PrepareCosmosTxResponse>; | ||
export declare const InjectiveExchangeRPCPrepareTxDesc: UnaryMethodDefinitionish; | ||
export declare const InjectiveExchangeRPCPrepareEip712Desc: UnaryMethodDefinitionish; | ||
export declare const InjectiveExchangeRPCBroadcastTxDesc: UnaryMethodDefinitionish; | ||
@@ -347,0 +391,0 @@ export declare const InjectiveExchangeRPCPrepareCosmosTxDesc: UnaryMethodDefinitionish; |
@@ -44,3 +44,3 @@ import { grpc } from "@injectivelabs/grpc-web"; | ||
msgs: Uint8Array[]; | ||
/** The wrapper of the EIP712 message, V1 or V2 */ | ||
/** The wrapper of the EIP712 message, 'v1'/'v2' or 'V1'/'V2' */ | ||
eip712Wrapper: string; | ||
@@ -79,2 +79,26 @@ } | ||
} | ||
export interface PrepareEip712Request { | ||
/** Specify chainID for the target tx */ | ||
chainId: string; | ||
/** Specify Ethereum address of a signer */ | ||
signerAddress: string; | ||
/** Sequence number of the transaction signer */ | ||
sequence: string; | ||
/** Account number of the transaction signer */ | ||
accountNumber: string; | ||
/** Textual memo information to attach with tx */ | ||
memo: string; | ||
/** Block height until which the transaction is valid. */ | ||
timeoutHeight: string; | ||
/** Transaction fee details. */ | ||
fee: CosmosTxFee | undefined; | ||
/** List of Cosmos proto3-encoded Msgs to include in a single tx */ | ||
msgs: Uint8Array[]; | ||
/** The wrapper of the EIP712 message, 'v1'/'v2' or 'V1'/'V2' */ | ||
eip712Wrapper: string; | ||
} | ||
export interface PrepareEip712Response { | ||
/** EIP712-compatible message suitable for signing with eth_signTypedData_v4 */ | ||
data: string; | ||
} | ||
export interface BroadcastTxRequest { | ||
@@ -240,2 +264,18 @@ /** Specify Web3 chainID (from prepateTx) for the target Tx */ | ||
}; | ||
export declare const PrepareEip712Request: { | ||
encode(message: PrepareEip712Request, writer?: _m0.Writer): _m0.Writer; | ||
decode(input: _m0.Reader | Uint8Array, length?: number): PrepareEip712Request; | ||
fromJSON(object: any): PrepareEip712Request; | ||
toJSON(message: PrepareEip712Request): unknown; | ||
create(base?: DeepPartial<PrepareEip712Request>): PrepareEip712Request; | ||
fromPartial(object: DeepPartial<PrepareEip712Request>): PrepareEip712Request; | ||
}; | ||
export declare const PrepareEip712Response: { | ||
encode(message: PrepareEip712Response, writer?: _m0.Writer): _m0.Writer; | ||
decode(input: _m0.Reader | Uint8Array, length?: number): PrepareEip712Response; | ||
fromJSON(object: any): PrepareEip712Response; | ||
toJSON(message: PrepareEip712Response): unknown; | ||
create(base?: DeepPartial<PrepareEip712Response>): PrepareEip712Response; | ||
fromPartial(object: DeepPartial<PrepareEip712Response>): PrepareEip712Response; | ||
}; | ||
export declare const BroadcastTxRequest: { | ||
@@ -319,2 +359,4 @@ encode(message: BroadcastTxRequest, writer?: _m0.Writer): _m0.Writer; | ||
PrepareTx(request: DeepPartial<PrepareTxRequest>, metadata?: grpc.Metadata): Promise<PrepareTxResponse>; | ||
/** prepareEip712 generates EIP712 for an Injective Message */ | ||
PrepareEip712(request: DeepPartial<PrepareEip712Request>, metadata?: grpc.Metadata): Promise<PrepareEip712Response>; | ||
/** BroadcastTx broadcasts a signed Web3 transaction */ | ||
@@ -334,2 +376,3 @@ BroadcastTx(request: DeepPartial<BroadcastTxRequest>, metadata?: grpc.Metadata): Promise<BroadcastTxResponse>; | ||
PrepareTx(request: DeepPartial<PrepareTxRequest>, metadata?: grpc.Metadata): Promise<PrepareTxResponse>; | ||
PrepareEip712(request: DeepPartial<PrepareEip712Request>, metadata?: grpc.Metadata): Promise<PrepareEip712Response>; | ||
BroadcastTx(request: DeepPartial<BroadcastTxRequest>, metadata?: grpc.Metadata): Promise<BroadcastTxResponse>; | ||
@@ -345,2 +388,3 @@ PrepareCosmosTx(request: DeepPartial<PrepareCosmosTxRequest>, metadata?: grpc.Metadata): Promise<PrepareCosmosTxResponse>; | ||
export declare const InjectiveExchangeRPCPrepareTxDesc: UnaryMethodDefinitionish; | ||
export declare const InjectiveExchangeRPCPrepareEip712Desc: UnaryMethodDefinitionish; | ||
export declare const InjectiveExchangeRPCBroadcastTxDesc: UnaryMethodDefinitionish; | ||
@@ -347,0 +391,0 @@ export declare const InjectiveExchangeRPCPrepareCosmosTxDesc: UnaryMethodDefinitionish; |
{ | ||
"name": "@injectivelabs/indexer-proto-ts", | ||
"version": "1.11.55", | ||
"version": "1.11.56", | ||
"description": "Injective Indexer API client with generated gRPC bindings.", | ||
@@ -5,0 +5,0 @@ "sideEffects": false, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
3923809
93127