@cityofzion/bs-ethereum 2.2.2 → 2.2.3
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.
|
@@ -57,7 +57,7 @@ class BlockscoutNeoXBDSEthereum extends RpcBDSEthereum_1.RpcBDSEthereum {
|
|
|
57
57
|
block: data.block,
|
|
58
58
|
hash: data.hash,
|
|
59
59
|
fee: ethers_1.ethers.utils.formatUnits(data.fee.value, nativeToken.decimals),
|
|
60
|
-
time: new Date(data.timestamp).getTime(),
|
|
60
|
+
time: new Date(data.timestamp).getTime() / 1000,
|
|
61
61
|
notifications: [],
|
|
62
62
|
transfers,
|
|
63
63
|
};
|
|
@@ -85,7 +85,7 @@ class BlockscoutNeoXBDSEthereum extends RpcBDSEthereum_1.RpcBDSEthereum {
|
|
|
85
85
|
block: item.block,
|
|
86
86
|
hash: item.hash,
|
|
87
87
|
fee: ethers_1.ethers.utils.formatUnits(item.fee.value, nativeToken.decimals),
|
|
88
|
-
time: new Date(item.timestamp).getTime(),
|
|
88
|
+
time: new Date(item.timestamp).getTime() / 1000,
|
|
89
89
|
notifications: [],
|
|
90
90
|
transfers,
|
|
91
91
|
});
|
|
@@ -161,7 +161,7 @@ class MoralisBDSEthereum extends RpcBDSEthereum_1.RpcBDSEthereum {
|
|
|
161
161
|
block: Number(data.block_number),
|
|
162
162
|
hash,
|
|
163
163
|
notifications: [],
|
|
164
|
-
time: new Date(data.block_timestamp).getTime(),
|
|
164
|
+
time: new Date(data.block_timestamp).getTime() / 1000,
|
|
165
165
|
transfers,
|
|
166
166
|
fee: data.transaction_fee,
|
|
167
167
|
};
|
|
@@ -226,7 +226,7 @@ class MoralisBDSEthereum extends RpcBDSEthereum_1.RpcBDSEthereum {
|
|
|
226
226
|
block: Number(item.block_number),
|
|
227
227
|
hash: item.hash,
|
|
228
228
|
notifications: [],
|
|
229
|
-
time: new Date(item.block_timestamp).getTime(),
|
|
229
|
+
time: new Date(item.block_timestamp).getTime() / 1000,
|
|
230
230
|
transfers,
|
|
231
231
|
fee: item.transaction_fee,
|
|
232
232
|
});
|