@indexing/jiti 0.0.55 → 0.0.57

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/dist/main.js CHANGED
@@ -781,15 +781,16 @@ const $f9ab50a3e879ac1c$export$b5fd4920e8b7d913 = {
781
781
  ].includes(message.typeUrl)) {
782
782
  const decodedMsg = registry.decode(message);
783
783
  transfers.push({
784
+ amount: BigInt(decodedMsg.token?.amount || decodedMsg.amount?.find((a)=>a?.amount)?.amount || 0),
784
785
  blockNumber: blockNumber,
785
- from: decodedMsg.sender,
786
- to: decodedMsg.receiver,
787
- amount: BigInt(decodedMsg.token?.amount || 0),
788
- token: decodedMsg.token?.denom,
789
- tokenType: "NATIVE",
786
+ from: decodedMsg.sender || decodedMsg.fromAddress,
787
+ memo: decodedMsg.memo,
790
788
  timestamp: blockTimestamp,
791
- transactionHash: txHash.slice(2).toUpperCase(),
792
- transactionGasFee: transactionGasFee
789
+ to: decodedMsg.receiver || decodedMsg.toAddress,
790
+ token: decodedMsg.token?.denom || decodedMsg.amount?.find((a)=>a?.denom)?.denom,
791
+ tokenType: "NATIVE",
792
+ transactionGasFee: transactionGasFee,
793
+ transactionHash: txHash.slice(2).toUpperCase()
793
794
  });
794
795
  }
795
796
  }
