@0xsequence/relayer 2.3.43 → 2.3.44

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.
@@ -245,7 +245,10 @@ class LocalRelayer extends ProviderRelayer {
245
245
  return {
246
246
  page: {
247
247
  page: 0,
248
- pageSize: 100
248
+ pageSize: 100,
249
+ more: false,
250
+ column: '',
251
+ sort: []
249
252
  },
250
253
  transactions: []
251
254
  };
@@ -259,7 +262,10 @@ class LocalRelayer extends ProviderRelayer {
259
262
  return {
260
263
  page: {
261
264
  page: 0,
262
- pageSize: 100
265
+ pageSize: 100,
266
+ more: false,
267
+ column: '',
268
+ sort: []
263
269
  },
264
270
  gasSponsors: []
265
271
  };
@@ -287,20 +293,20 @@ function isAbstractSigner(signer) {
287
293
  }
288
294
 
289
295
  /* eslint-disable */
290
- // sequence-relayer v0.4.1 7f8a4b83b00e0b6849c76c2ff0e23931e26b3d9f
296
+ // sequence-relayer v0.4.1 b5902e32e652488166fc44a95f5cda0c67e10d82
291
297
  // --
292
- // Code generated by Webrpc-gen@v0.31.2 with typescript generator. DO NOT EDIT.
298
+ // Code generated by Webrpc-gen@v0.32.2 with typescript generator. DO NOT EDIT.
293
299
  //
294
300
  // webrpc-gen -schema=relayer.ridl -target=typescript -client -out=./clients/relayer.gen.ts -compat
295
301
 
296
302
  // Webrpc description and code-gen version
297
- const WebrpcVersion = 'v1';
303
+ const WebrpcVersion = "v1";
298
304
 
299
305
  // Schema version of your RIDL schema
300
- const WebrpcSchemaVersion = 'v0.4.1';
306
+ const WebrpcSchemaVersion = "v0.4.1";
301
307
 
302
308
  // Schema hash generated from your RIDL schema
303
- const WebrpcSchemaHash = '7f8a4b83b00e0b6849c76c2ff0e23931e26b3d9f';
309
+ const WebrpcSchemaHash = "b5902e32e652488166fc44a95f5cda0c67e10d82";
304
310
 
305
311
  //
306
312
  // Client interface
@@ -310,6 +316,12 @@ const WebrpcSchemaHash = '7f8a4b83b00e0b6849c76c2ff0e23931e26b3d9f';
310
316
  // Schema types
311
317
  //
312
318
 
319
+ let RepairOperation = /*#__PURE__*/function (RepairOperation) {
320
+ RepairOperation["SKIP"] = "SKIP";
321
+ RepairOperation["REQUEUE"] = "REQUEUE";
322
+ RepairOperation["DROP"] = "DROP";
323
+ return RepairOperation;
324
+ }({});
313
325
  let ETHTxnStatus = /*#__PURE__*/function (ETHTxnStatus) {
314
326
  ETHTxnStatus["UNKNOWN"] = "UNKNOWN";
315
327
  ETHTxnStatus["DROPPED"] = "DROPPED";
@@ -319,6 +331,7 @@ let ETHTxnStatus = /*#__PURE__*/function (ETHTxnStatus) {
319
331
  ETHTxnStatus["PARTIALLY_FAILED"] = "PARTIALLY_FAILED";
320
332
  ETHTxnStatus["FAILED"] = "FAILED";
321
333
  ETHTxnStatus["PENDING_PRECONDITION"] = "PENDING_PRECONDITION";
334
+ ETHTxnStatus["MINED"] = "MINED";
322
335
  return ETHTxnStatus;
323
336
  }({});
324
337
  let TransferType = /*#__PURE__*/function (TransferType) {
@@ -345,10 +358,10 @@ let FeeTokenType = /*#__PURE__*/function (FeeTokenType) {
345
358
  FeeTokenType["ERC1155_TOKEN"] = "ERC1155_TOKEN";
346
359
  return FeeTokenType;
347
360
  }({});
348
- let SortOrder = /*#__PURE__*/function (SortOrder) {
349
- SortOrder["DESC"] = "DESC";
350
- SortOrder["ASC"] = "ASC";
351
- return SortOrder;
361
+ let Order = /*#__PURE__*/function (Order) {
362
+ Order["DESC"] = "DESC";
363
+ Order["ASC"] = "ASC";
364
+ return Order;
352
365
  }({});
353
366
  //
354
367
  // Client
@@ -373,11 +386,14 @@ class Relayer {
373
386
  updateMetaTxnGasLimits: req => ['Relayer', 'updateMetaTxnGasLimits', req],
374
387
  feeTokens: () => ['Relayer', 'feeTokens'],
375
388
  feeOptions: req => ['Relayer', 'feeOptions', req],
389
+ sendMetaTxnWithBridgeGas: req => ['Relayer', 'sendMetaTxnWithBridgeGas', req],
390
+ feeOptionsWithBridgeGas: req => ['Relayer', 'feeOptionsWithBridgeGas', req],
376
391
  getMetaTxnNetworkFeeOptions: req => ['Relayer', 'getMetaTxnNetworkFeeOptions', req],
392
+ startSender: req => ['Relayer', 'startSender', req],
393
+ stopSender: req => ['Relayer', 'stopSender', req],
394
+ repairSender: req => ['Relayer', 'repairSender', req],
377
395
  getMetaTransactions: req => ['Relayer', 'getMetaTransactions', req],
378
396
  getTransactionCost: req => ['Relayer', 'getTransactionCost', req],
379
- sentTransactions: req => ['Relayer', 'sentTransactions', req],
380
- pendingTransactions: req => ['Relayer', 'pendingTransactions', req],
381
397
  getGasTank: req => ['Relayer', 'getGasTank', req],
382
398
  addGasTank: req => ['Relayer', 'addGasTank', req],
383
399
  updateGasTank: req => ['Relayer', 'updateGasTank', req],
@@ -390,6 +406,11 @@ class Relayer {
390
406
  addGasSponsor: req => ['Relayer', 'addGasSponsor', req],
391
407
  updateGasSponsor: req => ['Relayer', 'updateGasSponsor', req],
392
408
  removeGasSponsor: req => ['Relayer', 'removeGasSponsor', req],
409
+ listEcosystemGasSponsors: req => ['Relayer', 'listEcosystemGasSponsors', req],
410
+ getEcosystemGasSponsor: req => ['Relayer', 'getEcosystemGasSponsor', req],
411
+ addEcosystemGasSponsor: req => ['Relayer', 'addEcosystemGasSponsor', req],
412
+ updateEcosystemGasSponsor: req => ['Relayer', 'updateEcosystemGasSponsor', req],
413
+ removeEcosystemGasSponsor: req => ['Relayer', 'removeEcosystemGasSponsor', req],
393
414
  addressGasSponsors: req => ['Relayer', 'addressGasSponsors', req],
394
415
  getProjectBalance: req => ['Relayer', 'getProjectBalance', req],
395
416
  adjustProjectBalance: req => ['Relayer', 'adjustProjectBalance', req]
@@ -537,6 +558,28 @@ class Relayer {
537
558
  });
538
559
  });
539
560
  };
561
+ this.sendMetaTxnWithBridgeGas = (req, headers, signal) => {
562
+ return this.fetch(this.url('SendMetaTxnWithBridgeGas'), createHttpRequest(JsonEncode(req), headers, signal)).then(res => {
563
+ return buildResponse(res).then(_data => {
564
+ return JsonDecode(_data, 'SendMetaTxnWithBridgeGasReturn');
565
+ });
566
+ }, error => {
567
+ throw WebrpcRequestFailedError.new({
568
+ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}`
569
+ });
570
+ });
571
+ };
572
+ this.feeOptionsWithBridgeGas = (req, headers, signal) => {
573
+ return this.fetch(this.url('FeeOptionsWithBridgeGas'), createHttpRequest(JsonEncode(req), headers, signal)).then(res => {
574
+ return buildResponse(res).then(_data => {
575
+ return JsonDecode(_data, 'FeeOptionsWithBridgeGasReturn');
576
+ });
577
+ }, error => {
578
+ throw WebrpcRequestFailedError.new({
579
+ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}`
580
+ });
581
+ });
582
+ };
540
583
  this.getMetaTxnNetworkFeeOptions = (req, headers, signal) => {
541
584
  return this.fetch(this.url('GetMetaTxnNetworkFeeOptions'), createHttpRequest(JsonEncode(req), headers, signal)).then(res => {
542
585
  return buildResponse(res).then(_data => {
@@ -548,10 +591,10 @@ class Relayer {
548
591
  });
549
592
  });
550
593
  };
551
- this.getMetaTransactions = (req, headers, signal) => {
552
- return this.fetch(this.url('GetMetaTransactions'), createHttpRequest(JsonEncode(req), headers, signal)).then(res => {
594
+ this.startSender = (req, headers, signal) => {
595
+ return this.fetch(this.url('StartSender'), createHttpRequest(JsonEncode(req), headers, signal)).then(res => {
553
596
  return buildResponse(res).then(_data => {
554
- return JsonDecode(_data, 'GetMetaTransactionsReturn');
597
+ return JsonDecode(_data, 'StartSenderReturn');
555
598
  });
556
599
  }, error => {
557
600
  throw WebrpcRequestFailedError.new({
@@ -559,10 +602,10 @@ class Relayer {
559
602
  });
560
603
  });
561
604
  };
562
- this.getTransactionCost = (req, headers, signal) => {
563
- return this.fetch(this.url('GetTransactionCost'), createHttpRequest(JsonEncode(req), headers, signal)).then(res => {
605
+ this.stopSender = (req, headers, signal) => {
606
+ return this.fetch(this.url('StopSender'), createHttpRequest(JsonEncode(req), headers, signal)).then(res => {
564
607
  return buildResponse(res).then(_data => {
565
- return JsonDecode(_data, 'GetTransactionCostReturn');
608
+ return JsonDecode(_data, 'StopSenderReturn');
566
609
  });
567
610
  }, error => {
568
611
  throw WebrpcRequestFailedError.new({
@@ -570,10 +613,10 @@ class Relayer {
570
613
  });
571
614
  });
572
615
  };
573
- this.sentTransactions = (req, headers, signal) => {
574
- return this.fetch(this.url('SentTransactions'), createHttpRequest(JsonEncode(req), headers, signal)).then(res => {
616
+ this.repairSender = (req, headers, signal) => {
617
+ return this.fetch(this.url('RepairSender'), createHttpRequest(JsonEncode(req), headers, signal)).then(res => {
575
618
  return buildResponse(res).then(_data => {
576
- return JsonDecode(_data, 'SentTransactionsReturn');
619
+ return JsonDecode(_data, 'RepairSenderReturn');
577
620
  });
578
621
  }, error => {
579
622
  throw WebrpcRequestFailedError.new({
@@ -581,10 +624,21 @@ class Relayer {
581
624
  });
582
625
  });
583
626
  };
584
- this.pendingTransactions = (req, headers, signal) => {
585
- return this.fetch(this.url('PendingTransactions'), createHttpRequest(JsonEncode(req), headers, signal)).then(res => {
627
+ this.getMetaTransactions = (req, headers, signal) => {
628
+ return this.fetch(this.url('GetMetaTransactions'), createHttpRequest(JsonEncode(req), headers, signal)).then(res => {
586
629
  return buildResponse(res).then(_data => {
587
- return JsonDecode(_data, 'PendingTransactionsReturn');
630
+ return JsonDecode(_data, 'GetMetaTransactionsReturn');
631
+ });
632
+ }, error => {
633
+ throw WebrpcRequestFailedError.new({
634
+ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}`
635
+ });
636
+ });
637
+ };
638
+ this.getTransactionCost = (req, headers, signal) => {
639
+ return this.fetch(this.url('GetTransactionCost'), createHttpRequest(JsonEncode(req), headers, signal)).then(res => {
640
+ return buildResponse(res).then(_data => {
641
+ return JsonDecode(_data, 'GetTransactionCostReturn');
588
642
  });
589
643
  }, error => {
590
644
  throw WebrpcRequestFailedError.new({
@@ -724,6 +778,61 @@ class Relayer {
724
778
  });
725
779
  });
726
780
  };
781
+ this.listEcosystemGasSponsors = (req, headers, signal) => {
782
+ return this.fetch(this.url('ListEcosystemGasSponsors'), createHttpRequest(JsonEncode(req), headers, signal)).then(res => {
783
+ return buildResponse(res).then(_data => {
784
+ return JsonDecode(_data, 'ListEcosystemGasSponsorsReturn');
785
+ });
786
+ }, error => {
787
+ throw WebrpcRequestFailedError.new({
788
+ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}`
789
+ });
790
+ });
791
+ };
792
+ this.getEcosystemGasSponsor = (req, headers, signal) => {
793
+ return this.fetch(this.url('GetEcosystemGasSponsor'), createHttpRequest(JsonEncode(req), headers, signal)).then(res => {
794
+ return buildResponse(res).then(_data => {
795
+ return JsonDecode(_data, 'GetEcosystemGasSponsorReturn');
796
+ });
797
+ }, error => {
798
+ throw WebrpcRequestFailedError.new({
799
+ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}`
800
+ });
801
+ });
802
+ };
803
+ this.addEcosystemGasSponsor = (req, headers, signal) => {
804
+ return this.fetch(this.url('AddEcosystemGasSponsor'), createHttpRequest(JsonEncode(req), headers, signal)).then(res => {
805
+ return buildResponse(res).then(_data => {
806
+ return JsonDecode(_data, 'AddEcosystemGasSponsorReturn');
807
+ });
808
+ }, error => {
809
+ throw WebrpcRequestFailedError.new({
810
+ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}`
811
+ });
812
+ });
813
+ };
814
+ this.updateEcosystemGasSponsor = (req, headers, signal) => {
815
+ return this.fetch(this.url('UpdateEcosystemGasSponsor'), createHttpRequest(JsonEncode(req), headers, signal)).then(res => {
816
+ return buildResponse(res).then(_data => {
817
+ return JsonDecode(_data, 'UpdateEcosystemGasSponsorReturn');
818
+ });
819
+ }, error => {
820
+ throw WebrpcRequestFailedError.new({
821
+ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}`
822
+ });
823
+ });
824
+ };
825
+ this.removeEcosystemGasSponsor = (req, headers, signal) => {
826
+ return this.fetch(this.url('RemoveEcosystemGasSponsor'), createHttpRequest(JsonEncode(req), headers, signal)).then(res => {
827
+ return buildResponse(res).then(_data => {
828
+ return JsonDecode(_data, 'RemoveEcosystemGasSponsorReturn');
829
+ });
830
+ }, error => {
831
+ throw WebrpcRequestFailedError.new({
832
+ cause: `fetch(): ${error instanceof Error ? error.message : String(error)}`
833
+ });
834
+ });
835
+ };
727
836
  this.addressGasSponsors = (req, headers, signal) => {
728
837
  return this.fetch(this.url('AddressGasSponsors'), createHttpRequest(JsonEncode(req), headers, signal)).then(res => {
729
838
  return buildResponse(res).then(_data => {
@@ -800,6 +909,7 @@ const buildResponse = res => {
800
909
 
801
910
  const BIG_INT_FIELDS = {
802
911
  SendMetaTxnArgs: [['preconditions', 'TransactionPrecondition[]']],
912
+ SendMetaTxnWithBridgeGasArgs: [['preconditions', 'TransactionPrecondition[]']],
803
913
  TransactionPrecondition: ['minAmount'],
804
914
  Transactions: [['preconditions', 'TransactionPrecondition[]']]
805
915
  };
@@ -1152,7 +1262,7 @@ class AccessKeyMismatchError extends WebrpcError {
1152
1262
  this.name = error.name || 'AccessKeyMismatch';
1153
1263
  this.code = typeof error.code === 'number' ? error.code : 1102;
1154
1264
  this.message = error.message || `Access key mismatch`;
1155
- this.status = typeof error.status === 'number' ? error.status : 409;
1265
+ this.status = typeof error.status === 'number' ? error.status : 403;
1156
1266
  if (error.cause !== undefined) this.cause = error.cause;
1157
1267
  Object.setPrototypeOf(this, AccessKeyMismatchError.prototype);
1158
1268
  }
@@ -1190,6 +1300,17 @@ class UnauthorizedUserError extends WebrpcError {
1190
1300
  Object.setPrototypeOf(this, UnauthorizedUserError.prototype);
1191
1301
  }
1192
1302
  }
1303
+ class InvalidChainError extends WebrpcError {
1304
+ constructor(error = {}) {
1305
+ super(error);
1306
+ this.name = error.name || 'InvalidChain';
1307
+ this.code = typeof error.code === 'number' ? error.code : 1106;
1308
+ this.message = error.message || `Network not enabled for Access key`;
1309
+ this.status = typeof error.status === 'number' ? error.status : 403;
1310
+ if (error.cause !== undefined) this.cause = error.cause;
1311
+ Object.setPrototypeOf(this, InvalidChainError.prototype);
1312
+ }
1313
+ }
1193
1314
  class QuotaExceededError extends WebrpcError {
1194
1315
  constructor(error = {}) {
1195
1316
  super(error);
@@ -1359,6 +1480,7 @@ let errors = /*#__PURE__*/function (errors) {
1359
1480
  errors["InvalidOrigin"] = "InvalidOrigin";
1360
1481
  errors["InvalidService"] = "InvalidService";
1361
1482
  errors["UnauthorizedUser"] = "UnauthorizedUser";
1483
+ errors["InvalidChain"] = "InvalidChain";
1362
1484
  errors["QuotaExceeded"] = "QuotaExceeded";
1363
1485
  errors["QuotaRateLimit"] = "QuotaRateLimit";
1364
1486
  errors["NoDefaultKey"] = "NoDefaultKey";
@@ -1400,6 +1522,7 @@ let WebrpcErrorCodes = /*#__PURE__*/function (WebrpcErrorCodes) {
1400
1522
  WebrpcErrorCodes[WebrpcErrorCodes["InvalidOrigin"] = 1103] = "InvalidOrigin";
1401
1523
  WebrpcErrorCodes[WebrpcErrorCodes["InvalidService"] = 1104] = "InvalidService";
1402
1524
  WebrpcErrorCodes[WebrpcErrorCodes["UnauthorizedUser"] = 1105] = "UnauthorizedUser";
1525
+ WebrpcErrorCodes[WebrpcErrorCodes["InvalidChain"] = 1106] = "InvalidChain";
1403
1526
  WebrpcErrorCodes[WebrpcErrorCodes["QuotaExceeded"] = 1200] = "QuotaExceeded";
1404
1527
  WebrpcErrorCodes[WebrpcErrorCodes["QuotaRateLimit"] = 1201] = "QuotaRateLimit";
1405
1528
  WebrpcErrorCodes[WebrpcErrorCodes["NoDefaultKey"] = 1300] = "NoDefaultKey";
@@ -1441,6 +1564,7 @@ const webrpcErrorByCode = {
1441
1564
  [1103]: InvalidOriginError,
1442
1565
  [1104]: InvalidServiceError,
1443
1566
  [1105]: UnauthorizedUserError,
1567
+ [1106]: InvalidChainError,
1444
1568
  [1200]: QuotaExceededError,
1445
1569
  [1201]: QuotaRateLimitError,
1446
1570
  [1300]: NoDefaultKeyError,
@@ -1460,41 +1584,41 @@ const webrpcErrorByCode = {
1460
1584
  // Webrpc
1461
1585
  //
1462
1586
 
1463
- const WebrpcHeader = 'Webrpc';
1464
- const WebrpcHeaderValue = 'webrpc@v0.31.2;gen-typescript@v0.23.1;sequence-relayer@v0.4.1';
1587
+ const WebrpcHeader = "Webrpc";
1588
+ const WebrpcHeaderValue = "webrpc@v0.32.2;gen-typescript@v0.23.1;sequence-relayer@v0.4.1";
1465
1589
  function VersionFromHeader(headers) {
1466
1590
  const headerValue = headers.get(WebrpcHeader);
1467
1591
  if (!headerValue) {
1468
1592
  return {
1469
- WebrpcGenVersion: '',
1470
- codeGenName: '',
1471
- codeGenVersion: '',
1472
- schemaName: '',
1473
- schemaVersion: ''
1593
+ WebrpcGenVersion: "",
1594
+ codeGenName: "",
1595
+ codeGenVersion: "",
1596
+ schemaName: "",
1597
+ schemaVersion: ""
1474
1598
  };
1475
1599
  }
1476
1600
  return parseWebrpcGenVersions(headerValue);
1477
1601
  }
1478
1602
  function parseWebrpcGenVersions(header) {
1479
- const versions = header.split(';');
1603
+ const versions = header.split(";");
1480
1604
  if (versions.length < 3) {
1481
1605
  return {
1482
- WebrpcGenVersion: '',
1483
- codeGenName: '',
1484
- codeGenVersion: '',
1485
- schemaName: '',
1486
- schemaVersion: ''
1606
+ WebrpcGenVersion: "",
1607
+ codeGenName: "",
1608
+ codeGenVersion: "",
1609
+ schemaName: "",
1610
+ schemaVersion: ""
1487
1611
  };
1488
1612
  }
1489
- const [_, WebrpcGenVersion] = versions[0].split('@');
1490
- const [codeGenName, codeGenVersion] = versions[1].split('@');
1491
- const [schemaName, schemaVersion] = versions[2].split('@');
1613
+ const [_, WebrpcGenVersion] = versions[0].split("@");
1614
+ const [codeGenName, codeGenVersion] = versions[1].split("@");
1615
+ const [schemaName, schemaVersion] = versions[2].split("@");
1492
1616
  return {
1493
- WebrpcGenVersion: WebrpcGenVersion != null ? WebrpcGenVersion : '',
1494
- codeGenName: codeGenName != null ? codeGenName : '',
1495
- codeGenVersion: codeGenVersion != null ? codeGenVersion : '',
1496
- schemaName: schemaName != null ? schemaName : '',
1497
- schemaVersion: schemaVersion != null ? schemaVersion : ''
1617
+ WebrpcGenVersion: WebrpcGenVersion != null ? WebrpcGenVersion : "",
1618
+ codeGenName: codeGenName != null ? codeGenName : "",
1619
+ codeGenVersion: codeGenVersion != null ? codeGenVersion : "",
1620
+ schemaName: schemaName != null ? schemaName : "",
1621
+ schemaVersion: schemaVersion != null ? schemaVersion : ""
1498
1622
  };
1499
1623
  }
1500
1624
 
@@ -1503,11 +1627,12 @@ var relayer_gen = /*#__PURE__*/Object.freeze({
1503
1627
  WebrpcVersion: WebrpcVersion,
1504
1628
  WebrpcSchemaVersion: WebrpcSchemaVersion,
1505
1629
  WebrpcSchemaHash: WebrpcSchemaHash,
1630
+ RepairOperation: RepairOperation,
1506
1631
  ETHTxnStatus: ETHTxnStatus,
1507
1632
  TransferType: TransferType,
1508
1633
  SimulateStatus: SimulateStatus,
1509
1634
  FeeTokenType: FeeTokenType,
1510
- SortOrder: SortOrder,
1635
+ Order: Order,
1511
1636
  Relayer: Relayer,
1512
1637
  JsonEncode: JsonEncode,
1513
1638
  JsonDecode: JsonDecode,
@@ -1537,6 +1662,7 @@ var relayer_gen = /*#__PURE__*/Object.freeze({
1537
1662
  InvalidOriginError: InvalidOriginError,
1538
1663
  InvalidServiceError: InvalidServiceError,
1539
1664
  UnauthorizedUserError: UnauthorizedUserError,
1665
+ InvalidChainError: InvalidChainError,
1540
1666
  QuotaExceededError: QuotaExceededError,
1541
1667
  QuotaRateLimitError: QuotaRateLimitError,
1542
1668
  NoDefaultKeyError: NoDefaultKeyError,
@@ -1612,13 +1738,15 @@ class RpcRelayer {
1612
1738
  while (isCancelled === undefined || !isCancelled()) {
1613
1739
  try {
1614
1740
  const {
1615
- receipt
1741
+ receipt,
1742
+ metaTxnEnqueued
1616
1743
  } = await this.service.getMetaTxnReceipt({
1617
1744
  metaTxID: metaTxnId
1618
1745
  });
1619
1746
  if (receipt && receipt.txnReceipt && receipt.txnReceipt !== 'null' && FINAL_STATUSES.includes(receipt.status)) {
1620
1747
  return {
1621
- receipt
1748
+ receipt,
1749
+ metaTxnEnqueued
1622
1750
  };
1623
1751
  }
1624
1752
  } catch (e) {