@xyo-network/gas-price-plugin 2.74.5 → 2.75.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 (454) hide show
  1. package/dist/browser/Diviner.cjs +257 -0
  2. package/dist/browser/Diviner.cjs.map +1 -0
  3. package/dist/browser/Diviner.d.mts.map +1 -0
  4. package/dist/browser/Diviner.d.ts.map +1 -0
  5. package/dist/browser/Diviner.js +236 -0
  6. package/dist/browser/Diviner.js.map +1 -0
  7. package/dist/browser/Plugin.cjs +272 -0
  8. package/dist/browser/Plugin.cjs.map +1 -0
  9. package/dist/browser/Plugin.d.mts.map +1 -0
  10. package/dist/browser/Plugin.d.ts.map +1 -0
  11. package/dist/browser/Plugin.js +251 -0
  12. package/dist/browser/Plugin.js.map +1 -0
  13. package/dist/browser/Schema.cjs +29 -0
  14. package/dist/browser/Schema.cjs.map +1 -0
  15. package/dist/browser/Schema.d.mts.map +1 -0
  16. package/dist/browser/Schema.d.ts.map +1 -0
  17. package/dist/browser/Schema.js +8 -0
  18. package/dist/browser/Schema.js.map +1 -0
  19. package/dist/{index.js → browser/index.cjs} +1 -8
  20. package/dist/browser/index.cjs.map +1 -0
  21. package/dist/browser/index.d.mts.map +1 -0
  22. package/dist/browser/index.d.ts.map +1 -0
  23. package/dist/{index.mjs → browser/index.js} +1 -1
  24. package/dist/browser/index.js.map +1 -0
  25. package/dist/browser/lib/average.cjs +50 -0
  26. package/dist/browser/lib/average.cjs.map +1 -0
  27. package/dist/browser/lib/average.d.mts.map +1 -0
  28. package/dist/browser/lib/average.d.ts.map +1 -0
  29. package/dist/browser/lib/average.js +29 -0
  30. package/dist/browser/lib/average.js.map +1 -0
  31. package/dist/browser/lib/divineGas.cjs +240 -0
  32. package/dist/browser/lib/divineGas.cjs.map +1 -0
  33. package/dist/browser/lib/divineGas.d.mts.map +1 -0
  34. package/dist/browser/lib/divineGas.d.ts.map +1 -0
  35. package/dist/browser/lib/divineGas.js +219 -0
  36. package/dist/browser/lib/divineGas.js.map +1 -0
  37. package/dist/browser/lib/identities/index.cjs +60 -0
  38. package/dist/browser/lib/identities/index.cjs.map +1 -0
  39. package/dist/browser/lib/identities/index.d.mts.map +1 -0
  40. package/dist/browser/lib/identities/index.d.ts.map +1 -0
  41. package/dist/browser/lib/identities/index.js +37 -0
  42. package/dist/browser/lib/identities/index.js.map +1 -0
  43. package/dist/browser/lib/identities/isEthereumGasBlocknativePayload.cjs +30 -0
  44. package/dist/browser/lib/identities/isEthereumGasBlocknativePayload.cjs.map +1 -0
  45. package/dist/browser/lib/identities/isEthereumGasBlocknativePayload.d.mts.map +1 -0
  46. package/dist/browser/lib/identities/isEthereumGasBlocknativePayload.d.ts.map +1 -0
  47. package/dist/browser/lib/identities/isEthereumGasBlocknativePayload.js +9 -0
  48. package/dist/browser/lib/identities/isEthereumGasBlocknativePayload.js.map +1 -0
  49. package/dist/browser/lib/identities/isEthereumGasEtherchainV2Payload.cjs +30 -0
  50. package/dist/browser/lib/identities/isEthereumGasEtherchainV2Payload.cjs.map +1 -0
  51. package/dist/browser/lib/identities/isEthereumGasEtherchainV2Payload.d.mts.map +1 -0
  52. package/dist/browser/lib/identities/isEthereumGasEtherchainV2Payload.d.ts.map +1 -0
  53. package/dist/browser/lib/identities/isEthereumGasEtherchainV2Payload.js +9 -0
  54. package/dist/browser/lib/identities/isEthereumGasEtherchainV2Payload.js.map +1 -0
  55. package/dist/browser/lib/identities/isEthereumGasEthersPayload.cjs +30 -0
  56. package/dist/browser/lib/identities/isEthereumGasEthersPayload.cjs.map +1 -0
  57. package/dist/browser/lib/identities/isEthereumGasEthersPayload.d.mts.map +1 -0
  58. package/dist/browser/lib/identities/isEthereumGasEthersPayload.d.ts.map +1 -0
  59. package/dist/browser/lib/identities/isEthereumGasEthersPayload.js +9 -0
  60. package/dist/browser/lib/identities/isEthereumGasEthersPayload.js.map +1 -0
  61. package/dist/browser/lib/identities/isEthereumGasEtherscanPayload.cjs +30 -0
  62. package/dist/browser/lib/identities/isEthereumGasEtherscanPayload.cjs.map +1 -0
  63. package/dist/browser/lib/identities/isEthereumGasEtherscanPayload.d.mts.map +1 -0
  64. package/dist/browser/lib/identities/isEthereumGasEtherscanPayload.d.ts.map +1 -0
  65. package/dist/browser/lib/identities/isEthereumGasEtherscanPayload.js +9 -0
  66. package/dist/browser/lib/identities/isEthereumGasEtherscanPayload.js.map +1 -0
  67. package/dist/browser/lib/identities/isEthereumGasEthgasstationPayload.cjs +30 -0
  68. package/dist/browser/lib/identities/isEthereumGasEthgasstationPayload.cjs.map +1 -0
  69. package/dist/browser/lib/identities/isEthereumGasEthgasstationPayload.d.mts.map +1 -0
  70. package/dist/browser/lib/identities/isEthereumGasEthgasstationPayload.d.ts.map +1 -0
  71. package/dist/browser/lib/identities/isEthereumGasEthgasstationPayload.js +9 -0
  72. package/dist/browser/lib/identities/isEthereumGasEthgasstationPayload.js.map +1 -0
  73. package/dist/browser/lib/index.cjs +242 -0
  74. package/dist/browser/lib/index.cjs.map +1 -0
  75. package/dist/browser/lib/index.d.mts.map +1 -0
  76. package/dist/browser/lib/index.d.ts.map +1 -0
  77. package/dist/browser/lib/index.js +219 -0
  78. package/dist/browser/lib/index.js.map +1 -0
  79. package/dist/browser/lib/transforms/index.cjs +172 -0
  80. package/dist/browser/lib/transforms/index.cjs.map +1 -0
  81. package/dist/browser/lib/transforms/index.d.mts.map +1 -0
  82. package/dist/browser/lib/transforms/index.d.ts.map +1 -0
  83. package/dist/browser/lib/transforms/index.js +149 -0
  84. package/dist/browser/lib/transforms/index.js.map +1 -0
  85. package/dist/browser/lib/transforms/transformGasFromBlocknative.cjs +70 -0
  86. package/dist/browser/lib/transforms/transformGasFromBlocknative.cjs.map +1 -0
  87. package/dist/browser/lib/transforms/transformGasFromBlocknative.d.mts.map +1 -0
  88. package/dist/browser/lib/transforms/transformGasFromBlocknative.d.ts.map +1 -0
  89. package/dist/browser/lib/transforms/transformGasFromBlocknative.js +49 -0
  90. package/dist/browser/lib/transforms/transformGasFromBlocknative.js.map +1 -0
  91. package/dist/browser/lib/transforms/transformGasFromEtherchainV2.cjs +40 -0
  92. package/dist/browser/lib/transforms/transformGasFromEtherchainV2.cjs.map +1 -0
  93. package/dist/browser/lib/transforms/transformGasFromEtherchainV2.d.mts.map +1 -0
  94. package/dist/browser/lib/transforms/transformGasFromEtherchainV2.d.ts.map +1 -0
  95. package/dist/browser/lib/transforms/transformGasFromEtherchainV2.js +19 -0
  96. package/dist/browser/lib/transforms/transformGasFromEtherchainV2.js.map +1 -0
  97. package/dist/browser/lib/transforms/transformGasFromEthers.cjs +46 -0
  98. package/dist/browser/lib/transforms/transformGasFromEthers.cjs.map +1 -0
  99. package/dist/browser/lib/transforms/transformGasFromEthers.d.mts.map +1 -0
  100. package/dist/browser/lib/transforms/transformGasFromEthers.d.ts.map +1 -0
  101. package/dist/browser/lib/transforms/transformGasFromEthers.js +25 -0
  102. package/dist/browser/lib/transforms/transformGasFromEthers.js.map +1 -0
  103. package/dist/browser/lib/transforms/transformGasFromEtherscan.cjs +49 -0
  104. package/dist/browser/lib/transforms/transformGasFromEtherscan.cjs.map +1 -0
  105. package/dist/browser/lib/transforms/transformGasFromEtherscan.d.mts.map +1 -0
  106. package/dist/browser/lib/transforms/transformGasFromEtherscan.d.ts.map +1 -0
  107. package/dist/browser/lib/transforms/transformGasFromEtherscan.js +28 -0
  108. package/dist/browser/lib/transforms/transformGasFromEtherscan.js.map +1 -0
  109. package/dist/browser/lib/transforms/transformGasFromEthgasstation.cjs +57 -0
  110. package/dist/browser/lib/transforms/transformGasFromEthgasstation.cjs.map +1 -0
  111. package/dist/browser/lib/transforms/transformGasFromEthgasstation.d.mts.map +1 -0
  112. package/dist/browser/lib/transforms/transformGasFromEthgasstation.d.ts.map +1 -0
  113. package/dist/browser/lib/transforms/transformGasFromEthgasstation.js +36 -0
  114. package/dist/browser/lib/transforms/transformGasFromEthgasstation.js.map +1 -0
  115. package/dist/browser/test/index.cjs +189 -0
  116. package/dist/browser/test/index.cjs.map +1 -0
  117. package/dist/browser/test/index.d.mts.map +1 -0
  118. package/dist/browser/test/index.d.ts.map +1 -0
  119. package/dist/browser/test/index.js +166 -0
  120. package/dist/browser/test/index.js.map +1 -0
  121. package/dist/browser/test/sampleBlocknativeGas.cjs +118 -0
  122. package/dist/browser/test/sampleBlocknativeGas.cjs.map +1 -0
  123. package/dist/browser/test/sampleBlocknativeGas.d.mts.map +1 -0
  124. package/dist/browser/test/sampleBlocknativeGas.d.ts.map +1 -0
  125. package/dist/browser/test/sampleBlocknativeGas.js +97 -0
  126. package/dist/browser/test/sampleBlocknativeGas.js.map +1 -0
  127. package/dist/browser/test/sampleEtherchainGasV2.cjs +40 -0
  128. package/dist/browser/test/sampleEtherchainGasV2.cjs.map +1 -0
  129. package/dist/browser/test/sampleEtherchainGasV2.d.mts.map +1 -0
  130. package/dist/browser/test/sampleEtherchainGasV2.d.ts.map +1 -0
  131. package/dist/browser/test/sampleEtherchainGasV2.js +19 -0
  132. package/dist/browser/test/sampleEtherchainGasV2.js.map +1 -0
  133. package/dist/browser/test/sampleEthersGas.cjs +35 -0
  134. package/dist/browser/test/sampleEthersGas.cjs.map +1 -0
  135. package/dist/browser/test/sampleEthersGas.d.mts.map +1 -0
  136. package/dist/browser/test/sampleEthersGas.d.ts.map +1 -0
  137. package/dist/browser/test/sampleEthersGas.js +14 -0
  138. package/dist/browser/test/sampleEthersGas.js.map +1 -0
  139. package/dist/browser/test/sampleEtherscanGas.cjs +41 -0
  140. package/dist/browser/test/sampleEtherscanGas.cjs.map +1 -0
  141. package/dist/browser/test/sampleEtherscanGas.d.mts.map +1 -0
  142. package/dist/browser/test/sampleEtherscanGas.d.ts.map +1 -0
  143. package/dist/browser/test/sampleEtherscanGas.js +20 -0
  144. package/dist/browser/test/sampleEtherscanGas.js.map +1 -0
  145. package/dist/browser/test/sampleEthgasstationGas.cjs +45 -0
  146. package/dist/browser/test/sampleEthgasstationGas.cjs.map +1 -0
  147. package/dist/browser/test/sampleEthgasstationGas.d.mts.map +1 -0
  148. package/dist/browser/test/sampleEthgasstationGas.d.ts.map +1 -0
  149. package/dist/browser/test/sampleEthgasstationGas.js +24 -0
  150. package/dist/browser/test/sampleEthgasstationGas.js.map +1 -0
  151. package/dist/node/Diviner.d.mts +16 -0
  152. package/dist/node/Diviner.d.mts.map +1 -0
  153. package/dist/node/Diviner.d.ts +16 -0
  154. package/dist/node/Diviner.d.ts.map +1 -0
  155. package/dist/node/Diviner.js +40 -0
  156. package/dist/node/Diviner.js.map +1 -0
  157. package/dist/node/Diviner.mjs +16 -0
  158. package/dist/node/Diviner.mjs.map +1 -0
  159. package/dist/node/Plugin.d.mts +50 -0
  160. package/dist/node/Plugin.d.mts.map +1 -0
  161. package/dist/node/Plugin.d.ts +50 -0
  162. package/dist/node/Plugin.d.ts.map +1 -0
  163. package/dist/node/Plugin.js +40 -0
  164. package/dist/node/Plugin.js.map +1 -0
  165. package/dist/node/Plugin.mjs +16 -0
  166. package/dist/node/Plugin.mjs.map +1 -0
  167. package/dist/node/Schema.d.mts +5 -0
  168. package/dist/node/Schema.d.mts.map +1 -0
  169. package/dist/node/Schema.d.ts +5 -0
  170. package/dist/node/Schema.d.ts.map +1 -0
  171. package/dist/node/Schema.js +32 -0
  172. package/dist/node/Schema.js.map +1 -0
  173. package/dist/node/Schema.mjs +7 -0
  174. package/dist/node/Schema.mjs.map +1 -0
  175. package/dist/node/index.d.mts +6 -0
  176. package/dist/node/index.d.mts.map +1 -0
  177. package/dist/node/index.d.ts +6 -0
  178. package/dist/node/index.d.ts.map +1 -0
  179. package/dist/node/index.js +36 -0
  180. package/dist/node/index.js.map +1 -0
  181. package/dist/node/index.mjs +9 -0
  182. package/dist/node/index.mjs.map +1 -0
  183. package/dist/node/lib/average.d.mts +8 -0
  184. package/dist/node/lib/average.d.mts.map +1 -0
  185. package/dist/node/lib/average.d.ts +8 -0
  186. package/dist/node/lib/average.d.ts.map +1 -0
  187. package/dist/node/lib/average.js +52 -0
  188. package/dist/node/lib/average.js.map +1 -0
  189. package/dist/node/lib/average.mjs +28 -0
  190. package/dist/node/lib/average.mjs.map +1 -0
  191. package/dist/node/lib/divineGas.d.mts +4 -0
  192. package/dist/node/lib/divineGas.d.mts.map +1 -0
  193. package/dist/node/lib/divineGas.d.ts +4 -0
  194. package/dist/node/lib/divineGas.d.ts.map +1 -0
  195. package/dist/node/lib/divineGas.js +45 -0
  196. package/dist/node/lib/divineGas.js.map +1 -0
  197. package/dist/node/lib/divineGas.mjs +33 -0
  198. package/dist/node/lib/divineGas.mjs.map +1 -0
  199. package/dist/node/lib/identities/index.d.mts +6 -0
  200. package/dist/node/lib/identities/index.d.mts.map +1 -0
  201. package/dist/node/lib/identities/index.d.ts +6 -0
  202. package/dist/node/lib/identities/index.d.ts.map +1 -0
  203. package/dist/node/lib/identities/index.js +31 -0
  204. package/dist/node/lib/identities/index.js.map +1 -0
  205. package/dist/node/lib/identities/index.mjs +6 -0
  206. package/dist/node/lib/identities/index.mjs.map +1 -0
  207. package/dist/node/lib/identities/isEthereumGasBlocknativePayload.d.mts +6 -0
  208. package/dist/node/lib/identities/isEthereumGasBlocknativePayload.d.mts.map +1 -0
  209. package/dist/node/lib/identities/isEthereumGasBlocknativePayload.d.ts +6 -0
  210. package/dist/node/lib/identities/isEthereumGasBlocknativePayload.d.ts.map +1 -0
  211. package/dist/node/lib/identities/isEthereumGasBlocknativePayload.js +32 -0
  212. package/dist/node/lib/identities/isEthereumGasBlocknativePayload.js.map +1 -0
  213. package/dist/node/lib/identities/isEthereumGasBlocknativePayload.mjs +8 -0
  214. package/dist/node/lib/identities/isEthereumGasBlocknativePayload.mjs.map +1 -0
  215. package/dist/node/lib/identities/isEthereumGasEtherchainV2Payload.d.mts +6 -0
  216. package/dist/node/lib/identities/isEthereumGasEtherchainV2Payload.d.mts.map +1 -0
  217. package/dist/node/lib/identities/isEthereumGasEtherchainV2Payload.d.ts +6 -0
  218. package/dist/node/lib/identities/isEthereumGasEtherchainV2Payload.d.ts.map +1 -0
  219. package/dist/node/lib/identities/isEthereumGasEtherchainV2Payload.js +32 -0
  220. package/dist/node/lib/identities/isEthereumGasEtherchainV2Payload.js.map +1 -0
  221. package/dist/node/lib/identities/isEthereumGasEtherchainV2Payload.mjs +8 -0
  222. package/dist/node/lib/identities/isEthereumGasEtherchainV2Payload.mjs.map +1 -0
  223. package/dist/node/lib/identities/isEthereumGasEthersPayload.d.mts +6 -0
  224. package/dist/node/lib/identities/isEthereumGasEthersPayload.d.mts.map +1 -0
  225. package/dist/node/lib/identities/isEthereumGasEthersPayload.d.ts +6 -0
  226. package/dist/node/lib/identities/isEthereumGasEthersPayload.d.ts.map +1 -0
  227. package/dist/node/lib/identities/isEthereumGasEthersPayload.js +32 -0
  228. package/dist/node/lib/identities/isEthereumGasEthersPayload.js.map +1 -0
  229. package/dist/node/lib/identities/isEthereumGasEthersPayload.mjs +8 -0
  230. package/dist/node/lib/identities/isEthereumGasEthersPayload.mjs.map +1 -0
  231. package/dist/node/lib/identities/isEthereumGasEtherscanPayload.d.mts +6 -0
  232. package/dist/node/lib/identities/isEthereumGasEtherscanPayload.d.mts.map +1 -0
  233. package/dist/node/lib/identities/isEthereumGasEtherscanPayload.d.ts +6 -0
  234. package/dist/node/lib/identities/isEthereumGasEtherscanPayload.d.ts.map +1 -0
  235. package/dist/node/lib/identities/isEthereumGasEtherscanPayload.js +32 -0
  236. package/dist/node/lib/identities/isEthereumGasEtherscanPayload.js.map +1 -0
  237. package/dist/node/lib/identities/isEthereumGasEtherscanPayload.mjs +8 -0
  238. package/dist/node/lib/identities/isEthereumGasEtherscanPayload.mjs.map +1 -0
  239. package/dist/node/lib/identities/isEthereumGasEthgasstationPayload.d.mts +6 -0
  240. package/dist/node/lib/identities/isEthereumGasEthgasstationPayload.d.mts.map +1 -0
  241. package/dist/node/lib/identities/isEthereumGasEthgasstationPayload.d.ts +6 -0
  242. package/dist/node/lib/identities/isEthereumGasEthgasstationPayload.d.ts.map +1 -0
  243. package/dist/node/lib/identities/isEthereumGasEthgasstationPayload.js +32 -0
  244. package/dist/node/lib/identities/isEthereumGasEthgasstationPayload.js.map +1 -0
  245. package/dist/node/lib/identities/isEthereumGasEthgasstationPayload.mjs +8 -0
  246. package/dist/node/lib/identities/isEthereumGasEthgasstationPayload.mjs.map +1 -0
  247. package/dist/node/lib/index.d.mts +2 -0
  248. package/dist/node/lib/index.d.mts.map +1 -0
  249. package/dist/node/lib/index.d.ts +2 -0
  250. package/dist/node/lib/index.d.ts.map +1 -0
  251. package/dist/node/lib/index.js +23 -0
  252. package/dist/node/lib/index.js.map +1 -0
  253. package/dist/node/lib/index.mjs +2 -0
  254. package/dist/node/lib/index.mjs.map +1 -0
  255. package/dist/node/lib/transforms/index.d.mts +6 -0
  256. package/dist/node/lib/transforms/index.d.mts.map +1 -0
  257. package/dist/node/lib/transforms/index.d.ts +6 -0
  258. package/dist/node/lib/transforms/index.d.ts.map +1 -0
  259. package/dist/node/lib/transforms/index.js +31 -0
  260. package/dist/node/lib/transforms/index.js.map +1 -0
  261. package/dist/node/lib/transforms/index.mjs +6 -0
  262. package/dist/node/lib/transforms/index.mjs.map +1 -0
  263. package/dist/node/lib/transforms/transformGasFromBlocknative.d.mts +4 -0
  264. package/dist/node/lib/transforms/transformGasFromBlocknative.d.mts.map +1 -0
  265. package/dist/node/lib/transforms/transformGasFromBlocknative.d.ts +4 -0
  266. package/dist/node/lib/transforms/transformGasFromBlocknative.d.ts.map +1 -0
  267. package/dist/node/lib/transforms/transformGasFromBlocknative.js +72 -0
  268. package/dist/node/lib/transforms/transformGasFromBlocknative.js.map +1 -0
  269. package/dist/node/lib/transforms/transformGasFromBlocknative.mjs +48 -0
  270. package/dist/node/lib/transforms/transformGasFromBlocknative.mjs.map +1 -0
  271. package/dist/node/lib/transforms/transformGasFromEtherchainV2.d.mts +4 -0
  272. package/dist/node/lib/transforms/transformGasFromEtherchainV2.d.mts.map +1 -0
  273. package/dist/node/lib/transforms/transformGasFromEtherchainV2.d.ts +4 -0
  274. package/dist/node/lib/transforms/transformGasFromEtherchainV2.d.ts.map +1 -0
  275. package/dist/node/lib/transforms/transformGasFromEtherchainV2.js +42 -0
  276. package/dist/node/lib/transforms/transformGasFromEtherchainV2.js.map +1 -0
  277. package/dist/node/lib/transforms/transformGasFromEtherchainV2.mjs +18 -0
  278. package/dist/node/lib/transforms/transformGasFromEtherchainV2.mjs.map +1 -0
  279. package/dist/node/lib/transforms/transformGasFromEthers.d.mts +4 -0
  280. package/dist/node/lib/transforms/transformGasFromEthers.d.mts.map +1 -0
  281. package/dist/node/lib/transforms/transformGasFromEthers.d.ts +4 -0
  282. package/dist/node/lib/transforms/transformGasFromEthers.d.ts.map +1 -0
  283. package/dist/node/lib/transforms/transformGasFromEthers.js +48 -0
  284. package/dist/node/lib/transforms/transformGasFromEthers.js.map +1 -0
  285. package/dist/node/lib/transforms/transformGasFromEthers.mjs +24 -0
  286. package/dist/node/lib/transforms/transformGasFromEthers.mjs.map +1 -0
  287. package/dist/node/lib/transforms/transformGasFromEtherscan.d.mts +4 -0
  288. package/dist/node/lib/transforms/transformGasFromEtherscan.d.mts.map +1 -0
  289. package/dist/node/lib/transforms/transformGasFromEtherscan.d.ts +4 -0
  290. package/dist/node/lib/transforms/transformGasFromEtherscan.d.ts.map +1 -0
  291. package/dist/node/lib/transforms/transformGasFromEtherscan.js +51 -0
  292. package/dist/node/lib/transforms/transformGasFromEtherscan.js.map +1 -0
  293. package/dist/node/lib/transforms/transformGasFromEtherscan.mjs +27 -0
  294. package/dist/node/lib/transforms/transformGasFromEtherscan.mjs.map +1 -0
  295. package/dist/node/lib/transforms/transformGasFromEthgasstation.d.mts +4 -0
  296. package/dist/node/lib/transforms/transformGasFromEthgasstation.d.mts.map +1 -0
  297. package/dist/node/lib/transforms/transformGasFromEthgasstation.d.ts +4 -0
  298. package/dist/node/lib/transforms/transformGasFromEthgasstation.d.ts.map +1 -0
  299. package/dist/node/lib/transforms/transformGasFromEthgasstation.js +59 -0
  300. package/dist/node/lib/transforms/transformGasFromEthgasstation.js.map +1 -0
  301. package/dist/node/lib/transforms/transformGasFromEthgasstation.mjs +35 -0
  302. package/dist/node/lib/transforms/transformGasFromEthgasstation.mjs.map +1 -0
  303. package/dist/node/test/index.d.mts +6 -0
  304. package/dist/node/test/index.d.mts.map +1 -0
  305. package/dist/node/test/index.d.ts +6 -0
  306. package/dist/node/test/index.d.ts.map +1 -0
  307. package/dist/node/test/index.js +31 -0
  308. package/dist/node/test/index.js.map +1 -0
  309. package/dist/node/test/index.mjs +6 -0
  310. package/dist/node/test/index.mjs.map +1 -0
  311. package/dist/node/test/sampleBlocknativeGas.d.mts +3 -0
  312. package/dist/node/test/sampleBlocknativeGas.d.mts.map +1 -0
  313. package/dist/node/test/sampleBlocknativeGas.d.ts +3 -0
  314. package/dist/node/test/sampleBlocknativeGas.d.ts.map +1 -0
  315. package/dist/node/test/sampleBlocknativeGas.js +120 -0
  316. package/dist/node/test/sampleBlocknativeGas.js.map +1 -0
  317. package/dist/node/test/sampleBlocknativeGas.mjs +96 -0
  318. package/dist/node/test/sampleBlocknativeGas.mjs.map +1 -0
  319. package/dist/node/test/sampleEtherchainGasV2.d.mts +3 -0
  320. package/dist/node/test/sampleEtherchainGasV2.d.mts.map +1 -0
  321. package/dist/node/test/sampleEtherchainGasV2.d.ts +3 -0
  322. package/dist/node/test/sampleEtherchainGasV2.d.ts.map +1 -0
  323. package/dist/node/test/sampleEtherchainGasV2.js +42 -0
  324. package/dist/node/test/sampleEtherchainGasV2.js.map +1 -0
  325. package/dist/node/test/sampleEtherchainGasV2.mjs +18 -0
  326. package/dist/node/test/sampleEtherchainGasV2.mjs.map +1 -0
  327. package/dist/node/test/sampleEthersGas.d.mts +3 -0
  328. package/dist/node/test/sampleEthersGas.d.mts.map +1 -0
  329. package/dist/node/test/sampleEthersGas.d.ts +3 -0
  330. package/dist/node/test/sampleEthersGas.d.ts.map +1 -0
  331. package/dist/node/test/sampleEthersGas.js +37 -0
  332. package/dist/node/test/sampleEthersGas.js.map +1 -0
  333. package/dist/node/test/sampleEthersGas.mjs +13 -0
  334. package/dist/node/test/sampleEthersGas.mjs.map +1 -0
  335. package/dist/node/test/sampleEtherscanGas.d.mts +3 -0
  336. package/dist/node/test/sampleEtherscanGas.d.mts.map +1 -0
  337. package/dist/node/test/sampleEtherscanGas.d.ts +3 -0
  338. package/dist/node/test/sampleEtherscanGas.d.ts.map +1 -0
  339. package/dist/node/test/sampleEtherscanGas.js +43 -0
  340. package/dist/node/test/sampleEtherscanGas.js.map +1 -0
  341. package/dist/node/test/sampleEtherscanGas.mjs +19 -0
  342. package/dist/node/test/sampleEtherscanGas.mjs.map +1 -0
  343. package/dist/node/test/sampleEthgasstationGas.d.mts +3 -0
  344. package/dist/node/test/sampleEthgasstationGas.d.mts.map +1 -0
  345. package/dist/node/test/sampleEthgasstationGas.d.ts +3 -0
  346. package/dist/node/test/sampleEthgasstationGas.d.ts.map +1 -0
  347. package/dist/node/test/sampleEthgasstationGas.js +47 -0
  348. package/dist/node/test/sampleEthgasstationGas.js.map +1 -0
  349. package/dist/node/test/sampleEthgasstationGas.mjs +23 -0
  350. package/dist/node/test/sampleEthgasstationGas.mjs.map +1 -0
  351. package/package.json +38 -35
  352. package/dist/Diviner.d.mts.map +0 -1
  353. package/dist/Diviner.d.ts.map +0 -1
  354. package/dist/Plugin.d.mts.map +0 -1
  355. package/dist/Plugin.d.ts.map +0 -1
  356. package/dist/Schema.d.mts.map +0 -1
  357. package/dist/Schema.d.ts.map +0 -1
  358. package/dist/docs.json +0 -21982
  359. package/dist/index.d.mts.map +0 -1
  360. package/dist/index.d.ts.map +0 -1
  361. package/dist/index.js.map +0 -1
  362. package/dist/index.mjs.map +0 -1
  363. package/dist/lib/average.d.mts.map +0 -1
  364. package/dist/lib/average.d.ts.map +0 -1
  365. package/dist/lib/divineGas.d.mts.map +0 -1
  366. package/dist/lib/divineGas.d.ts.map +0 -1
  367. package/dist/lib/identities/index.d.mts.map +0 -1
  368. package/dist/lib/identities/index.d.ts.map +0 -1
  369. package/dist/lib/identities/isEthereumGasBlocknativePayload.d.mts.map +0 -1
  370. package/dist/lib/identities/isEthereumGasBlocknativePayload.d.ts.map +0 -1
  371. package/dist/lib/identities/isEthereumGasEtherchainV2Payload.d.mts.map +0 -1
  372. package/dist/lib/identities/isEthereumGasEtherchainV2Payload.d.ts.map +0 -1
  373. package/dist/lib/identities/isEthereumGasEthersPayload.d.mts.map +0 -1
  374. package/dist/lib/identities/isEthereumGasEthersPayload.d.ts.map +0 -1
  375. package/dist/lib/identities/isEthereumGasEtherscanPayload.d.mts.map +0 -1
  376. package/dist/lib/identities/isEthereumGasEtherscanPayload.d.ts.map +0 -1
  377. package/dist/lib/identities/isEthereumGasEthgasstationPayload.d.mts.map +0 -1
  378. package/dist/lib/identities/isEthereumGasEthgasstationPayload.d.ts.map +0 -1
  379. package/dist/lib/index.d.mts.map +0 -1
  380. package/dist/lib/index.d.ts.map +0 -1
  381. package/dist/lib/transforms/index.d.mts.map +0 -1
  382. package/dist/lib/transforms/index.d.ts.map +0 -1
  383. package/dist/lib/transforms/transformGasFromBlocknative.d.mts.map +0 -1
  384. package/dist/lib/transforms/transformGasFromBlocknative.d.ts.map +0 -1
  385. package/dist/lib/transforms/transformGasFromEtherchainV2.d.mts.map +0 -1
  386. package/dist/lib/transforms/transformGasFromEtherchainV2.d.ts.map +0 -1
  387. package/dist/lib/transforms/transformGasFromEthers.d.mts.map +0 -1
  388. package/dist/lib/transforms/transformGasFromEthers.d.ts.map +0 -1
  389. package/dist/lib/transforms/transformGasFromEtherscan.d.mts.map +0 -1
  390. package/dist/lib/transforms/transformGasFromEtherscan.d.ts.map +0 -1
  391. package/dist/lib/transforms/transformGasFromEthgasstation.d.mts.map +0 -1
  392. package/dist/lib/transforms/transformGasFromEthgasstation.d.ts.map +0 -1
  393. package/dist/test/index.d.mts.map +0 -1
  394. package/dist/test/index.d.ts.map +0 -1
  395. package/dist/test/sampleBlocknativeGas.d.mts.map +0 -1
  396. package/dist/test/sampleBlocknativeGas.d.ts.map +0 -1
  397. package/dist/test/sampleEtherchainGasV2.d.mts.map +0 -1
  398. package/dist/test/sampleEtherchainGasV2.d.ts.map +0 -1
  399. package/dist/test/sampleEthersGas.d.mts.map +0 -1
  400. package/dist/test/sampleEthersGas.d.ts.map +0 -1
  401. package/dist/test/sampleEtherscanGas.d.mts.map +0 -1
  402. package/dist/test/sampleEtherscanGas.d.ts.map +0 -1
  403. package/dist/test/sampleEthgasstationGas.d.mts.map +0 -1
  404. package/dist/test/sampleEthgasstationGas.d.ts.map +0 -1
  405. /package/dist/{Diviner.d.mts → browser/Diviner.d.mts} +0 -0
  406. /package/dist/{Diviner.d.ts → browser/Diviner.d.ts} +0 -0
  407. /package/dist/{Plugin.d.mts → browser/Plugin.d.mts} +0 -0
  408. /package/dist/{Plugin.d.ts → browser/Plugin.d.ts} +0 -0
  409. /package/dist/{Schema.d.mts → browser/Schema.d.mts} +0 -0
  410. /package/dist/{Schema.d.ts → browser/Schema.d.ts} +0 -0
  411. /package/dist/{index.d.mts → browser/index.d.mts} +0 -0
  412. /package/dist/{index.d.ts → browser/index.d.ts} +0 -0
  413. /package/dist/{lib → browser/lib}/average.d.mts +0 -0
  414. /package/dist/{lib → browser/lib}/average.d.ts +0 -0
  415. /package/dist/{lib → browser/lib}/divineGas.d.mts +0 -0
  416. /package/dist/{lib → browser/lib}/divineGas.d.ts +0 -0
  417. /package/dist/{lib → browser/lib}/identities/index.d.mts +0 -0
  418. /package/dist/{lib → browser/lib}/identities/index.d.ts +0 -0
  419. /package/dist/{lib → browser/lib}/identities/isEthereumGasBlocknativePayload.d.mts +0 -0
  420. /package/dist/{lib → browser/lib}/identities/isEthereumGasBlocknativePayload.d.ts +0 -0
  421. /package/dist/{lib → browser/lib}/identities/isEthereumGasEtherchainV2Payload.d.mts +0 -0
  422. /package/dist/{lib → browser/lib}/identities/isEthereumGasEtherchainV2Payload.d.ts +0 -0
  423. /package/dist/{lib → browser/lib}/identities/isEthereumGasEthersPayload.d.mts +0 -0
  424. /package/dist/{lib → browser/lib}/identities/isEthereumGasEthersPayload.d.ts +0 -0
  425. /package/dist/{lib → browser/lib}/identities/isEthereumGasEtherscanPayload.d.mts +0 -0
  426. /package/dist/{lib → browser/lib}/identities/isEthereumGasEtherscanPayload.d.ts +0 -0
  427. /package/dist/{lib → browser/lib}/identities/isEthereumGasEthgasstationPayload.d.mts +0 -0
  428. /package/dist/{lib → browser/lib}/identities/isEthereumGasEthgasstationPayload.d.ts +0 -0
  429. /package/dist/{lib → browser/lib}/index.d.mts +0 -0
  430. /package/dist/{lib → browser/lib}/index.d.ts +0 -0
  431. /package/dist/{lib → browser/lib}/transforms/index.d.mts +0 -0
  432. /package/dist/{lib → browser/lib}/transforms/index.d.ts +0 -0
  433. /package/dist/{lib → browser/lib}/transforms/transformGasFromBlocknative.d.mts +0 -0
  434. /package/dist/{lib → browser/lib}/transforms/transformGasFromBlocknative.d.ts +0 -0
  435. /package/dist/{lib → browser/lib}/transforms/transformGasFromEtherchainV2.d.mts +0 -0
  436. /package/dist/{lib → browser/lib}/transforms/transformGasFromEtherchainV2.d.ts +0 -0
  437. /package/dist/{lib → browser/lib}/transforms/transformGasFromEthers.d.mts +0 -0
  438. /package/dist/{lib → browser/lib}/transforms/transformGasFromEthers.d.ts +0 -0
  439. /package/dist/{lib → browser/lib}/transforms/transformGasFromEtherscan.d.mts +0 -0
  440. /package/dist/{lib → browser/lib}/transforms/transformGasFromEtherscan.d.ts +0 -0
  441. /package/dist/{lib → browser/lib}/transforms/transformGasFromEthgasstation.d.mts +0 -0
  442. /package/dist/{lib → browser/lib}/transforms/transformGasFromEthgasstation.d.ts +0 -0
  443. /package/dist/{test → browser/test}/index.d.mts +0 -0
  444. /package/dist/{test → browser/test}/index.d.ts +0 -0
  445. /package/dist/{test → browser/test}/sampleBlocknativeGas.d.mts +0 -0
  446. /package/dist/{test → browser/test}/sampleBlocknativeGas.d.ts +0 -0
  447. /package/dist/{test → browser/test}/sampleEtherchainGasV2.d.mts +0 -0
  448. /package/dist/{test → browser/test}/sampleEtherchainGasV2.d.ts +0 -0
  449. /package/dist/{test → browser/test}/sampleEthersGas.d.mts +0 -0
  450. /package/dist/{test → browser/test}/sampleEthersGas.d.ts +0 -0
  451. /package/dist/{test → browser/test}/sampleEtherscanGas.d.mts +0 -0
  452. /package/dist/{test → browser/test}/sampleEtherscanGas.d.ts +0 -0
  453. /package/dist/{test → browser/test}/sampleEthgasstationGas.d.mts +0 -0
  454. /package/dist/{test → browser/test}/sampleEthgasstationGas.d.ts +0 -0
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
16
+ var test_exports = {};
17
+ module.exports = __toCommonJS(test_exports);
18
+ __reExport(test_exports, require("./sampleBlocknativeGas"), module.exports);
19
+ __reExport(test_exports, require("./sampleEtherchainGasV2"), module.exports);
20
+ __reExport(test_exports, require("./sampleEtherscanGas"), module.exports);
21
+ __reExport(test_exports, require("./sampleEthersGas"), module.exports);
22
+ __reExport(test_exports, require("./sampleEthgasstationGas"), module.exports);
23
+ // Annotate the CommonJS export names for ESM import in node:
24
+ 0 && (module.exports = {
25
+ ...require("./sampleBlocknativeGas"),
26
+ ...require("./sampleEtherchainGasV2"),
27
+ ...require("./sampleEtherscanGas"),
28
+ ...require("./sampleEthersGas"),
29
+ ...require("./sampleEthgasstationGas")
30
+ });
31
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/test/index.ts"],"sourcesContent":["export * from './sampleBlocknativeGas'\nexport * from './sampleEtherchainGasV2'\nexport * from './sampleEtherscanGas'\nexport * from './sampleEthersGas'\nexport * from './sampleEthgasstationGas'\n"],"mappings":";;;;;;;;;;;;;;;AAAA;AAAA;AAAA,yBAAc,mCAAd;AACA,yBAAc,oCADd;AAEA,yBAAc,iCAFd;AAGA,yBAAc,8BAHd;AAIA,yBAAc,qCAJd;","names":[]}
@@ -0,0 +1,6 @@
1
+ export * from "./sampleBlocknativeGas";
2
+ export * from "./sampleEtherchainGasV2";
3
+ export * from "./sampleEtherscanGas";
4
+ export * from "./sampleEthersGas";
5
+ export * from "./sampleEthgasstationGas";
6
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/test/index.ts"],"sourcesContent":["export * from './sampleBlocknativeGas'\nexport * from './sampleEtherchainGasV2'\nexport * from './sampleEtherscanGas'\nexport * from './sampleEthersGas'\nexport * from './sampleEthgasstationGas'\n"],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;","names":[]}
@@ -0,0 +1,3 @@
1
+ import { EthereumGasBlocknativePayload } from '@xyo-network/blocknative-ethereum-gas-payload-plugin';
2
+ export declare const sampleBlocknativeGas: EthereumGasBlocknativePayload;
3
+ //# sourceMappingURL=sampleBlocknativeGas.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sampleBlocknativeGas.d.ts","sourceRoot":"","sources":["../../../src/test/sampleBlocknativeGas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,6BAA6B,EAAgC,MAAM,sDAAsD,CAAA;AAEpJ,eAAO,MAAM,oBAAoB,EAAE,6BA0FlC,CAAA"}
@@ -0,0 +1,3 @@
1
+ import { EthereumGasBlocknativePayload } from '@xyo-network/blocknative-ethereum-gas-payload-plugin';
2
+ export declare const sampleBlocknativeGas: EthereumGasBlocknativePayload;
3
+ //# sourceMappingURL=sampleBlocknativeGas.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sampleBlocknativeGas.d.ts","sourceRoot":"","sources":["../../../src/test/sampleBlocknativeGas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,6BAA6B,EAAgC,MAAM,sDAAsD,CAAA;AAEpJ,eAAO,MAAM,oBAAoB,EAAE,6BA0FlC,CAAA"}
@@ -0,0 +1,120 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var sampleBlocknativeGas_exports = {};
20
+ __export(sampleBlocknativeGas_exports, {
21
+ sampleBlocknativeGas: () => sampleBlocknativeGas
22
+ });
23
+ module.exports = __toCommonJS(sampleBlocknativeGas_exports);
24
+ var import_blocknative_ethereum_gas_payload_plugin = require("@xyo-network/blocknative-ethereum-gas-payload-plugin");
25
+ const sampleBlocknativeGas = {
26
+ blockPrices: [
27
+ {
28
+ baseFeePerGas: 13.691764456,
29
+ blockNumber: 16028191,
30
+ estimatedPrices: [
31
+ {
32
+ confidence: 99,
33
+ maxFeePerGas: 22.04,
34
+ maxPriorityFeePerGas: 1.09,
35
+ price: 14
36
+ },
37
+ {
38
+ confidence: 95,
39
+ maxFeePerGas: 21.58,
40
+ maxPriorityFeePerGas: 0.63,
41
+ price: 14
42
+ },
43
+ {
44
+ confidence: 90,
45
+ maxFeePerGas: 21.25,
46
+ maxPriorityFeePerGas: 0.3,
47
+ price: 13
48
+ },
49
+ {
50
+ confidence: 80,
51
+ maxFeePerGas: 21.16,
52
+ maxPriorityFeePerGas: 0.21,
53
+ price: 13
54
+ },
55
+ {
56
+ confidence: 70,
57
+ maxFeePerGas: 21.12,
58
+ maxPriorityFeePerGas: 0.17,
59
+ price: 13
60
+ }
61
+ ],
62
+ estimatedTransactionCount: 69
63
+ }
64
+ ],
65
+ currentBlockNumber: 16028190,
66
+ estimatedBaseFees: [
67
+ {
68
+ "pending+1": [
69
+ {
70
+ baseFee: 15.41,
71
+ confidence: 99
72
+ }
73
+ ]
74
+ },
75
+ {
76
+ "pending+2": [
77
+ {
78
+ baseFee: 17.32,
79
+ confidence: 99
80
+ }
81
+ ]
82
+ },
83
+ {
84
+ "pending+3": [
85
+ {
86
+ baseFee: 19.17,
87
+ confidence: 99
88
+ }
89
+ ]
90
+ },
91
+ {
92
+ "pending+4": [
93
+ {
94
+ baseFee: 20.12,
95
+ confidence: 99
96
+ }
97
+ ]
98
+ },
99
+ {
100
+ "pending+5": [
101
+ {
102
+ baseFee: 20.95,
103
+ confidence: 99
104
+ }
105
+ ]
106
+ }
107
+ ],
108
+ maxPrice: 36,
109
+ msSinceLastBlock: 3643,
110
+ network: "main",
111
+ schema: import_blocknative_ethereum_gas_payload_plugin.EthereumGasBlocknativeSchema,
112
+ system: "ethereum",
113
+ timestamp: 1668697958837,
114
+ unit: "gwei"
115
+ };
116
+ // Annotate the CommonJS export names for ESM import in node:
117
+ 0 && (module.exports = {
118
+ sampleBlocknativeGas
119
+ });
120
+ //# sourceMappingURL=sampleBlocknativeGas.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/test/sampleBlocknativeGas.ts"],"sourcesContent":["import { EstimatedBaseFee, EthereumGasBlocknativePayload, EthereumGasBlocknativeSchema } from '@xyo-network/blocknative-ethereum-gas-payload-plugin'\n\nexport const sampleBlocknativeGas: EthereumGasBlocknativePayload = {\n blockPrices: [\n {\n baseFeePerGas: 13.691764456,\n blockNumber: 16028191,\n estimatedPrices: [\n {\n confidence: 99,\n maxFeePerGas: 22.04,\n maxPriorityFeePerGas: 1.09,\n price: 14,\n },\n {\n confidence: 95,\n maxFeePerGas: 21.58,\n maxPriorityFeePerGas: 0.63,\n price: 14,\n },\n {\n confidence: 90,\n maxFeePerGas: 21.25,\n maxPriorityFeePerGas: 0.3,\n price: 13,\n },\n {\n confidence: 80,\n maxFeePerGas: 21.16,\n maxPriorityFeePerGas: 0.21,\n price: 13,\n },\n {\n confidence: 70,\n maxFeePerGas: 21.12,\n maxPriorityFeePerGas: 0.17,\n price: 13,\n },\n ],\n estimatedTransactionCount: 69,\n },\n ],\n currentBlockNumber: 16028190,\n estimatedBaseFees: [\n {\n 'pending+1': [\n {\n baseFee: 15.41,\n confidence: 99,\n },\n ],\n },\n {\n 'pending+2': [\n {\n baseFee: 17.32,\n confidence: 99,\n },\n ],\n },\n {\n 'pending+3': [\n {\n baseFee: 19.17,\n confidence: 99,\n },\n ],\n },\n {\n 'pending+4': [\n {\n baseFee: 20.12,\n confidence: 99,\n },\n ],\n },\n {\n 'pending+5': [\n {\n baseFee: 20.95,\n confidence: 99,\n },\n ],\n },\n ] as unknown as EstimatedBaseFee[],\n maxPrice: 36,\n msSinceLastBlock: 3643,\n network: 'main',\n schema: EthereumGasBlocknativeSchema,\n system: 'ethereum',\n timestamp: 1668697958837,\n unit: 'gwei',\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,qDAA8F;AAEvF,MAAM,uBAAsD;AAAA,EACjE,aAAa;AAAA,IACX;AAAA,MACE,eAAe;AAAA,MACf,aAAa;AAAA,MACb,iBAAiB;AAAA,QACf;AAAA,UACE,YAAY;AAAA,UACZ,cAAc;AAAA,UACd,sBAAsB;AAAA,UACtB,OAAO;AAAA,QACT;AAAA,QACA;AAAA,UACE,YAAY;AAAA,UACZ,cAAc;AAAA,UACd,sBAAsB;AAAA,UACtB,OAAO;AAAA,QACT;AAAA,QACA;AAAA,UACE,YAAY;AAAA,UACZ,cAAc;AAAA,UACd,sBAAsB;AAAA,UACtB,OAAO;AAAA,QACT;AAAA,QACA;AAAA,UACE,YAAY;AAAA,UACZ,cAAc;AAAA,UACd,sBAAsB;AAAA,UACtB,OAAO;AAAA,QACT;AAAA,QACA;AAAA,UACE,YAAY;AAAA,UACZ,cAAc;AAAA,UACd,sBAAsB;AAAA,UACtB,OAAO;AAAA,QACT;AAAA,MACF;AAAA,MACA,2BAA2B;AAAA,IAC7B;AAAA,EACF;AAAA,EACA,oBAAoB;AAAA,EACpB,mBAAmB;AAAA,IACjB;AAAA,MACE,aAAa;AAAA,QACX;AAAA,UACE,SAAS;AAAA,UACT,YAAY;AAAA,QACd;AAAA,MACF;AAAA,IACF;AAAA,IACA;AAAA,MACE,aAAa;AAAA,QACX;AAAA,UACE,SAAS;AAAA,UACT,YAAY;AAAA,QACd;AAAA,MACF;AAAA,IACF;AAAA,IACA;AAAA,MACE,aAAa;AAAA,QACX;AAAA,UACE,SAAS;AAAA,UACT,YAAY;AAAA,QACd;AAAA,MACF;AAAA,IACF;AAAA,IACA;AAAA,MACE,aAAa;AAAA,QACX;AAAA,UACE,SAAS;AAAA,UACT,YAAY;AAAA,QACd;AAAA,MACF;AAAA,IACF;AAAA,IACA;AAAA,MACE,aAAa;AAAA,QACX;AAAA,UACE,SAAS;AAAA,UACT,YAAY;AAAA,QACd;AAAA,MACF;AAAA,IACF;AAAA,EACF;AAAA,EACA,UAAU;AAAA,EACV,kBAAkB;AAAA,EAClB,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,WAAW;AAAA,EACX,MAAM;AACR;","names":[]}
@@ -0,0 +1,96 @@
1
+ import { EthereumGasBlocknativeSchema } from "@xyo-network/blocknative-ethereum-gas-payload-plugin";
2
+ const sampleBlocknativeGas = {
3
+ blockPrices: [
4
+ {
5
+ baseFeePerGas: 13.691764456,
6
+ blockNumber: 16028191,
7
+ estimatedPrices: [
8
+ {
9
+ confidence: 99,
10
+ maxFeePerGas: 22.04,
11
+ maxPriorityFeePerGas: 1.09,
12
+ price: 14
13
+ },
14
+ {
15
+ confidence: 95,
16
+ maxFeePerGas: 21.58,
17
+ maxPriorityFeePerGas: 0.63,
18
+ price: 14
19
+ },
20
+ {
21
+ confidence: 90,
22
+ maxFeePerGas: 21.25,
23
+ maxPriorityFeePerGas: 0.3,
24
+ price: 13
25
+ },
26
+ {
27
+ confidence: 80,
28
+ maxFeePerGas: 21.16,
29
+ maxPriorityFeePerGas: 0.21,
30
+ price: 13
31
+ },
32
+ {
33
+ confidence: 70,
34
+ maxFeePerGas: 21.12,
35
+ maxPriorityFeePerGas: 0.17,
36
+ price: 13
37
+ }
38
+ ],
39
+ estimatedTransactionCount: 69
40
+ }
41
+ ],
42
+ currentBlockNumber: 16028190,
43
+ estimatedBaseFees: [
44
+ {
45
+ "pending+1": [
46
+ {
47
+ baseFee: 15.41,
48
+ confidence: 99
49
+ }
50
+ ]
51
+ },
52
+ {
53
+ "pending+2": [
54
+ {
55
+ baseFee: 17.32,
56
+ confidence: 99
57
+ }
58
+ ]
59
+ },
60
+ {
61
+ "pending+3": [
62
+ {
63
+ baseFee: 19.17,
64
+ confidence: 99
65
+ }
66
+ ]
67
+ },
68
+ {
69
+ "pending+4": [
70
+ {
71
+ baseFee: 20.12,
72
+ confidence: 99
73
+ }
74
+ ]
75
+ },
76
+ {
77
+ "pending+5": [
78
+ {
79
+ baseFee: 20.95,
80
+ confidence: 99
81
+ }
82
+ ]
83
+ }
84
+ ],
85
+ maxPrice: 36,
86
+ msSinceLastBlock: 3643,
87
+ network: "main",
88
+ schema: EthereumGasBlocknativeSchema,
89
+ system: "ethereum",
90
+ timestamp: 1668697958837,
91
+ unit: "gwei"
92
+ };
93
+ export {
94
+ sampleBlocknativeGas
95
+ };
96
+ //# sourceMappingURL=sampleBlocknativeGas.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/test/sampleBlocknativeGas.ts"],"sourcesContent":["import { EstimatedBaseFee, EthereumGasBlocknativePayload, EthereumGasBlocknativeSchema } from '@xyo-network/blocknative-ethereum-gas-payload-plugin'\n\nexport const sampleBlocknativeGas: EthereumGasBlocknativePayload = {\n blockPrices: [\n {\n baseFeePerGas: 13.691764456,\n blockNumber: 16028191,\n estimatedPrices: [\n {\n confidence: 99,\n maxFeePerGas: 22.04,\n maxPriorityFeePerGas: 1.09,\n price: 14,\n },\n {\n confidence: 95,\n maxFeePerGas: 21.58,\n maxPriorityFeePerGas: 0.63,\n price: 14,\n },\n {\n confidence: 90,\n maxFeePerGas: 21.25,\n maxPriorityFeePerGas: 0.3,\n price: 13,\n },\n {\n confidence: 80,\n maxFeePerGas: 21.16,\n maxPriorityFeePerGas: 0.21,\n price: 13,\n },\n {\n confidence: 70,\n maxFeePerGas: 21.12,\n maxPriorityFeePerGas: 0.17,\n price: 13,\n },\n ],\n estimatedTransactionCount: 69,\n },\n ],\n currentBlockNumber: 16028190,\n estimatedBaseFees: [\n {\n 'pending+1': [\n {\n baseFee: 15.41,\n confidence: 99,\n },\n ],\n },\n {\n 'pending+2': [\n {\n baseFee: 17.32,\n confidence: 99,\n },\n ],\n },\n {\n 'pending+3': [\n {\n baseFee: 19.17,\n confidence: 99,\n },\n ],\n },\n {\n 'pending+4': [\n {\n baseFee: 20.12,\n confidence: 99,\n },\n ],\n },\n {\n 'pending+5': [\n {\n baseFee: 20.95,\n confidence: 99,\n },\n ],\n },\n ] as unknown as EstimatedBaseFee[],\n maxPrice: 36,\n msSinceLastBlock: 3643,\n network: 'main',\n schema: EthereumGasBlocknativeSchema,\n system: 'ethereum',\n timestamp: 1668697958837,\n unit: 'gwei',\n}\n"],"mappings":"AAAA,SAA0D,oCAAoC;AAEvF,MAAM,uBAAsD;AAAA,EACjE,aAAa;AAAA,IACX;AAAA,MACE,eAAe;AAAA,MACf,aAAa;AAAA,MACb,iBAAiB;AAAA,QACf;AAAA,UACE,YAAY;AAAA,UACZ,cAAc;AAAA,UACd,sBAAsB;AAAA,UACtB,OAAO;AAAA,QACT;AAAA,QACA;AAAA,UACE,YAAY;AAAA,UACZ,cAAc;AAAA,UACd,sBAAsB;AAAA,UACtB,OAAO;AAAA,QACT;AAAA,QACA;AAAA,UACE,YAAY;AAAA,UACZ,cAAc;AAAA,UACd,sBAAsB;AAAA,UACtB,OAAO;AAAA,QACT;AAAA,QACA;AAAA,UACE,YAAY;AAAA,UACZ,cAAc;AAAA,UACd,sBAAsB;AAAA,UACtB,OAAO;AAAA,QACT;AAAA,QACA;AAAA,UACE,YAAY;AAAA,UACZ,cAAc;AAAA,UACd,sBAAsB;AAAA,UACtB,OAAO;AAAA,QACT;AAAA,MACF;AAAA,MACA,2BAA2B;AAAA,IAC7B;AAAA,EACF;AAAA,EACA,oBAAoB;AAAA,EACpB,mBAAmB;AAAA,IACjB;AAAA,MACE,aAAa;AAAA,QACX;AAAA,UACE,SAAS;AAAA,UACT,YAAY;AAAA,QACd;AAAA,MACF;AAAA,IACF;AAAA,IACA;AAAA,MACE,aAAa;AAAA,QACX;AAAA,UACE,SAAS;AAAA,UACT,YAAY;AAAA,QACd;AAAA,MACF;AAAA,IACF;AAAA,IACA;AAAA,MACE,aAAa;AAAA,QACX;AAAA,UACE,SAAS;AAAA,UACT,YAAY;AAAA,QACd;AAAA,MACF;AAAA,IACF;AAAA,IACA;AAAA,MACE,aAAa;AAAA,QACX;AAAA,UACE,SAAS;AAAA,UACT,YAAY;AAAA,QACd;AAAA,MACF;AAAA,IACF;AAAA,IACA;AAAA,MACE,aAAa;AAAA,QACX;AAAA,UACE,SAAS;AAAA,UACT,YAAY;AAAA,QACd;AAAA,MACF;AAAA,IACF;AAAA,EACF;AAAA,EACA,UAAU;AAAA,EACV,kBAAkB;AAAA,EAClB,SAAS;AAAA,EACT,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,WAAW;AAAA,EACX,MAAM;AACR;","names":[]}
@@ -0,0 +1,3 @@
1
+ import { EthereumGasEtherchainV2Payload } from '@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins';
2
+ export declare const sampleEtherchainGasV2: EthereumGasEtherchainV2Payload;
3
+ //# sourceMappingURL=sampleEtherchainGasV2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sampleEtherchainGasV2.d.ts","sourceRoot":"","sources":["../../../src/test/sampleEtherchainGasV2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,8BAA8B,EAAiC,MAAM,iEAAiE,CAAA;AAE/I,eAAO,MAAM,qBAAqB,EAAE,8BAYnC,CAAA"}
@@ -0,0 +1,3 @@
1
+ import { EthereumGasEtherchainV2Payload } from '@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins';
2
+ export declare const sampleEtherchainGasV2: EthereumGasEtherchainV2Payload;
3
+ //# sourceMappingURL=sampleEtherchainGasV2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sampleEtherchainGasV2.d.ts","sourceRoot":"","sources":["../../../src/test/sampleEtherchainGasV2.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,8BAA8B,EAAiC,MAAM,iEAAiE,CAAA;AAE/I,eAAO,MAAM,qBAAqB,EAAE,8BAYnC,CAAA"}
@@ -0,0 +1,42 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var sampleEtherchainGasV2_exports = {};
20
+ __export(sampleEtherchainGasV2_exports, {
21
+ sampleEtherchainGasV2: () => sampleEtherchainGasV2
22
+ });
23
+ module.exports = __toCommonJS(sampleEtherchainGasV2_exports);
24
+ var import_etherchain_gas_ethereum_blockchain_payload_plugins = require("@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins");
25
+ const sampleEtherchainGasV2 = {
26
+ code: 200,
27
+ data: {
28
+ fast: 19803047330,
29
+ priceUSD: 1195.77,
30
+ rapid: 29714286170,
31
+ slow: 112e8,
32
+ standard: 12e9,
33
+ timestamp: 1668621234096
34
+ },
35
+ schema: import_etherchain_gas_ethereum_blockchain_payload_plugins.EthereumGasEtherchainV2Schema,
36
+ timestamp: 1668621240790
37
+ };
38
+ // Annotate the CommonJS export names for ESM import in node:
39
+ 0 && (module.exports = {
40
+ sampleEtherchainGasV2
41
+ });
42
+ //# sourceMappingURL=sampleEtherchainGasV2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/test/sampleEtherchainGasV2.ts"],"sourcesContent":["import { EthereumGasEtherchainV2Payload, EthereumGasEtherchainV2Schema } from '@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins'\n\nexport const sampleEtherchainGasV2: EthereumGasEtherchainV2Payload = {\n code: 200,\n data: {\n fast: 19803047330,\n priceUSD: 1195.77,\n rapid: 29714286170,\n slow: 11200000000,\n standard: 12000000000,\n timestamp: 1668621234096,\n },\n schema: EthereumGasEtherchainV2Schema,\n timestamp: 1668621240790,\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,gEAA8E;AAEvE,MAAM,wBAAwD;AAAA,EACnE,MAAM;AAAA,EACN,MAAM;AAAA,IACJ,MAAM;AAAA,IACN,UAAU;AAAA,IACV,OAAO;AAAA,IACP,MAAM;AAAA,IACN,UAAU;AAAA,IACV,WAAW;AAAA,EACb;AAAA,EACA,QAAQ;AAAA,EACR,WAAW;AACb;","names":[]}
@@ -0,0 +1,18 @@
1
+ import { EthereumGasEtherchainV2Schema } from "@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins";
2
+ const sampleEtherchainGasV2 = {
3
+ code: 200,
4
+ data: {
5
+ fast: 19803047330,
6
+ priceUSD: 1195.77,
7
+ rapid: 29714286170,
8
+ slow: 112e8,
9
+ standard: 12e9,
10
+ timestamp: 1668621234096
11
+ },
12
+ schema: EthereumGasEtherchainV2Schema,
13
+ timestamp: 1668621240790
14
+ };
15
+ export {
16
+ sampleEtherchainGasV2
17
+ };
18
+ //# sourceMappingURL=sampleEtherchainGasV2.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/test/sampleEtherchainGasV2.ts"],"sourcesContent":["import { EthereumGasEtherchainV2Payload, EthereumGasEtherchainV2Schema } from '@xyo-network/etherchain-gas-ethereum-blockchain-payload-plugins'\n\nexport const sampleEtherchainGasV2: EthereumGasEtherchainV2Payload = {\n code: 200,\n data: {\n fast: 19803047330,\n priceUSD: 1195.77,\n rapid: 29714286170,\n slow: 11200000000,\n standard: 12000000000,\n timestamp: 1668621234096,\n },\n schema: EthereumGasEtherchainV2Schema,\n timestamp: 1668621240790,\n}\n"],"mappings":"AAAA,SAAyC,qCAAqC;AAEvE,MAAM,wBAAwD;AAAA,EACnE,MAAM;AAAA,EACN,MAAM;AAAA,IACJ,MAAM;AAAA,IACN,UAAU;AAAA,IACV,OAAO;AAAA,IACP,MAAM;AAAA,IACN,UAAU;AAAA,IACV,WAAW;AAAA,EACb;AAAA,EACA,QAAQ;AAAA,EACR,WAAW;AACb;","names":[]}
@@ -0,0 +1,3 @@
1
+ import { EthereumGasEthersPayload } from '@xyo-network/ethers-ethereum-gas-payload-plugin';
2
+ export declare const sampleEthersGas: EthereumGasEthersPayload;
3
+ //# sourceMappingURL=sampleEthersGas.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sampleEthersGas.d.ts","sourceRoot":"","sources":["../../../src/test/sampleEthersGas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAA2B,MAAM,iDAAiD,CAAA;AAEnH,eAAO,MAAM,eAAe,EAAE,wBAO7B,CAAA"}
@@ -0,0 +1,3 @@
1
+ import { EthereumGasEthersPayload } from '@xyo-network/ethers-ethereum-gas-payload-plugin';
2
+ export declare const sampleEthersGas: EthereumGasEthersPayload;
3
+ //# sourceMappingURL=sampleEthersGas.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sampleEthersGas.d.ts","sourceRoot":"","sources":["../../../src/test/sampleEthersGas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAA2B,MAAM,iDAAiD,CAAA;AAEnH,eAAO,MAAM,eAAe,EAAE,wBAO7B,CAAA"}
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var sampleEthersGas_exports = {};
20
+ __export(sampleEthersGas_exports, {
21
+ sampleEthersGas: () => sampleEthersGas
22
+ });
23
+ module.exports = __toCommonJS(sampleEthersGas_exports);
24
+ var import_ethers_ethereum_gas_payload_plugin = require("@xyo-network/ethers-ethereum-gas-payload-plugin");
25
+ const sampleEthersGas = {
26
+ gasPrice: 13547863640,
27
+ lastBaseFeePerGas: 13447862081,
28
+ maxFeePerGas: 28395724162,
29
+ maxPriorityFeePerGas: 15e8,
30
+ schema: import_ethers_ethereum_gas_payload_plugin.EthereumGasEthersSchema,
31
+ timestamp: 1668697958837
32
+ };
33
+ // Annotate the CommonJS export names for ESM import in node:
34
+ 0 && (module.exports = {
35
+ sampleEthersGas
36
+ });
37
+ //# sourceMappingURL=sampleEthersGas.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/test/sampleEthersGas.ts"],"sourcesContent":["import { EthereumGasEthersPayload, EthereumGasEthersSchema } from '@xyo-network/ethers-ethereum-gas-payload-plugin'\n\nexport const sampleEthersGas: EthereumGasEthersPayload = {\n gasPrice: 13547863640,\n lastBaseFeePerGas: 13447862081,\n maxFeePerGas: 28395724162,\n maxPriorityFeePerGas: 1500000000,\n schema: EthereumGasEthersSchema,\n timestamp: 1668697958837,\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,gDAAkE;AAE3D,MAAM,kBAA4C;AAAA,EACvD,UAAU;AAAA,EACV,mBAAmB;AAAA,EACnB,cAAc;AAAA,EACd,sBAAsB;AAAA,EACtB,QAAQ;AAAA,EACR,WAAW;AACb;","names":[]}
@@ -0,0 +1,13 @@
1
+ import { EthereumGasEthersSchema } from "@xyo-network/ethers-ethereum-gas-payload-plugin";
2
+ const sampleEthersGas = {
3
+ gasPrice: 13547863640,
4
+ lastBaseFeePerGas: 13447862081,
5
+ maxFeePerGas: 28395724162,
6
+ maxPriorityFeePerGas: 15e8,
7
+ schema: EthereumGasEthersSchema,
8
+ timestamp: 1668697958837
9
+ };
10
+ export {
11
+ sampleEthersGas
12
+ };
13
+ //# sourceMappingURL=sampleEthersGas.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/test/sampleEthersGas.ts"],"sourcesContent":["import { EthereumGasEthersPayload, EthereumGasEthersSchema } from '@xyo-network/ethers-ethereum-gas-payload-plugin'\n\nexport const sampleEthersGas: EthereumGasEthersPayload = {\n gasPrice: 13547863640,\n lastBaseFeePerGas: 13447862081,\n maxFeePerGas: 28395724162,\n maxPriorityFeePerGas: 1500000000,\n schema: EthereumGasEthersSchema,\n timestamp: 1668697958837,\n}\n"],"mappings":"AAAA,SAAmC,+BAA+B;AAE3D,MAAM,kBAA4C;AAAA,EACvD,UAAU;AAAA,EACV,mBAAmB;AAAA,EACnB,cAAc;AAAA,EACd,sBAAsB;AAAA,EACtB,QAAQ;AAAA,EACR,WAAW;AACb;","names":[]}
@@ -0,0 +1,3 @@
1
+ import { EthereumGasEtherscanPayload } from '@xyo-network/etherscan-ethereum-gas-payload-plugin';
2
+ export declare const sampleEtherscanGas: EthereumGasEtherscanPayload;
3
+ //# sourceMappingURL=sampleEtherscanGas.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sampleEtherscanGas.d.ts","sourceRoot":"","sources":["../../../src/test/sampleEtherscanGas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAA8B,MAAM,oDAAoD,CAAA;AAE5H,eAAO,MAAM,kBAAkB,EAAE,2BAahC,CAAA"}
@@ -0,0 +1,3 @@
1
+ import { EthereumGasEtherscanPayload } from '@xyo-network/etherscan-ethereum-gas-payload-plugin';
2
+ export declare const sampleEtherscanGas: EthereumGasEtherscanPayload;
3
+ //# sourceMappingURL=sampleEtherscanGas.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sampleEtherscanGas.d.ts","sourceRoot":"","sources":["../../../src/test/sampleEtherscanGas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAA8B,MAAM,oDAAoD,CAAA;AAE5H,eAAO,MAAM,kBAAkB,EAAE,2BAahC,CAAA"}
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var sampleEtherscanGas_exports = {};
20
+ __export(sampleEtherscanGas_exports, {
21
+ sampleEtherscanGas: () => sampleEtherscanGas
22
+ });
23
+ module.exports = __toCommonJS(sampleEtherscanGas_exports);
24
+ var import_etherscan_ethereum_gas_payload_plugin = require("@xyo-network/etherscan-ethereum-gas-payload-plugin");
25
+ const sampleEtherscanGas = {
26
+ message: "OK",
27
+ result: {
28
+ FastGasPrice: "30",
29
+ LastBlock: "15990556",
30
+ ProposeGasPrice: "29",
31
+ SafeGasPrice: "28",
32
+ gasUsedRatio: "0.416266666666667,0.5672862,0.540979033333333,0.342410966666667,0.389071233333333",
33
+ suggestBaseFee: "27.616709247"
34
+ },
35
+ schema: import_etherscan_ethereum_gas_payload_plugin.EthereumGasEtherscanSchema,
36
+ status: "1",
37
+ timestamp: 1668697958837
38
+ };
39
+ // Annotate the CommonJS export names for ESM import in node:
40
+ 0 && (module.exports = {
41
+ sampleEtherscanGas
42
+ });
43
+ //# sourceMappingURL=sampleEtherscanGas.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/test/sampleEtherscanGas.ts"],"sourcesContent":["import { EthereumGasEtherscanPayload, EthereumGasEtherscanSchema } from '@xyo-network/etherscan-ethereum-gas-payload-plugin'\n\nexport const sampleEtherscanGas: EthereumGasEtherscanPayload = {\n message: 'OK',\n result: {\n FastGasPrice: '30',\n LastBlock: '15990556',\n ProposeGasPrice: '29',\n SafeGasPrice: '28',\n gasUsedRatio: '0.416266666666667,0.5672862,0.540979033333333,0.342410966666667,0.389071233333333',\n suggestBaseFee: '27.616709247',\n },\n schema: EthereumGasEtherscanSchema,\n status: '1',\n timestamp: 1668697958837,\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mDAAwE;AAEjE,MAAM,qBAAkD;AAAA,EAC7D,SAAS;AAAA,EACT,QAAQ;AAAA,IACN,cAAc;AAAA,IACd,WAAW;AAAA,IACX,iBAAiB;AAAA,IACjB,cAAc;AAAA,IACd,cAAc;AAAA,IACd,gBAAgB;AAAA,EAClB;AAAA,EACA,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,WAAW;AACb;","names":[]}
@@ -0,0 +1,19 @@
1
+ import { EthereumGasEtherscanSchema } from "@xyo-network/etherscan-ethereum-gas-payload-plugin";
2
+ const sampleEtherscanGas = {
3
+ message: "OK",
4
+ result: {
5
+ FastGasPrice: "30",
6
+ LastBlock: "15990556",
7
+ ProposeGasPrice: "29",
8
+ SafeGasPrice: "28",
9
+ gasUsedRatio: "0.416266666666667,0.5672862,0.540979033333333,0.342410966666667,0.389071233333333",
10
+ suggestBaseFee: "27.616709247"
11
+ },
12
+ schema: EthereumGasEtherscanSchema,
13
+ status: "1",
14
+ timestamp: 1668697958837
15
+ };
16
+ export {
17
+ sampleEtherscanGas
18
+ };
19
+ //# sourceMappingURL=sampleEtherscanGas.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/test/sampleEtherscanGas.ts"],"sourcesContent":["import { EthereumGasEtherscanPayload, EthereumGasEtherscanSchema } from '@xyo-network/etherscan-ethereum-gas-payload-plugin'\n\nexport const sampleEtherscanGas: EthereumGasEtherscanPayload = {\n message: 'OK',\n result: {\n FastGasPrice: '30',\n LastBlock: '15990556',\n ProposeGasPrice: '29',\n SafeGasPrice: '28',\n gasUsedRatio: '0.416266666666667,0.5672862,0.540979033333333,0.342410966666667,0.389071233333333',\n suggestBaseFee: '27.616709247',\n },\n schema: EthereumGasEtherscanSchema,\n status: '1',\n timestamp: 1668697958837,\n}\n"],"mappings":"AAAA,SAAsC,kCAAkC;AAEjE,MAAM,qBAAkD;AAAA,EAC7D,SAAS;AAAA,EACT,QAAQ;AAAA,IACN,cAAc;AAAA,IACd,WAAW;AAAA,IACX,iBAAiB;AAAA,IACjB,cAAc;AAAA,IACd,cAAc;AAAA,IACd,gBAAgB;AAAA,EAClB;AAAA,EACA,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,WAAW;AACb;","names":[]}
@@ -0,0 +1,3 @@
1
+ import { EthereumGasEthgasstationPayload } from '@xyo-network/ethgasstation-ethereum-gas-payload-plugin';
2
+ export declare const sampleEthgasstationGas: EthereumGasEthgasstationPayload;
3
+ //# sourceMappingURL=sampleEthgasstationGas.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sampleEthgasstationGas.d.ts","sourceRoot":"","sources":["../../../src/test/sampleEthgasstationGas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+BAA+B,EAAkC,MAAM,wDAAwD,CAAA;AAExI,eAAO,MAAM,sBAAsB,EAAE,+BAiBpC,CAAA"}
@@ -0,0 +1,3 @@
1
+ import { EthereumGasEthgasstationPayload } from '@xyo-network/ethgasstation-ethereum-gas-payload-plugin';
2
+ export declare const sampleEthgasstationGas: EthereumGasEthgasstationPayload;
3
+ //# sourceMappingURL=sampleEthgasstationGas.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sampleEthgasstationGas.d.ts","sourceRoot":"","sources":["../../../src/test/sampleEthgasstationGas.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,+BAA+B,EAAkC,MAAM,wDAAwD,CAAA;AAExI,eAAO,MAAM,sBAAsB,EAAE,+BAiBpC,CAAA"}
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var sampleEthgasstationGas_exports = {};
20
+ __export(sampleEthgasstationGas_exports, {
21
+ sampleEthgasstationGas: () => sampleEthgasstationGas
22
+ });
23
+ module.exports = __toCommonJS(sampleEthgasstationGas_exports);
24
+ var import_ethgasstation_ethereum_gas_payload_plugin = require("@xyo-network/ethgasstation-ethereum-gas-payload-plugin");
25
+ const sampleEthgasstationGas = {
26
+ baseFee: 10,
27
+ blockNumber: 16028883,
28
+ blockTime: 11.88,
29
+ gasPrice: {
30
+ fast: 12,
31
+ instant: 13,
32
+ standard: 12
33
+ },
34
+ nextBaseFee: 10,
35
+ priorityFee: {
36
+ fast: 2,
37
+ instant: 2,
38
+ standard: 2
39
+ },
40
+ schema: import_ethgasstation_ethereum_gas_payload_plugin.EthereumGasEthgasstationSchema,
41
+ timestamp: 1668697958837
42
+ };
43
+ // Annotate the CommonJS export names for ESM import in node:
44
+ 0 && (module.exports = {
45
+ sampleEthgasstationGas
46
+ });
47
+ //# sourceMappingURL=sampleEthgasstationGas.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../../src/test/sampleEthgasstationGas.ts"],"sourcesContent":["import { EthereumGasEthgasstationPayload, EthereumGasEthgasstationSchema } from '@xyo-network/ethgasstation-ethereum-gas-payload-plugin'\n\nexport const sampleEthgasstationGas: EthereumGasEthgasstationPayload = {\n baseFee: 10,\n blockNumber: 16028883,\n blockTime: 11.88,\n gasPrice: {\n fast: 12,\n instant: 13,\n standard: 12,\n },\n nextBaseFee: 10,\n priorityFee: {\n fast: 2,\n instant: 2,\n standard: 2,\n },\n schema: EthereumGasEthgasstationSchema,\n timestamp: 1668697958837,\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,uDAAgF;AAEzE,MAAM,yBAA0D;AAAA,EACrE,SAAS;AAAA,EACT,aAAa;AAAA,EACb,WAAW;AAAA,EACX,UAAU;AAAA,IACR,MAAM;AAAA,IACN,SAAS;AAAA,IACT,UAAU;AAAA,EACZ;AAAA,EACA,aAAa;AAAA,EACb,aAAa;AAAA,IACX,MAAM;AAAA,IACN,SAAS;AAAA,IACT,UAAU;AAAA,EACZ;AAAA,EACA,QAAQ;AAAA,EACR,WAAW;AACb;","names":[]}