@@ -799,21 +800,21 @@ const $f9ab50a3e879ac1c$export$b5fd4920e8b7d913 = {
799
800
  {
800
801
  params: {
801
802
  network: "COSMOS",
802
- walletAddress: "cosmos1x4qvmtcfc02pklttfgxzdccxcsyzklrxavteyz",
803
- contractAddress: "ibc/F663521BF1836B00F5F177680F74BFB9A8B5654A694D0D2BC249E03CF2509013"
803
+ walletAddress: "cosmos1q9d0rjr687a37lckllujf6dmtnympx9g5ca37u"
804
804
  },
805
- payload: "https://jiti.indexing.co/networks/cosmos/24419691",
805
+ payload: "https://jiti.indexing.co/networks/cosmos/28168958",
806
806
  output: [
807
807
  {
808
- blockNumber: 24419691,
809
- from: "cosmos1x4qvmtcfc02pklttfgxzdccxcsyzklrxavteyz",
810
- to: "noble1x4qvmtcfc02pklttfgxzdccxcsyzklrx4073uv",
811
- amount: 500000n,
812
- token: "ibc/F663521BF1836B00F5F177680F74BFB9A8B5654A694D0D2BC249E03CF2509013",
808
+ amount: 31684895n,
809
+ blockNumber: 28168958,
810
+ from: "cosmos1q9d0rjr687a37lckllujf6dmtnympx9g5ca37u",
811
+ memo: '{"wasm":{"contract":"neutron1zvesudsdfxusz06jztpph4d3h5x6veglqsspxns2v2jqml9nhywskcc923","msg":{"swap_and_action":{"user_swap":{"swap_exact_asset_in":{"swap_venue_name":"neutron-duality","operations":[{"pool":"564172","denom_in":"ibc/C4CFF46FD6DE35CA4CF4CE031E643C8FDC9BA4B99AE598E9B0ED98FE3A2319F9","denom_out":"ibc/B559A80D62249C8AA07A380E2A2BEA6E5CA9A6F079C912C3A9E9B494105E4F81"},{"pool":"495849","denom_in":"ibc/B559A80D62249C8AA07A380E2A2BEA6E5CA9A6F079C912C3A9E9B494105E4F81","denom_out":"ibc/376222D6D9DAE23092E29740E56B758580935A6D77C24C2ABD57A6A78A1F3955"}]}},"min_asset":{"native":{"denom":"ibc/376222D6D9DAE23092E29740E56B758580935A6D77C24C2ABD57A6A78A1F3955","amount":"817899530"}},"timeout_timestamp":1761673107828834380,"post_swap_action":{"ibc_transfer":{"ibc_info":{"source_channel":"channel-10","receiver":"osmo1q9d0rjr687a37lckllujf6dmtnympx9gurwpgw","fee":{"recv_fee":[],"ack_fee":[{"denom":"untrn","amount":"100000"}],"timeout_fee":[{"denom":"untrn","amount":"100000"}]},"memo":"","recover_address":"neutron1q9d0rjr687a37lckllujf6dmtnympx9gs85nym"},"fee_swap":{"swap_venue_name":"neutron-duality","operations":[{"pool":"2769551","denom_in":"ibc/C4CFF46FD6DE35CA4CF4CE031E643C8FDC9BA4B99AE598E9B0ED98FE3A2319F9","denom_out":"ibc/B559A80D62249C8AA07A380E2A2BEA6E5CA9A6F079C912C3A9E9B494105E4F81"},{"pool":"717963","denom_in":"ibc/B559A80D62249C8AA07A380E2A2BEA6E5CA9A6F079C912C3A9E9B494105E4F81","denom_out":"untrn"}],"refund_address":"neutron1q9d0rjr687a37lckllujf6dmtnympx9gs85nym"}}},"affiliates":[{"basis_points_fee":"60","address":"neutron15tw0qy5sspq2sgef77vhhykhtphlrv57ju78e4"},{"basis_points_fee":"15","address":"neutron14gf6xslwe9phn2z965t4dcu7vchhthfgqw99g3"}]}}}}',
812
+ timestamp: "2025-10-28T17:33:35.080Z",
813
+ to: "neutron1zvesudsdfxusz06jztpph4d3h5x6veglqsspxns2v2jqml9nhywskcc923",
814
+ token: "uatom",
813
815
  tokenType: "NATIVE",
814
- timestamp: "2025-02-14T21:48:22.809Z",
815
- transactionHash: "963D4D7BB59C1280F58A7ECA2F1934E2AA005109A989193C815C7B98EDCD7445",
816
- transactionGasFee: 4860n
816
+ transactionGasFee: 2201n,
817
+ transactionHash: "DA3680301DEB2C5D4F12F695C252CB75612792952AD12A699C80B261E8A029E3"
817
818
  }
818
819
  ]
819
820
  }
@@ -1073,6 +1074,7 @@ const $2e46ec862e47c14f$export$400f08bfae9ee97f = {
1073
1074
  amount: parsedAmount,
1074
1075
  blockNumber: parseInt(block.ledger_index, 10),
1075
1076
  from: typedTx.Account ?? "UNKNOWN",
1077
+ memo: typedTx.DestinationTag,
1076
1078
  timestamp: block.close_time_iso ? block.close_time_iso : null,
1077
1079
  to: typedTx.Destination ?? "UNKNOWN",
1078
1080
  token: tokenSymbol,
@@ -1087,21 +1089,22 @@ const $2e46ec862e47c14f$export$400f08bfae9ee97f = {
1087
1089
  {
1088
1090
  params: {
1089
1091
  network: "RIPPLE",
1090
- walletAddress: "rUUgoiJmjTPEbxfZ4RsS9pVS9Kv813Wpui",
1092
+ walletAddress: "rnDGxzUM2snx58Bvyn72xhJKqvkDxo2tQm",
1091
1093
  contractAddress: ""
1092
1094
  },
1093
1095
  payload: "https://jiti.indexing.co/networks/ripple/88104659",
1094
1096
  output: [
1095
1097
  {
1096
- amount: 238n,
1098
+ amount: 43110000n,
1097
1099
  blockNumber: 88104659,
1098
- from: "rMAGnTv4eMWktZnhKa5cHcDiY84ZiKUaQm",
1100
+ from: "rMvCasZ9cohYrSZRNYPTZfoaaSUQMfgQ8G",
1101
+ memo: 30195674,
1099
1102
  timestamp: "2024-05-19T22:18:52Z",
1100
- to: "rUUgoiJmjTPEbxfZ4RsS9pVS9Kv813Wpui",
1103
+ to: "rnDGxzUM2snx58Bvyn72xhJKqvkDxo2tQm",
1101
1104
  token: "XRP",
1102
1105
  tokenType: "NATIVE",
1103
- transactionGasFee: 15n,
1104
- transactionHash: "03564E6109261CDE73FCC5062C2A0A70F365CB1A0F9408C065B60EC3E94E4DBF"
1106
+ transactionGasFee: 10000n,
1107
+ transactionHash: "B32A6A5455777283212407FBD8CCA701505C654E5F4ADFFBE9D4D22F00889D87"
1105
1108
  }
1106
1109
  ]
1107
1110
  }
@@ -1726,6 +1729,7 @@ const $3478cd776d185339$export$681f497010b17679 = {
1726
1729
  amount: BigInt(op.amount.replace(".", "")),
1727
1730
  blockNumber: block.sequence,
1728
1731
  from: op.from,
1732
+ memo: typedTx.memo,
1729
1733
  timestamp: typedTx.created_at,
1730
1734
  to: op.to,
1731
1735
  token: op.asset_type === "native" ? null : op.asset_issuer,
@@ -1740,21 +1744,33 @@ const $3478cd776d185339$export$681f497010b17679 = {
1740
1744
  {
1741
1745
  params: {
1742
1746
  network: "STELLAR",
1743
- walletAddress: "GA5KLTNAWV27IOTBX5PKUOMVWFMLX4X7CPMQJ4QLR3G266MMVL7NMA4X",
1744
- contractAddress: "GC4Z2TDXU4GXVLHOS5P5SU6HKBCP7NKN4TJ5ZGTVRBW7MCBZTU7SNUSA"
1747
+ walletAddress: "GC5HUFIKZBK5XRNOBPXR4PBR3PWR26GP5UFRKSCOOOIENYVSF3NMA23U"
1745
1748
  },
1746
- payload: "https://jiti.indexing.co/networks/stellar/51720546",
1749
+ payload: "https://jiti.indexing.co/networks/stellar/59592273",
1747
1750
  output: [
1748
1751
  {
1749
- amount: 150000n,
1750
- blockNumber: 51720546,
1751
- from: "GA5KLTNAWV27IOTBX5PKUOMVWFMLX4X7CPMQJ4QLR3G266MMVL7NMA4X",
1752
- timestamp: "2024-05-18T04:41:39Z",
1753
- to: "GC4Z2TDXU4GXVLHOS5P5SU6HKBCP7NKN4TJ5ZGTVRBW7MCBZTU7SNUSA",
1754
- token: "GC4Z2TDXU4GXVLHOS5P5SU6HKBCP7NKN4TJ5ZGTVRBW7MCBZTU7SNUSA",
1752
+ amount: 651200000n,
1753
+ blockNumber: 59592273,
1754
+ from: "GC5HUFIKZBK5XRNOBPXR4PBR3PWR26GP5UFRKSCOOOIENYVSF3NMA23U",
1755
+ memo: "315004227",
1756
+ timestamp: "2025-10-28T17:24:17Z",
1757
+ to: "GABFQIK63R2NETJM7T673EAMZN4RJLLGP3OFUEJU5SZVTGWUKULZJNL6",
1758
+ token: "GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN",
1759
+ tokenType: "TOKEN",
1760
+ transactionGasFee: 200n,
1761
+ transactionHash: "a0e5f0cbc64a13816db1d8428c4e2f849ed9ec475b80d4cbd23a8119b1b1c010"
1762
+ },
1763
+ {
1764
+ amount: 4445100000n,
1765
+ blockNumber: 59592273,
1766
+ from: "GAUA7XL5K54CC2DDGP77FJ2YBHRJLT36CPZDXWPM6MP7MANOGG77PNJU",
1767
+ memo: undefined,
1768
+ timestamp: "2025-10-28T17:24:17Z",
1769
+ to: "GC5HUFIKZBK5XRNOBPXR4PBR3PWR26GP5UFRKSCOOOIENYVSF3NMA23U",
1770
+ token: "GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN",
1755
1771
  tokenType: "TOKEN",
1756
- transactionGasFee: 100n,
1757
- transactionHash: "4fb2441210cbe87f5003abdfa86f03bafa54f789ed041feccbda0bd054297c4d"
1772
+ transactionGasFee: 300n,
1773
+ transactionHash: "c554aed41145304e03c0877c9de526cdcb8a8255c9bf156ff0dec202ab12e20d"
1758
1774
  }
1759
1775
  ]
1760
1776
  }