@kimafinance/kima-transaction-api 1.5.7 → 1.5.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
- import { RequestHtlcReclaimProps, RequestHtlcLockProps, RequestTransferTxProps, RequestSwapTxProps } from "./types";
1
+ import { RequestHtlcReclaimProps, RequestHtlcLockProps, RequestTransferTxProps, RequestSwapTxProps, RequestExternalTxProps } from "./types";
2
2
  export declare function HtlcReclaim({ senderAddress, txHash, }: RequestHtlcReclaimProps): Promise<import("@cosmjs/stargate").DeliverTxResponse>;
3
3
  export declare function submitHtlcLock({ fromAddress, senderPubkey, amount, htlcTimeout, txHash, htlcAddress, }: RequestHtlcLockProps): Promise<import("@cosmjs/stargate").DeliverTxResponse>;
4
4
  export declare function getCreatorAddress(): Promise<import("@cosmjs/proto-signing").AccountData>;
5
5
  export declare function submitKimaTransferTransaction({ originChain, originAddress, targetChain, targetAddress, originSymbol, targetSymbol, amount, fee, htlcCreationHash, htlcCreationVout, htlcExpirationTimestamp, htlcVersion, senderPubKey, options, }: RequestTransferTxProps): Promise<import("@cosmjs/stargate").DeliverTxResponse>;
6
6
  export declare function submitKimaSwapTransaction({ originChain, originAddress, targetChain, targetAddress, originSymbol, targetSymbol, amountIn, amountOut, fee, dex, slippage, options, }: RequestSwapTxProps): Promise<import("@cosmjs/stargate").DeliverTxResponse>;
7
+ export declare function submitKimaExternalTransaction({ originChain, originAddress, targetChain, targetAddress, originSymbol, targetSymbol, amount, fee, options, }: RequestExternalTxProps): Promise<import("@cosmjs/stargate").DeliverTxResponse>;
package/build/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.submitKimaSwapTransaction = exports.submitKimaTransferTransaction = exports.getCreatorAddress = exports.submitHtlcLock = exports.HtlcReclaim = void 0;
3
+ exports.submitKimaExternalTransaction = exports.submitKimaSwapTransaction = exports.submitKimaTransferTransaction = exports.getCreatorAddress = exports.submitHtlcLock = exports.HtlcReclaim = void 0;
4
4
  const proto_signing_1 = require("@cosmjs/proto-signing");
5
5
  const common_1 = require("./kima/common");
6
6
  async function HtlcReclaim({ senderAddress, txHash, }) {
@@ -91,3 +91,24 @@ async function submitKimaSwapTransaction({ originChain, originAddress, targetCha
91
91
  return result;
92
92
  }
93
93
  exports.submitKimaSwapTransaction = submitKimaSwapTransaction;
94
+ async function submitKimaExternalTransaction({ originChain, originAddress, targetChain, targetAddress, originSymbol, targetSymbol, amount, fee, options, }) {
95
+ const wallet = await proto_signing_1.DirectSecp256k1HdWallet.fromMnemonic(process.env.KIMA_BACKEND_MNEMONIC, { prefix: "kima" });
96
+ const client = await (0, common_1.TxClient)(wallet);
97
+ const [firstAccount] = await wallet.getAccounts();
98
+ const params = {
99
+ creator: firstAccount.address,
100
+ originChain,
101
+ originAddress,
102
+ targetChain,
103
+ targetAddress,
104
+ originSymbol,
105
+ targetSymbol,
106
+ amount: amount,
107
+ fee: fee,
108
+ options,
109
+ };
110
+ const msgTx = await client.msgRequestExternalTransaction(params);
111
+ const result = await client.signAndBroadcast([msgTx]);
112
+ return result;
113
+ }
114
+ exports.submitKimaExternalTransaction = submitKimaExternalTransaction;
@@ -1,5 +1,5 @@
1
1
  import { Registry, OfflineSigner, EncodeObject } from "@cosmjs/proto-signing";
2
- import { MsgRequestHtlcLock, MsgRequestTransaction, MsgSetTxHash, MsgHtlcReclaim } from "./transfer_tx";
2
+ import { MsgRequestHtlcLock, MsgRequestTransaction, MsgSetTxHash, MsgHtlcReclaim, MsgRequestExternalTransaction } from "./transfer_tx";
3
3
  import { MsgRequestSwapTransaction } from "./swap_tx";
4
4
  export declare const registry: Registry;
5
5
  export declare const TxClient: (wallet: OfflineSigner) => Promise<{
@@ -9,4 +9,5 @@ export declare const TxClient: (wallet: OfflineSigner) => Promise<{
9
9
  msgSetTxHash: (data: MsgSetTxHash) => EncodeObject;
10
10
  msgHtlcReclaim: (data: MsgHtlcReclaim) => EncodeObject;
11
11
  msgRequestSwapTransaction: (data: MsgRequestSwapTransaction) => EncodeObject;
12
+ msgRequestExternalTransaction: (data: MsgRequestExternalTransaction) => EncodeObject;
12
13
  }>;
@@ -50,6 +50,10 @@ const TxClient = async (wallet) => {
50
50
  typeUrl: "/kimablockchain.swap.MsgRequestSwapTransaction",
51
51
  value: swap_tx_1.MsgRequestSwapTransaction.fromPartial(data),
52
52
  }),
53
+ msgRequestExternalTransaction: (data) => ({
54
+ typeUrl: "/kimablockchain.transaction.MsgRequestExternalTransaction",
55
+ value: transfer_tx_1.MsgRequestExternalTransaction.fromPartial(data),
56
+ }),
53
57
  };
54
58
  };
