@xyo-network/gas-price-plugin 2.73.3 → 2.74.0

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.
Files changed (227) hide show
  1. package/dist/Diviner.d.mts.map +1 -0
  2. package/dist/Diviner.d.ts +16 -0
  3. package/dist/Diviner.d.ts.map +1 -0
  4. package/dist/Plugin.d.mts +50 -0
  5. package/dist/Plugin.d.mts.map +1 -0
  6. package/dist/{types/Plugin.d.ts → Plugin.d.ts} +5 -5
  7. package/dist/Plugin.d.ts.map +1 -0
  8. package/dist/Schema.d.mts.map +1 -0
  9. package/dist/Schema.d.ts +5 -0
  10. package/dist/Schema.d.ts.map +1 -0
  11. package/dist/index.d.mts.map +1 -0
  12. package/dist/{esm/index.js → index.d.ts} +1 -2
  13. package/dist/index.d.ts.map +1 -0
  14. package/dist/index.js +289 -0
  15. package/dist/index.js.map +1 -0
  16. package/dist/index.mjs +259 -0
  17. package/dist/index.mjs.map +1 -0
  18. package/dist/lib/average.d.mts.map +1 -0
  19. package/dist/lib/average.d.ts +8 -0
  20. package/dist/lib/average.d.ts.map +1 -0
  21. package/dist/lib/divineGas.d.mts.map +1 -0
  22. package/dist/lib/divineGas.d.ts +4 -0
  23. package/dist/lib/divineGas.d.ts.map +1 -0
  24. package/dist/lib/identities/index.d.mts.map +1 -0
  25. package/dist/{esm/lib/identities/index.js → lib/identities/index.d.ts} +1 -1
  26. package/dist/lib/identities/index.d.ts.map +1 -0
  27. package/dist/lib/identities/isEthereumGasBlocknativePayload.d.mts +6 -0
  28. package/dist/lib/identities/isEthereumGasBlocknativePayload.d.mts.map +1 -0
  29. package/dist/{types/lib → lib}/identities/isEthereumGasBlocknativePayload.d.ts +0 -2
  30. package/dist/lib/identities/isEthereumGasBlocknativePayload.d.ts.map +1 -0
  31. package/dist/lib/identities/isEthereumGasEtherchainV2Payload.d.mts +6 -0
  32. package/dist/lib/identities/isEthereumGasEtherchainV2Payload.d.mts.map +1 -0
  33. package/dist/{types/lib → lib}/identities/isEthereumGasEtherchainV2Payload.d.ts +0 -2
  34. package/dist/lib/identities/isEthereumGasEtherchainV2Payload.d.ts.map +1 -0
  35. package/dist/lib/identities/isEthereumGasEthersPayload.d.mts +6 -0
  36. package/dist/lib/identities/isEthereumGasEthersPayload.d.mts.map +1 -0
  37. package/dist/{types/lib → lib}/identities/isEthereumGasEthersPayload.d.ts +0 -2
  38. package/dist/lib/identities/isEthereumGasEthersPayload.d.ts.map +1 -0
  39. package/dist/lib/identities/isEthereumGasEtherscanPayload.d.mts +6 -0
  40. package/dist/lib/identities/isEthereumGasEtherscanPayload.d.mts.map +1 -0
  41. package/dist/{types/lib → lib}/identities/isEthereumGasEtherscanPayload.d.ts +0 -2
  42. package/dist/lib/identities/isEthereumGasEtherscanPayload.d.ts.map +1 -0
  43. package/dist/lib/identities/isEthereumGasEthgasstationPayload.d.mts +6 -0
  44. package/dist/lib/identities/isEthereumGasEthgasstationPayload.d.mts.map +1 -0
  45. package/dist/{types/lib → lib}/identities/isEthereumGasEthgasstationPayload.d.ts +0 -2
  46. package/dist/lib/identities/isEthereumGasEthgasstationPayload.d.ts.map +1 -0
  47. package/dist/lib/index.d.mts.map +1 -0
  48. package/dist/lib/index.d.ts +2 -0
  49. package/dist/lib/index.d.ts.map +1 -0
  50. package/dist/lib/transforms/index.d.mts.map +1 -0
  51. package/dist/{esm/lib/transforms/index.js → lib/transforms/index.d.ts} +1 -1
  52. package/dist/lib/transforms/index.d.ts.map +1 -0
  53. package/dist/lib/transforms/transformGasFromBlocknative.d.mts.map +1 -0
  54. package/dist/lib/transforms/transformGasFromBlocknative.d.ts +4 -0
  55. package/dist/lib/transforms/transformGasFromBlocknative.d.ts.map +1 -0
  56. package/dist/lib/transforms/transformGasFromEtherchainV2.d.mts.map +1 -0
  57. package/dist/lib/transforms/transformGasFromEtherchainV2.d.ts +4 -0
  58. package/dist/lib/transforms/transformGasFromEtherchainV2.d.ts.map +1 -0
  59. package/dist/lib/transforms/transformGasFromEthers.d.mts.map +1 -0
  60. package/dist/lib/transforms/transformGasFromEthers.d.ts +4 -0
  61. package/dist/lib/transforms/transformGasFromEthers.d.ts.map +1 -0
  62. package/dist/lib/transforms/transformGasFromEtherscan.d.mts.map +1 -0
  63. package/dist/lib/transforms/transformGasFromEtherscan.d.ts +4 -0
  64. package/dist/lib/transforms/transformGasFromEtherscan.d.ts.map +1 -0
  65. package/dist/lib/transforms/transformGasFromEthgasstation.d.mts.map +1 -0
  66. package/dist/lib/transforms/transformGasFromEthgasstation.d.ts +4 -0
  67. package/dist/lib/transforms/transformGasFromEthgasstation.d.ts.map +1 -0
  68. package/dist/test/index.d.mts.map +1 -0
  69. package/dist/{esm/test/index.js → test/index.d.ts} +1 -1
  70. package/dist/test/index.d.ts.map +1 -0
  71. package/dist/test/sampleBlocknativeGas.d.mts.map +1 -0
  72. package/dist/test/sampleBlocknativeGas.d.ts +3 -0
  73. package/dist/test/sampleBlocknativeGas.d.ts.map +1 -0
  74. package/dist/test/sampleEtherchainGasV2.d.mts.map +1 -0
  75. package/dist/test/sampleEtherchainGasV2.d.ts +3 -0
  76. package/dist/test/sampleEtherchainGasV2.d.ts.map +1 -0
  77. package/dist/test/sampleEthersGas.d.mts.map +1 -0
  78. package/dist/test/sampleEthersGas.d.ts +3 -0
  79. package/dist/test/sampleEthersGas.d.ts.map +1 -0
  80. package/dist/test/sampleEtherscanGas.d.mts.map +1 -0
  81. package/dist/test/sampleEtherscanGas.d.ts +3 -0
  82. package/dist/test/sampleEtherscanGas.d.ts.map +1 -0
  83. package/dist/test/sampleEthgasstationGas.d.mts.map +1 -0
  84. package/dist/test/sampleEthgasstationGas.d.ts +3 -0
  85. package/dist/test/sampleEthgasstationGas.d.ts.map +1 -0
  86. package/package.json +36 -29
  87. package/dist/cjs/Diviner.js +0 -17
  88. package/dist/cjs/Diviner.js.map +0 -1
  89. package/dist/cjs/Plugin.js +0 -15
  90. package/dist/cjs/Plugin.js.map +0 -1
  91. package/dist/cjs/Schema.js +0 -6
  92. package/dist/cjs/Schema.js.map +0 -1
  93. package/dist/cjs/index.js +0 -11
  94. package/dist/cjs/index.js.map +0 -1
  95. package/dist/cjs/lib/average.js +0 -48
  96. package/dist/cjs/lib/average.js.map +0 -1
  97. package/dist/cjs/lib/divineGas.js +0 -22
  98. package/dist/cjs/lib/divineGas.js.map +0 -1
  99. package/dist/cjs/lib/identities/index.js +0 -9
  100. package/dist/cjs/lib/identities/index.js.map +0 -1
  101. package/dist/cjs/lib/identities/isEthereumGasBlocknativePayload.js +0 -9
  102. package/dist/cjs/lib/identities/isEthereumGasBlocknativePayload.js.map +0 -1
  103. package/dist/cjs/lib/identities/isEthereumGasEtherchainV2Payload.js +0 -9
  104. package/dist/cjs/lib/identities/isEthereumGasEtherchainV2Payload.js.map +0 -1
  105. package/dist/cjs/lib/identities/isEthereumGasEthersPayload.js +0 -9
  106. package/dist/cjs/lib/identities/isEthereumGasEthersPayload.js.map +0 -1
  107. package/dist/cjs/lib/identities/isEthereumGasEtherscanPayload.js +0 -9
  108. package/dist/cjs/lib/identities/isEthereumGasEtherscanPayload.js.map +0 -1
  109. package/dist/cjs/lib/identities/isEthereumGasEthgasstationPayload.js +0 -9
  110. package/dist/cjs/lib/identities/isEthereumGasEthgasstationPayload.js.map +0 -1
  111. package/dist/cjs/lib/index.js +0 -5
  112. package/dist/cjs/lib/index.js.map +0 -1
  113. package/dist/cjs/lib/transforms/index.js +0 -9
  114. package/dist/cjs/lib/transforms/index.js.map +0 -1
  115. package/dist/cjs/lib/transforms/transformGasFromBlocknative.js +0 -52
  116. package/dist/cjs/lib/transforms/transformGasFromBlocknative.js.map +0 -1
  117. package/dist/cjs/lib/transforms/transformGasFromEtherchainV2.js +0 -19
  118. package/dist/cjs/lib/transforms/transformGasFromEtherchainV2.js.map +0 -1
  119. package/dist/cjs/lib/transforms/transformGasFromEthers.js +0 -25
  120. package/dist/cjs/lib/transforms/transformGasFromEthers.js.map +0 -1
  121. package/dist/cjs/lib/transforms/transformGasFromEtherscan.js +0 -28
  122. package/dist/cjs/lib/transforms/transformGasFromEtherscan.js.map +0 -1
  123. package/dist/cjs/lib/transforms/transformGasFromEthgasstation.js +0 -36
  124. package/dist/cjs/lib/transforms/transformGasFromEthgasstation.js.map +0 -1
  125. package/dist/cjs/test/index.js +0 -9
  126. package/dist/cjs/test/index.js.map +0 -1
  127. package/dist/cjs/test/sampleBlocknativeGas.js +0 -96
  128. package/dist/cjs/test/sampleBlocknativeGas.js.map +0 -1
  129. package/dist/cjs/test/sampleEtherchainGasV2.js +0 -18
  130. package/dist/cjs/test/sampleEtherchainGasV2.js.map +0 -1
  131. package/dist/cjs/test/sampleEthersGas.js +0 -13
  132. package/dist/cjs/test/sampleEthersGas.js.map +0 -1
  133. package/dist/cjs/test/sampleEtherscanGas.js +0 -19
  134. package/dist/cjs/test/sampleEtherscanGas.js.map +0 -1
  135. package/dist/cjs/test/sampleEthgasstationGas.js +0 -23
  136. package/dist/cjs/test/sampleEthgasstationGas.js.map +0 -1
  137. package/dist/docs.json +0 -22438
  138. package/dist/esm/Diviner.js +0 -13
  139. package/dist/esm/Diviner.js.map +0 -1
  140. package/dist/esm/Plugin.js +0 -10
  141. package/dist/esm/Plugin.js.map +0 -1
  142. package/dist/esm/Schema.js +0 -3
  143. package/dist/esm/Schema.js.map +0 -1
  144. package/dist/esm/index.js.map +0 -1
  145. package/dist/esm/lib/average.js +0 -44
  146. package/dist/esm/lib/average.js.map +0 -1
  147. package/dist/esm/lib/divineGas.js +0 -18
  148. package/dist/esm/lib/divineGas.js.map +0 -1
  149. package/dist/esm/lib/identities/index.js.map +0 -1
  150. package/dist/esm/lib/identities/isEthereumGasBlocknativePayload.js +0 -5
  151. package/dist/esm/lib/identities/isEthereumGasBlocknativePayload.js.map +0 -1
  152. package/dist/esm/lib/identities/isEthereumGasEtherchainV2Payload.js +0 -5
  153. package/dist/esm/lib/identities/isEthereumGasEtherchainV2Payload.js.map +0 -1
  154. package/dist/esm/lib/identities/isEthereumGasEthersPayload.js +0 -5
  155. package/dist/esm/lib/identities/isEthereumGasEthersPayload.js.map +0 -1
  156. package/dist/esm/lib/identities/isEthereumGasEtherscanPayload.js +0 -5
  157. package/dist/esm/lib/identities/isEthereumGasEtherscanPayload.js.map +0 -1
  158. package/dist/esm/lib/identities/isEthereumGasEthgasstationPayload.js +0 -5
  159. package/dist/esm/lib/identities/isEthereumGasEthgasstationPayload.js.map +0 -1
  160. package/dist/esm/lib/index.js +0 -2
  161. package/dist/esm/lib/index.js.map +0 -1
  162. package/dist/esm/lib/transforms/index.js.map +0 -1
  163. package/dist/esm/lib/transforms/transformGasFromBlocknative.js +0 -45
  164. package/dist/esm/lib/transforms/transformGasFromBlocknative.js.map +0 -1
  165. package/dist/esm/lib/transforms/transformGasFromEtherchainV2.js +0 -15
  166. package/dist/esm/lib/transforms/transformGasFromEtherchainV2.js.map +0 -1
  167. package/dist/esm/lib/transforms/transformGasFromEthers.js +0 -21
  168. package/dist/esm/lib/transforms/transformGasFromEthers.js.map +0 -1
  169. package/dist/esm/lib/transforms/transformGasFromEtherscan.js +0 -24
  170. package/dist/esm/lib/transforms/transformGasFromEtherscan.js.map +0 -1
  171. package/dist/esm/lib/transforms/transformGasFromEthgasstation.js +0 -32
  172. package/dist/esm/lib/transforms/transformGasFromEthgasstation.js.map +0 -1
  173. package/dist/esm/test/index.js.map +0 -1
  174. package/dist/esm/test/sampleBlocknativeGas.js +0 -93
  175. package/dist/esm/test/sampleBlocknativeGas.js.map +0 -1
  176. package/dist/esm/test/sampleEtherchainGasV2.js +0 -15
  177. package/dist/esm/test/sampleEtherchainGasV2.js.map +0 -1
  178. package/dist/esm/test/sampleEthersGas.js +0 -10
  179. package/dist/esm/test/sampleEthersGas.js.map +0 -1
  180. package/dist/esm/test/sampleEtherscanGas.js +0 -16
  181. package/dist/esm/test/sampleEtherscanGas.js.map +0 -1
  182. package/dist/esm/test/sampleEthgasstationGas.js +0 -20
  183. package/dist/esm/test/sampleEthgasstationGas.js.map +0 -1
  184. package/dist/types/Diviner.d.ts.map +0 -1
  185. package/dist/types/Plugin.d.ts.map +0 -1
  186. package/dist/types/Schema.d.ts.map +0 -1
  187. package/dist/types/index.d.ts.map +0 -1
  188. package/dist/types/lib/average.d.ts.map +0 -1
  189. package/dist/types/lib/divineGas.d.ts.map +0 -1
  190. package/dist/types/lib/identities/index.d.ts.map +0 -1
  191. package/dist/types/lib/identities/isEthereumGasBlocknativePayload.d.ts.map +0 -1
  192. package/dist/types/lib/identities/isEthereumGasEtherchainV2Payload.d.ts.map +0 -1
  193. package/dist/types/lib/identities/isEthereumGasEthersPayload.d.ts.map +0 -1
  194. package/dist/types/lib/identities/isEthereumGasEtherscanPayload.d.ts.map +0 -1
  195. package/dist/types/lib/identities/isEthereumGasEthgasstationPayload.d.ts.map +0 -1
  196. package/dist/types/lib/index.d.ts.map +0 -1
  197. package/dist/types/lib/transforms/index.d.ts.map +0 -1
  198. package/dist/types/lib/transforms/transformGasFromBlocknative.d.ts.map +0 -1
  199. package/dist/types/lib/transforms/transformGasFromEtherchainV2.d.ts.map +0 -1
  200. package/dist/types/lib/transforms/transformGasFromEthers.d.ts.map +0 -1
  201. package/dist/types/lib/transforms/transformGasFromEtherscan.d.ts.map +0 -1
  202. package/dist/types/lib/transforms/transformGasFromEthgasstation.d.ts.map +0 -1
  203. package/dist/types/test/index.d.ts.map +0 -1
  204. package/dist/types/test/sampleBlocknativeGas.d.ts.map +0 -1
  205. package/dist/types/test/sampleEtherchainGasV2.d.ts.map +0 -1
  206. package/dist/types/test/sampleEthersGas.d.ts.map +0 -1
  207. package/dist/types/test/sampleEtherscanGas.d.ts.map +0 -1
  208. package/dist/types/test/sampleEthgasstationGas.d.ts.map +0 -1
  209. /package/dist/{types/Diviner.d.ts → Diviner.d.mts} +0 -0
  210. /package/dist/{types/Schema.d.ts → Schema.d.mts} +0 -0
  211. /package/dist/{types/index.d.ts → index.d.mts} +0 -0
  212. /package/dist/{types/lib/average.d.ts → lib/average.d.mts} +0 -0
  213. /package/dist/{types/lib/divineGas.d.ts → lib/divineGas.d.mts} +0 -0
  214. /package/dist/{types/lib/identities/index.d.ts → lib/identities/index.d.mts} +0 -0
  215. /package/dist/{types/lib/index.d.ts → lib/index.d.mts} +0 -0
  216. /package/dist/{types/lib/transforms/index.d.ts → lib/transforms/index.d.mts} +0 -0
  217. /package/dist/{types/lib/transforms/transformGasFromBlocknative.d.ts → lib/transforms/transformGasFromBlocknative.d.mts} +0 -0
  218. /package/dist/{types/lib/transforms/transformGasFromEtherchainV2.d.ts → lib/transforms/transformGasFromEtherchainV2.d.mts} +0 -0
  219. /package/dist/{types/lib/transforms/transformGasFromEthers.d.ts → lib/transforms/transformGasFromEthers.d.mts} +0 -0
  220. /package/dist/{types/lib/transforms/transformGasFromEtherscan.d.ts → lib/transforms/transformGasFromEtherscan.d.mts} +0 -0
  221. /package/dist/{types/lib/transforms/transformGasFromEthgasstation.d.ts → lib/transforms/transformGasFromEthgasstation.d.mts} +0 -0
  222. /package/dist/{types/test/index.d.ts → test/index.d.mts} +0 -0
  223. /package/dist/{types/test/sampleBlocknativeGas.d.ts → test/sampleBlocknativeGas.d.mts} +0 -0
  224. /package/dist/{types/test/sampleEtherchainGasV2.d.ts → test/sampleEtherchainGasV2.d.mts} +0 -0
  225. /package/dist/{types/test/sampleEthersGas.d.ts → test/sampleEthersGas.d.mts} +0 -0
  226. /package/dist/{types/test/sampleEtherscanGas.d.ts → test/sampleEtherscanGas.d.mts} +0 -0
  227. /package/dist/{types/test/sampleEthgasstationGas.d.ts → test/sampleEthgasstationGas.d.mts} +0 -0
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./sampleBlocknativeGas"), exports);
5
- tslib_1.__exportStar(require("./sampleEtherchainGasV2"), exports);
6
- tslib_1.__exportStar(require("./sampleEtherscanGas"), exports);
7
- tslib_1.__exportStar(require("./sampleEthersGas"), exports);
8
- tslib_1.__exportStar(require("./sampleEthgasstationGas"), exports);
9
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/test/index.ts"],"names":[],"mappings":";;;AAAA,iEAAsC;AACtC,kEAAuC;AACvC,+DAAoC;AACpC,4DAAiC;AACjC,mEAAwC"}
@@ -1,96 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.sampleBlocknativeGas = void 0;
4
- const blocknative_ethereum_gas_payload_plugin_1 = require("@xyo-network/blocknative-ethereum-gas-payload-plugin");
5
- exports.sampleBlocknativeGas = {
6
- blockPrices: [
7
- {
8
- baseFeePerGas: 13.691764456,
9
- blockNumber: 16028191,
10
- estimatedPrices: [
11
- {
12
- confidence: 99,
13
- maxFeePerGas: 22.04,
14
- maxPriorityFeePerGas: 1.09,
15
- price: 14,
16
- },
17
- {
18
- confidence: 95,
19
- maxFeePerGas: 21.58,
20
- maxPriorityFeePerGas: 0.63,
21
- price: 14,
22
- },
23
- {
24
- confidence: 90,
25
- maxFeePerGas: 21.25,
26
- maxPriorityFeePerGas: 0.3,
27
- price: 13,
28
- },
29
- {
30
- confidence: 80,
31
- maxFeePerGas: 21.16,
32
- maxPriorityFeePerGas: 0.21,
33
- price: 13,
34
- },
35
- {
36
- confidence: 70,
37
- maxFeePerGas: 21.12,
38
- maxPriorityFeePerGas: 0.17,
39
- price: 13,
40
- },
41
- ],
42
- estimatedTransactionCount: 69,
43
- },
44
- ],
45
- currentBlockNumber: 16028190,
46
- estimatedBaseFees: [
47
- {
48
- 'pending+1': [
49
- {
50
- baseFee: 15.41,
51
- confidence: 99,
52
- },
53
- ],
54
- },
55
- {
56
- 'pending+2': [
57
- {
58
- baseFee: 17.32,
59
- confidence: 99,
60
- },
61
- ],
62
- },
63
- {
64
- 'pending+3': [
65
- {
66
- baseFee: 19.17,
67
- confidence: 99,
68
- },
69
- ],
70
- },
71
- {
72
- 'pending+4': [
73
- {
74
- baseFee: 20.12,
75
- confidence: 99,
76
- },
77
- ],
78
- },
79
- {
80
- 'pending+5': [
81
- {
82
- baseFee: 20.95,
83
- confidence: 99,
84
- },
85
- ],
86
- },
87
- ],
88
- maxPrice: 36,
89
- msSinceLastBlock: 3643,
90
- network: 'main',
91
- schema: blocknative_ethereum_gas_payload_plugin_1.EthereumGasBlocknativeSchema,
92
- system: 'ethereum',
93
- timestamp: 1668697958837,
94
- unit: 'gwei',
95
- };
96
- //# sourceMappingURL=sampleBlocknativeGas.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sampleBlocknativeGas.js","sourceRoot":"","sources":["../../../src/test/sampleBlocknativeGas.ts"],"names":[],"mappings":";;;AAAA,kHAAoJ;AAEvI,QAAA,oBAAoB,GAAkC;IACjE,WAAW,EAAE;QACX;YACE,aAAa,EAAE,YAAY;YAC3B,WAAW,EAAE,QAAQ;YACrB,eAAe,EAAE;gBACf;oBACE,UAAU,EAAE,EAAE;oBACd,YAAY,EAAE,KAAK;oBACnB,oBAAoB,EAAE,IAAI;oBAC1B,KAAK,EAAE,EAAE;iBACV;gBACD;oBACE,UAAU,EAAE,EAAE;oBACd,YAAY,EAAE,KAAK;oBACnB,oBAAoB,EAAE,IAAI;oBAC1B,KAAK,EAAE,EAAE;iBACV;gBACD;oBACE,UAAU,EAAE,EAAE;oBACd,YAAY,EAAE,KAAK;oBACnB,oBAAoB,EAAE,GAAG;oBACzB,KAAK,EAAE,EAAE;iBACV;gBACD;oBACE,UAAU,EAAE,EAAE;oBACd,YAAY,EAAE,KAAK;oBACnB,oBAAoB,EAAE,IAAI;oBAC1B,KAAK,EAAE,EAAE;iBACV;gBACD;oBACE,UAAU,EAAE,EAAE;oBACd,YAAY,EAAE,KAAK;oBACnB,oBAAoB,EAAE,IAAI;oBAC1B,KAAK,EAAE,EAAE;iBACV;aACF;YACD,yBAAyB,EAAE,EAAE;SAC9B;KACF;IACD,kBAAkB,EAAE,QAAQ;IAC5B,iBAAiB,EAAE;QACjB;YACE,WAAW,EAAE;gBACX;oBACE,OAAO,EAAE,KAAK;oBACd,UAAU,EAAE,EAAE;iBACf;aACF;SACF;QACD;YACE,WAAW,EAAE;gBACX;oBACE,OAAO,EAAE,KAAK;oBACd,UAAU,EAAE,EAAE;iBACf;aACF;SACF;QACD;YACE,WAAW,EAAE;gBACX;oBACE,OAAO,EAAE,KAAK;oBACd,UAAU,EAAE,EAAE;iBACf;aACF;SACF;QACD;YACE,WAAW,EAAE;gBACX;oBACE,OAAO,EAAE,KAAK;oBACd,UAAU,EAAE,EAAE;iBACf;aACF;SACF;QACD;YACE,WAAW,EAAE;gBACX;oBACE,OAAO,EAAE,KAAK;oBACd,UAAU,EAAE,EAAE;iBACf;aACF;SACF;KAC+B;IAClC,QAAQ,EAAE,EAAE;IACZ,gBAAgB,EAAE,IAAI;IACtB,OAAO,EAAE,MAAM;IACf,MAAM,EAAE,sEAA4B;IACpC,MAAM,EAAE,UAAU;IAClB,SAAS,EAAE,aAAa;IACxB,IAAI,EAAE,MAAM;CACb,CAAA"}
@@ -1,18 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.sampleEtherchainGasV2 = void 0;
4
- const etherchain_gas_ethereum_blockchain_payload_plugins_1 = require("@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins");
5
- exports.sampleEtherchainGasV2 = {
6
- code: 200,
7
- data: {
8
- fast: 19803047330,
9
- priceUSD: 1195.77,
10
- rapid: 29714286170,
11
- slow: 11200000000,
12
- standard: 12000000000,
13
- timestamp: 1668621234096,
14
- },
15
- schema: etherchain_gas_ethereum_blockchain_payload_plugins_1.EthereumGasEtherchainV2Schema,
16
- timestamp: 1668621240790,
17
- };
18
- //# sourceMappingURL=sampleEtherchainGasV2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sampleEtherchainGasV2.js","sourceRoot":"","sources":["../../../src/test/sampleEtherchainGasV2.ts"],"names":[],"mappings":";;;AAAA,wIAA+I;AAElI,QAAA,qBAAqB,GAAmC;IACnE,IAAI,EAAE,GAAG;IACT,IAAI,EAAE;QACJ,IAAI,EAAE,WAAW;QACjB,QAAQ,EAAE,OAAO;QACjB,KAAK,EAAE,WAAW;QAClB,IAAI,EAAE,WAAW;QACjB,QAAQ,EAAE,WAAW;QACrB,SAAS,EAAE,aAAa;KACzB;IACD,MAAM,EAAE,kFAA6B;IACrC,SAAS,EAAE,aAAa;CACzB,CAAA"}
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.sampleEthersGas = void 0;
4
- const ethers_ethereum_gas_payload_plugin_1 = require("@xyo-network/ethers-ethereum-gas-payload-plugin");
5
- exports.sampleEthersGas = {
6
- gasPrice: 13547863640,
7
- lastBaseFeePerGas: 13447862081,
8
- maxFeePerGas: 28395724162,
9
- maxPriorityFeePerGas: 1500000000,
10
- schema: ethers_ethereum_gas_payload_plugin_1.EthereumGasEthersSchema,
11
- timestamp: 1668697958837,
12
- };
13
- //# sourceMappingURL=sampleEthersGas.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sampleEthersGas.js","sourceRoot":"","sources":["../../../src/test/sampleEthersGas.ts"],"names":[],"mappings":";;;AAAA,wGAAmH;AAEtG,QAAA,eAAe,GAA6B;IACvD,QAAQ,EAAE,WAAW;IACrB,iBAAiB,EAAE,WAAW;IAC9B,YAAY,EAAE,WAAW;IACzB,oBAAoB,EAAE,UAAU;IAChC,MAAM,EAAE,4DAAuB;IAC/B,SAAS,EAAE,aAAa;CACzB,CAAA"}
@@ -1,19 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.sampleEtherscanGas = void 0;
4
- const etherscan_ethereum_gas_payload_plugin_1 = require("@xyo-network/etherscan-ethereum-gas-payload-plugin");
5
- exports.sampleEtherscanGas = {
6
- message: 'OK',
7
- result: {
8
- FastGasPrice: '30',
9
- LastBlock: '15990556',
10
- ProposeGasPrice: '29',
11
- SafeGasPrice: '28',
12
- gasUsedRatio: '0.416266666666667,0.5672862,0.540979033333333,0.342410966666667,0.389071233333333',
13
- suggestBaseFee: '27.616709247',
14
- },
15
- schema: etherscan_ethereum_gas_payload_plugin_1.EthereumGasEtherscanSchema,
16
- status: '1',
17
- timestamp: 1668697958837,
18
- };
19
- //# sourceMappingURL=sampleEtherscanGas.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sampleEtherscanGas.js","sourceRoot":"","sources":["../../../src/test/sampleEtherscanGas.ts"],"names":[],"mappings":";;;AAAA,8GAA4H;AAE/G,QAAA,kBAAkB,GAAgC;IAC7D,OAAO,EAAE,IAAI;IACb,MAAM,EAAE;QACN,YAAY,EAAE,IAAI;QAClB,SAAS,EAAE,UAAU;QACrB,eAAe,EAAE,IAAI;QACrB,YAAY,EAAE,IAAI;QAClB,YAAY,EAAE,mFAAmF;QACjG,cAAc,EAAE,cAAc;KAC/B;IACD,MAAM,EAAE,kEAA0B;IAClC,MAAM,EAAE,GAAG;IACX,SAAS,EAAE,aAAa;CACzB,CAAA"}
@@ -1,23 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.sampleEthgasstationGas = void 0;
4
- const ethgasstation_ethereum_gas_payload_plugin_1 = require("@xyo-network/ethgasstation-ethereum-gas-payload-plugin");
5
- exports.sampleEthgasstationGas = {
6
- baseFee: 10,
7
- blockNumber: 16028883,
8
- blockTime: 11.88,
9
- gasPrice: {
10
- fast: 12,
11
- instant: 13,
12
- standard: 12,
13
- },
14
- nextBaseFee: 10,
15
- priorityFee: {
16
- fast: 2,
17
- instant: 2,
18
- standard: 2,
19
- },
20
- schema: ethgasstation_ethereum_gas_payload_plugin_1.EthereumGasEthgasstationSchema,
21
- timestamp: 1668697958837,
22
- };
23
- //# sourceMappingURL=sampleEthgasstationGas.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sampleEthgasstationGas.js","sourceRoot":"","sources":["../../../src/test/sampleEthgasstationGas.ts"],"names":[],"mappings":";;;AAAA,sHAAwI;AAE3H,QAAA,sBAAsB,GAAoC;IACrE,OAAO,EAAE,EAAE;IACX,WAAW,EAAE,QAAQ;IACrB,SAAS,EAAE,KAAK;IAChB,QAAQ,EAAE;QACR,IAAI,EAAE,EAAE;QACR,OAAO,EAAE,EAAE;QACX,QAAQ,EAAE,EAAE;KACb;IACD,WAAW,EAAE,EAAE;IACf,WAAW,EAAE;QACX,IAAI,EAAE,CAAC;QACP,OAAO,EAAE,CAAC;QACV,QAAQ,EAAE,CAAC;KACZ;IACD,MAAM,EAAE,0EAA8B;IACtC,SAAS,EAAE,aAAa;CACzB,CAAA"}