55
59
  exports.TxClient = TxClient;
@@ -35,6 +35,8 @@ export interface MsgFinalizeTransaction {
35
35
  success: boolean;
36
36
  signedKey: string;
37
37
  errReason: string;
38
+ tssMsgId: string;
39
+ txType: string;
38
40
  }
39
41
  export interface MsgFinalizeTransactionResponse {
40
42
  code: string;
@@ -47,6 +49,7 @@ export interface MsgFinalizeProvisionTransaction {
47
49
  success: boolean;
48
50
  signedKey: string;
49
51
  errReason: string;
52
+ tssMsgId: string;
50
53
  }
51
54
  export interface MsgFinalizeProvisionTransactionResponse {
52
55
  code: string;
@@ -99,8 +102,23 @@ export interface MsgSetTxProcess {
99
102
  txId: number;
100
103
  timestamp: number;
101
104
  msgId: string;
105
+ handleId: number;
102
106
  /** request_transaction, request_provision_transaction, request_drain_transaction, withdraw_pool */
103
107
  txType: string;
108
+ /** the fee id for the transaction */
109
+ feeId: string;
110
+ /** the origin gas fee of the transaction */
111
+ originGasFee: string;
112
+ /** the target gas fee of the transaction */
113
+ targetGasFee: string;
114
+ /** the kima processing fee of the transaction */
115
+ kimaProcessingFee: string;
116
+ /** the total fee of the transaction */
117
+ totalFee: string;
118
+ /** the pegged to of the transaction */
119
+ peggedTo: string;
120
+ /** the expiration of the transaction */
121
+ expiration: number;
104
122
  }
105
123
  export interface MsgSetTxProcessResponse {
106
124
  }
@@ -124,6 +142,7 @@ export interface MsgFinalizeDrainTransaction {
124
142
  success: boolean;
125
143
  signedKey: string;
126
144
  errReason: string;
145
+ tssMsgId: string;
127
146
  }
128
147
  export interface MsgFinalizeDrainTransactionResponse {
129
148
  code: string;
@@ -161,6 +180,12 @@ export interface MsgUpdateTransferLimitParams {
161
180
  }
162
181
  export interface MsgUpdateTransferLimitParamsResponse {
163
182
  }
183
+ export interface MsgSetFiatTransactionParams {
184
+ authority: string;
185
+ daca: string;
186
+ }
187
+ export interface MsgSetFiatTransactionParamsResponse {
188
+ }
164
189
  export interface MsgFinalizeWithdrawTransaction {
165
190
  creator: string;
166
191
  txId: number;
@@ -168,11 +193,59 @@ export interface MsgFinalizeWithdrawTransaction {
168
193
  success: boolean;
169
194
  signedKey: string;
170
195
  errReason: string;
196
+ tssMsgId: string;
171
197
  }
172
198
  export interface MsgFinalizeWithdrawTransactionResponse {
173
199
  code: string;
174
200
  msg: string;
175
201
  }
202
+ export interface MsgConfirmTransaction {
203
+ creator: string;
204
+ transactionId: string;
205
+ amount: string;
206
+ currency: string;
207
+ confirmed: boolean;
208
+ failReason: string;
209
+ timestamp: number;
210
+ }
211
+ export interface MsgConfirmTransactionResponse {
212
+ code: string;
213
+ msg: string;
214
+ }
215
+ export interface MsgUpdateTransactionStatus {
216
+ creator: string;
217
+ txId: string;
218
+ newStatus: string;
219
+ failReason: string;
220
+ }
221
+ export interface MsgUpdateTransactionStatusResponse {
222
+ code: string;
223
+ msg: string;
224
+ }
225
+ export interface MsgUpdateMaxConcurrentLimit {
226
+ authority: string;
227
+ maxLimit: number;
228
+ }
229
+ export interface MsgUpdateMaxConcurrentLimitResponse {
230
+ code: string;
231
+ msg: string;
232
+ }
233
+ export interface MsgRequestExternalTransaction {
234
+ creator: string;
235
+ originChain: string;
236
+ originAddress: string;
237
+ targetChain: string;
238
+ targetAddress: string;
239
+ originSymbol: string;
240
+ targetSymbol: string;
241
+ amount: string;
242
+ fee: string;
243
+ options: string;
244
+ }
245
+ export interface MsgRequestExternalTransactionResponse {
246
+ code: string;
247
+ msg: string;
248
+ }
176
249
  export declare const MsgRequestTransaction: {
177
250
  encode(message: MsgRequestTransaction, writer?: _m0.Writer): _m0.Writer;
178
251
  decode(input: _m0.Reader | Uint8Array, length?: number): MsgRequestTransaction;
@@ -239,6 +312,8 @@ export declare const MsgFinalizeTransaction: {
239
312
  success?: boolean | undefined;
240
313
  signedKey?: string | undefined;
241
314
  errReason?: string | undefined;
315
+ tssMsgId?: string | undefined;
316
+ txType?: string | undefined;
242
317
  } & {
243
318
  creator?: string | undefined;
244
319
  txId?: number | undefined;
@@ -246,6 +321,8 @@ export declare const MsgFinalizeTransaction: {
246
321
  success?: boolean | undefined;
247
322
  signedKey?: string | undefined;
248
323
  errReason?: string | undefined;
324
+ tssMsgId?: string | undefined;
325
+ txType?: string | undefined;
249
326
  } & { [K in Exclude<keyof I, keyof MsgFinalizeTransaction>]: never; }>(object: I): MsgFinalizeTransaction;
250
327
  };
251
328
  export declare const MsgFinalizeTransactionResponse: {
@@ -273,6 +350,7 @@ export declare const MsgFinalizeProvisionTransaction: {
273
350
  success?: boolean | undefined;
274
351
  signedKey?: string | undefined;
275
352
  errReason?: string | undefined;
353
+ tssMsgId?: string | undefined;
276
354
  } & {
277
355
  creator?: string | undefined;
278
356
  txId?: number | undefined;
@@ -280,6 +358,7 @@ export declare const MsgFinalizeProvisionTransaction: {
280
358
  success?: boolean | undefined;
281
359
  signedKey?: string | undefined;
282
360
  errReason?: string | undefined;
361
+ tssMsgId?: string | undefined;
283
362
  } & { [K in Exclude<keyof I, keyof MsgFinalizeProvisionTransaction>]: never; }>(object: I): MsgFinalizeProvisionTransaction;
284
363
  };
285
364
  export declare const MsgFinalizeProvisionTransactionResponse: {
@@ -407,13 +486,29 @@ export declare const MsgSetTxProcess: {
407
486
  txId?: number | undefined;
408
487
  timestamp?: number | undefined;
409
488
  msgId?: string | undefined;
489
+ handleId?: number | undefined;
410
490
  txType?: string | undefined;
491
+ feeId?: string | undefined;
492
+ originGasFee?: string | undefined;
493
+ targetGasFee?: string | undefined;
494
+ kimaProcessingFee?: string | undefined;
495
+ totalFee?: string | undefined;
496
+ peggedTo?: string | undefined;
497
+ expiration?: number | undefined;
411
498
  } & {
412
499
  creator?: string | undefined;
413
500
  txId?: number | undefined;
414
501
  timestamp?: number | undefined;
415
502
  msgId?: string | undefined;
503
+ handleId?: number | undefined;
416
504
  txType?: string | undefined;
505
+ feeId?: string | undefined;
506
+ originGasFee?: string | undefined;
507
+ targetGasFee?: string | undefined;
508
+ kimaProcessingFee?: string | undefined;
509
+ totalFee?: string | undefined;
510
+ peggedTo?: string | undefined;
511
+ expiration?: number | undefined;
417
512
  } & { [K in Exclude<keyof I, keyof MsgSetTxProcess>]: never; }>(object: I): MsgSetTxProcess;
418
513
  };
419
514
  export declare const MsgSetTxProcessResponse: {
@@ -471,6 +566,7 @@ export declare const MsgFinalizeDrainTransaction: {
471
566
  success?: boolean | undefined;
472
567
  signedKey?: string | undefined;
473
568
  errReason?: string | undefined;
569
+ tssMsgId?: string | undefined;
474
570
  } & {
475
571
  creator?: string | undefined;
476
572
  txId?: number | undefined;
@@ -478,6 +574,7 @@ export declare const MsgFinalizeDrainTransaction: {
478
574
  success?: boolean | undefined;
479
575
  signedKey?: string | undefined;
480
576
  errReason?: string | undefined;
577
+ tssMsgId?: string | undefined;
481
578
  } & { [K in Exclude<keyof I, keyof MsgFinalizeDrainTransaction>]: never; }>(object: I): MsgFinalizeDrainTransaction;
482
579
  };
483
580
  export declare const MsgFinalizeDrainTransactionResponse: {
@@ -589,6 +686,26 @@ export declare const MsgUpdateTransferLimitParamsResponse: {
589
686
  toJSON(_: MsgUpdateTransferLimitParamsResponse): unknown;
590
687
  fromPartial<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(_: I): MsgUpdateTransferLimitParamsResponse;
591
688
  };
689
+ export declare const MsgSetFiatTransactionParams: {
690
+ encode(message: MsgSetFiatTransactionParams, writer?: _m0.Writer): _m0.Writer;
691
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetFiatTransactionParams;
692
+ fromJSON(object: any): MsgSetFiatTransactionParams;
693
+ toJSON(message: MsgSetFiatTransactionParams): unknown;
694
+ fromPartial<I extends {
695
+ authority?: string | undefined;
696
+ daca?: string | undefined;
697
+ } & {
698
+ authority?: string | undefined;
699
+ daca?: string | undefined;
700
+ } & { [K in Exclude<keyof I, keyof MsgSetFiatTransactionParams>]: never; }>(object: I): MsgSetFiatTransactionParams;
701
+ };
702
+ export declare const MsgSetFiatTransactionParamsResponse: {
703
+ encode(_: MsgSetFiatTransactionParamsResponse, writer?: _m0.Writer): _m0.Writer;
704
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgSetFiatTransactionParamsResponse;
705
+ fromJSON(_: any): MsgSetFiatTransactionParamsResponse;
706
+ toJSON(_: MsgSetFiatTransactionParamsResponse): unknown;
707
+ fromPartial<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(_: I): MsgSetFiatTransactionParamsResponse;
708
+ };
592
709
  export declare const MsgFinalizeWithdrawTransaction: {
593
710
  encode(message: MsgFinalizeWithdrawTransaction, writer?: _m0.Writer): _m0.Writer;
594
711
  decode(input: _m0.Reader | Uint8Array, length?: number): MsgFinalizeWithdrawTransaction;
@@ -601,6 +718,7 @@ export declare const MsgFinalizeWithdrawTransaction: {
601
718
  success?: boolean | undefined;
602
719
  signedKey?: string | undefined;
603
720
  errReason?: string | undefined;
721
+ tssMsgId?: string | undefined;
604
722
  } & {
605
723
  creator?: string | undefined;
606
724
  txId?: number | undefined;
@@ -608,6 +726,7 @@ export declare const MsgFinalizeWithdrawTransaction: {
608
726
  success?: boolean | undefined;
609
727
  signedKey?: string | undefined;
610
728
  errReason?: string | undefined;
729
+ tssMsgId?: string | undefined;
611
730
  } & { [K in Exclude<keyof I, keyof MsgFinalizeWithdrawTransaction>]: never; }>(object: I): MsgFinalizeWithdrawTransaction;
612
731
  };
613
732
  export declare const MsgFinalizeWithdrawTransactionResponse: {
@@ -623,6 +742,140 @@ export declare const MsgFinalizeWithdrawTransactionResponse: {
623
742
  msg?: string | undefined;
624
743
  } & { [K in Exclude<keyof I, keyof MsgFinalizeWithdrawTransactionResponse>]: never; }>(object: I): MsgFinalizeWithdrawTransactionResponse;
625
744
  };
745
+ export declare const MsgConfirmTransaction: {
746
+ encode(message: MsgConfirmTransaction, writer?: _m0.Writer): _m0.Writer;
747
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgConfirmTransaction;
748
+ fromJSON(object: any): MsgConfirmTransaction;
749
+ toJSON(message: MsgConfirmTransaction): unknown;
750
+ fromPartial<I extends {
751
+ creator?: string | undefined;
752
+ transactionId?: string | undefined;
753
+ amount?: string | undefined;
754
+ currency?: string | undefined;
755
+ confirmed?: boolean | undefined;
756
+ failReason?: string | undefined;
757
+ timestamp?: number | undefined;
758
+ } & {
759
+ creator?: string | undefined;
760
+ transactionId?: string | undefined;
761
+ amount?: string | undefined;
762
+ currency?: string | undefined;
763
+ confirmed?: boolean | undefined;
764
+ failReason?: string | undefined;
765
+ timestamp?: number | undefined;
766
+ } & { [K in Exclude<keyof I, keyof MsgConfirmTransaction>]: never; }>(object: I): MsgConfirmTransaction;
767
+ };
768
+ export declare const MsgConfirmTransactionResponse: {
769
+ encode(message: MsgConfirmTransactionResponse, writer?: _m0.Writer): _m0.Writer;
770
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgConfirmTransactionResponse;
771
+ fromJSON(object: any): MsgConfirmTransactionResponse;
772
+ toJSON(message: MsgConfirmTransactionResponse): unknown;
773
+ fromPartial<I extends {
774
+ code?: string | undefined;
775
+ msg?: string | undefined;
776
+ } & {
777
+ code?: string | undefined;
778
+ msg?: string | undefined;
779
+ } & { [K in Exclude<keyof I, keyof MsgConfirmTransactionResponse>]: never; }>(object: I): MsgConfirmTransactionResponse;
780
+ };
781
+ export declare const MsgUpdateTransactionStatus: {
782
+ encode(message: MsgUpdateTransactionStatus, writer?: _m0.Writer): _m0.Writer;
783
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateTransactionStatus;
784
+ fromJSON(object: any): MsgUpdateTransactionStatus;
785
+ toJSON(message: MsgUpdateTransactionStatus): unknown;
786
+ fromPartial<I extends {
787
+ creator?: string | undefined;
788
+ txId?: string | undefined;
789
+ newStatus?: string | undefined;
790
+ failReason?: string | undefined;
791
+ } & {
792
+ creator?: string | undefined;
793
+ txId?: string | undefined;
794
+ newStatus?: string | undefined;
795
+ failReason?: string | undefined;
796
+ } & { [K in Exclude<keyof I, keyof MsgUpdateTransactionStatus>]: never; }>(object: I): MsgUpdateTransactionStatus;
797
+ };
798
+ export declare const MsgUpdateTransactionStatusResponse: {
799
+ encode(message: MsgUpdateTransactionStatusResponse, writer?: _m0.Writer): _m0.Writer;
800
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateTransactionStatusResponse;
801
+ fromJSON(object: any): MsgUpdateTransactionStatusResponse;
802
+ toJSON(message: MsgUpdateTransactionStatusResponse): unknown;
803
+ fromPartial<I extends {
804
+ code?: string | undefined;
805
+ msg?: string | undefined;
806
+ } & {
807
+ code?: string | undefined;
808
+ msg?: string | undefined;
809
+ } & { [K in Exclude<keyof I, keyof MsgUpdateTransactionStatusResponse>]: never; }>(object: I): MsgUpdateTransactionStatusResponse;
810
+ };
811
+ export declare const MsgUpdateMaxConcurrentLimit: {
812
+ encode(message: MsgUpdateMaxConcurrentLimit, writer?: _m0.Writer): _m0.Writer;
813
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateMaxConcurrentLimit;
814
+ fromJSON(object: any): MsgUpdateMaxConcurrentLimit;
815
+ toJSON(message: MsgUpdateMaxConcurrentLimit): unknown;
816
+ fromPartial<I extends {
817
+ authority?: string | undefined;
818
+ maxLimit?: number | undefined;
819
+ } & {
820
+ authority?: string | undefined;
821
+ maxLimit?: number | undefined;
822
+ } & { [K in Exclude<keyof I, keyof MsgUpdateMaxConcurrentLimit>]: never; }>(object: I): MsgUpdateMaxConcurrentLimit;
823
+ };
824
+ export declare const MsgUpdateMaxConcurrentLimitResponse: {
825
+ encode(message: MsgUpdateMaxConcurrentLimitResponse, writer?: _m0.Writer): _m0.Writer;
826
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgUpdateMaxConcurrentLimitResponse;
827
+ fromJSON(object: any): MsgUpdateMaxConcurrentLimitResponse;
828
+ toJSON(message: MsgUpdateMaxConcurrentLimitResponse): unknown;
829
+ fromPartial<I extends {
830
+ code?: string | undefined;
831
+ msg?: string | undefined;
832
+ } & {
833
+ code?: string | undefined;
834
+ msg?: string | undefined;
835
+ } & { [K in Exclude<keyof I, keyof MsgUpdateMaxConcurrentLimitResponse>]: never; }>(object: I): MsgUpdateMaxConcurrentLimitResponse;
836
+ };
837
+ export declare const MsgRequestExternalTransaction: {
838
+ encode(message: MsgRequestExternalTransaction, writer?: _m0.Writer): _m0.Writer;
839
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgRequestExternalTransaction;
840
+ fromJSON(object: any): MsgRequestExternalTransaction;
841
+ toJSON(message: MsgRequestExternalTransaction): unknown;
842
+ fromPartial<I extends {
843
+ creator?: string | undefined;
844
+ originChain?: string | undefined;
845
+ originAddress?: string | undefined;
846
+ targetChain?: string | undefined;
847
+ targetAddress?: string | undefined;
848
+ originSymbol?: string | undefined;
849
+ targetSymbol?: string | undefined;
850
+ amount?: string | undefined;
851
+ fee?: string | undefined;
852
+ options?: string | undefined;
853
+ } & {
854
+ creator?: string | undefined;
855
+ originChain?: string | undefined;
856
+ originAddress?: string | undefined;
857
+ targetChain?: string | undefined;
858
+ targetAddress?: string | undefined;
859
+ originSymbol?: string | undefined;
860
+ targetSymbol?: string | undefined;
861
+ amount?: string | undefined;
862
+ fee?: string | undefined;
863
+ options?: string | undefined;
864
+ } & { [K in Exclude<keyof I, keyof MsgRequestExternalTransaction>]: never; }>(object: I): MsgRequestExternalTransaction;
865
+ };
866
+ export declare const MsgRequestExternalTransactionResponse: {
867
+ encode(message: MsgRequestExternalTransactionResponse, writer?: _m0.Writer): _m0.Writer;
868
+ decode(input: _m0.Reader | Uint8Array, length?: number): MsgRequestExternalTransactionResponse;
869
+ fromJSON(object: any): MsgRequestExternalTransactionResponse;
870
+ toJSON(message: MsgRequestExternalTransactionResponse): unknown;
871
+ fromPartial<I extends {
872
+ code?: string | undefined;
873
+ msg?: string | undefined;
874
+ } & {
875
+ code?: string | undefined;
876
+ msg?: string | undefined;
877
+ } & { [K in Exclude<keyof I, keyof MsgRequestExternalTransactionResponse>]: never; }>(object: I): MsgRequestExternalTransactionResponse;
878
+ };
626
879
  /** Msg defines the Msg service. */
627
880
  export interface Msg {
628
881
  RequestTransaction(request: MsgRequestTransaction): Promise<MsgRequestTransactionResponse>;
@@ -639,6 +892,11 @@ export interface Msg {
639
892
  UpdateLiquidityProvisionParams(request: MsgUpdateLiquidityProvisionParams): Promise<MsgUpdateLiquidityProvisionParamsResponse>;
640
893
  UpdateTransferLimitParams(request: MsgUpdateTransferLimitParams): Promise<MsgUpdateTransferLimitParamsResponse>;
641
894
  FinalizeWithdrawTransaction(request: MsgFinalizeWithdrawTransaction): Promise<MsgFinalizeWithdrawTransactionResponse>;
895
+ SetFiatTransactionParams(request: MsgSetFiatTransactionParams): Promise<MsgSetFiatTransactionParamsResponse>;
896
+ ConfirmTransaction(request: MsgConfirmTransaction): Promise<MsgConfirmTransactionResponse>;
897
+ UpdateTransactionStatus(request: MsgUpdateTransactionStatus): Promise<MsgUpdateTransactionStatusResponse>;
898
+ UpdateMaxConcurrentLimit(request: MsgUpdateMaxConcurrentLimit): Promise<MsgUpdateMaxConcurrentLimitResponse>;
899
+ RequestExternalTransaction(request: MsgRequestExternalTransaction): Promise<MsgRequestExternalTransactionResponse>;
642
900
  }
643
901
  export declare class MsgClientImpl implements Msg {
644
902
  private readonly rpc;
@@ -657,6 +915,11 @@ export declare class MsgClientImpl implements Msg {
657
915
  UpdateLiquidityProvisionParams(request: MsgUpdateLiquidityProvisionParams): Promise<MsgUpdateLiquidityProvisionParamsResponse>;
658
916
  UpdateTransferLimitParams(request: MsgUpdateTransferLimitParams): Promise<MsgUpdateTransferLimitParamsResponse>;
659
917
  FinalizeWithdrawTransaction(request: MsgFinalizeWithdrawTransaction): Promise<MsgFinalizeWithdrawTransactionResponse>;
918
+ SetFiatTransactionParams(request: MsgSetFiatTransactionParams): Promise<MsgSetFiatTransactionParamsResponse>;
919
+ ConfirmTransaction(request: MsgConfirmTransaction): Promise<MsgConfirmTransactionResponse>;
920
+ UpdateTransactionStatus(request: MsgUpdateTransactionStatus): Promise<MsgUpdateTransactionStatusResponse>;
921
+ UpdateMaxConcurrentLimit(request: MsgUpdateMaxConcurrentLimit): Promise<MsgUpdateMaxConcurrentLimitResponse>;
922
+ RequestExternalTransaction(request: MsgRequestExternalTransaction): Promise<MsgRequestExternalTransactionResponse>;
660
923
  }
661
924
  interface Rpc {
662
925
  request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;