@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.
- package/dist/Diviner.d.mts.map +1 -0
- package/dist/Diviner.d.ts +16 -0
- package/dist/Diviner.d.ts.map +1 -0
- package/dist/Plugin.d.mts +50 -0
- package/dist/Plugin.d.mts.map +1 -0
- package/dist/{types/Plugin.d.ts → Plugin.d.ts} +5 -5
- package/dist/Plugin.d.ts.map +1 -0
- package/dist/Schema.d.mts.map +1 -0
- package/dist/Schema.d.ts +5 -0
- package/dist/Schema.d.ts.map +1 -0
- package/dist/index.d.mts.map +1 -0
- package/dist/{esm/index.js → index.d.ts} +1 -2
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +289 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +259 -0
- package/dist/index.mjs.map +1 -0
- package/dist/lib/average.d.mts.map +1 -0
- package/dist/lib/average.d.ts +8 -0
- package/dist/lib/average.d.ts.map +1 -0
- package/dist/lib/divineGas.d.mts.map +1 -0
- package/dist/lib/divineGas.d.ts +4 -0
- package/dist/lib/divineGas.d.ts.map +1 -0
- package/dist/lib/identities/index.d.mts.map +1 -0
- package/dist/{esm/lib/identities/index.js → lib/identities/index.d.ts} +1 -1
- package/dist/lib/identities/index.d.ts.map +1 -0
- package/dist/lib/identities/isEthereumGasBlocknativePayload.d.mts +6 -0
- package/dist/lib/identities/isEthereumGasBlocknativePayload.d.mts.map +1 -0
- package/dist/{types/lib → lib}/identities/isEthereumGasBlocknativePayload.d.ts +0 -2
- package/dist/lib/identities/isEthereumGasBlocknativePayload.d.ts.map +1 -0
- package/dist/lib/identities/isEthereumGasEtherchainV2Payload.d.mts +6 -0
- package/dist/lib/identities/isEthereumGasEtherchainV2Payload.d.mts.map +1 -0
- package/dist/{types/lib → lib}/identities/isEthereumGasEtherchainV2Payload.d.ts +0 -2
- package/dist/lib/identities/isEthereumGasEtherchainV2Payload.d.ts.map +1 -0
- package/dist/lib/identities/isEthereumGasEthersPayload.d.mts +6 -0
- package/dist/lib/identities/isEthereumGasEthersPayload.d.mts.map +1 -0
- package/dist/{types/lib → lib}/identities/isEthereumGasEthersPayload.d.ts +0 -2
- package/dist/lib/identities/isEthereumGasEthersPayload.d.ts.map +1 -0
- package/dist/lib/identities/isEthereumGasEtherscanPayload.d.mts +6 -0
- package/dist/lib/identities/isEthereumGasEtherscanPayload.d.mts.map +1 -0
- package/dist/{types/lib → lib}/identities/isEthereumGasEtherscanPayload.d.ts +0 -2
- package/dist/lib/identities/isEthereumGasEtherscanPayload.d.ts.map +1 -0
- package/dist/lib/identities/isEthereumGasEthgasstationPayload.d.mts +6 -0
- package/dist/lib/identities/isEthereumGasEthgasstationPayload.d.mts.map +1 -0
- package/dist/{types/lib → lib}/identities/isEthereumGasEthgasstationPayload.d.ts +0 -2
- package/dist/lib/identities/isEthereumGasEthgasstationPayload.d.ts.map +1 -0
- package/dist/lib/index.d.mts.map +1 -0
- package/dist/lib/index.d.ts +2 -0
- package/dist/lib/index.d.ts.map +1 -0
- package/dist/lib/transforms/index.d.mts.map +1 -0
- package/dist/{esm/lib/transforms/index.js → lib/transforms/index.d.ts} +1 -1
- package/dist/lib/transforms/index.d.ts.map +1 -0
- package/dist/lib/transforms/transformGasFromBlocknative.d.mts.map +1 -0
- package/dist/lib/transforms/transformGasFromBlocknative.d.ts +4 -0
- package/dist/lib/transforms/transformGasFromBlocknative.d.ts.map +1 -0
- package/dist/lib/transforms/transformGasFromEtherchainV2.d.mts.map +1 -0
- package/dist/lib/transforms/transformGasFromEtherchainV2.d.ts +4 -0
- package/dist/lib/transforms/transformGasFromEtherchainV2.d.ts.map +1 -0
- package/dist/lib/transforms/transformGasFromEthers.d.mts.map +1 -0
- package/dist/lib/transforms/transformGasFromEthers.d.ts +4 -0
- package/dist/lib/transforms/transformGasFromEthers.d.ts.map +1 -0
- package/dist/lib/transforms/transformGasFromEtherscan.d.mts.map +1 -0
- package/dist/lib/transforms/transformGasFromEtherscan.d.ts +4 -0
- package/dist/lib/transforms/transformGasFromEtherscan.d.ts.map +1 -0
- package/dist/lib/transforms/transformGasFromEthgasstation.d.mts.map +1 -0
- package/dist/lib/transforms/transformGasFromEthgasstation.d.ts +4 -0
- package/dist/lib/transforms/transformGasFromEthgasstation.d.ts.map +1 -0
- package/dist/test/index.d.mts.map +1 -0
- package/dist/{esm/test/index.js → test/index.d.ts} +1 -1
- package/dist/test/index.d.ts.map +1 -0
- package/dist/test/sampleBlocknativeGas.d.mts.map +1 -0
- package/dist/test/sampleBlocknativeGas.d.ts +3 -0
- package/dist/test/sampleBlocknativeGas.d.ts.map +1 -0
- package/dist/test/sampleEtherchainGasV2.d.mts.map +1 -0
- package/dist/test/sampleEtherchainGasV2.d.ts +3 -0
- package/dist/test/sampleEtherchainGasV2.d.ts.map +1 -0
- package/dist/test/sampleEthersGas.d.mts.map +1 -0
- package/dist/test/sampleEthersGas.d.ts +3 -0
- package/dist/test/sampleEthersGas.d.ts.map +1 -0
- package/dist/test/sampleEtherscanGas.d.mts.map +1 -0
- package/dist/test/sampleEtherscanGas.d.ts +3 -0
- package/dist/test/sampleEtherscanGas.d.ts.map +1 -0
- package/dist/test/sampleEthgasstationGas.d.mts.map +1 -0
- package/dist/test/sampleEthgasstationGas.d.ts +3 -0
- package/dist/test/sampleEthgasstationGas.d.ts.map +1 -0
- package/package.json +36 -29
- package/dist/cjs/Diviner.js +0 -17
- package/dist/cjs/Diviner.js.map +0 -1
- package/dist/cjs/Plugin.js +0 -15
- package/dist/cjs/Plugin.js.map +0 -1
- package/dist/cjs/Schema.js +0 -6
- package/dist/cjs/Schema.js.map +0 -1
- package/dist/cjs/index.js +0 -11
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/lib/average.js +0 -48
- package/dist/cjs/lib/average.js.map +0 -1
- package/dist/cjs/lib/divineGas.js +0 -22
- package/dist/cjs/lib/divineGas.js.map +0 -1
- package/dist/cjs/lib/identities/index.js +0 -9
- package/dist/cjs/lib/identities/index.js.map +0 -1
- package/dist/cjs/lib/identities/isEthereumGasBlocknativePayload.js +0 -9
- package/dist/cjs/lib/identities/isEthereumGasBlocknativePayload.js.map +0 -1
- package/dist/cjs/lib/identities/isEthereumGasEtherchainV2Payload.js +0 -9
- package/dist/cjs/lib/identities/isEthereumGasEtherchainV2Payload.js.map +0 -1
- package/dist/cjs/lib/identities/isEthereumGasEthersPayload.js +0 -9
- package/dist/cjs/lib/identities/isEthereumGasEthersPayload.js.map +0 -1
- package/dist/cjs/lib/identities/isEthereumGasEtherscanPayload.js +0 -9
- package/dist/cjs/lib/identities/isEthereumGasEtherscanPayload.js.map +0 -1
- package/dist/cjs/lib/identities/isEthereumGasEthgasstationPayload.js +0 -9
- package/dist/cjs/lib/identities/isEthereumGasEthgasstationPayload.js.map +0 -1
- package/dist/cjs/lib/index.js +0 -5
- package/dist/cjs/lib/index.js.map +0 -1
- package/dist/cjs/lib/transforms/index.js +0 -9
- package/dist/cjs/lib/transforms/index.js.map +0 -1
- package/dist/cjs/lib/transforms/transformGasFromBlocknative.js +0 -52
- package/dist/cjs/lib/transforms/transformGasFromBlocknative.js.map +0 -1
- package/dist/cjs/lib/transforms/transformGasFromEtherchainV2.js +0 -19
- package/dist/cjs/lib/transforms/transformGasFromEtherchainV2.js.map +0 -1
- package/dist/cjs/lib/transforms/transformGasFromEthers.js +0 -25
- package/dist/cjs/lib/transforms/transformGasFromEthers.js.map +0 -1
- package/dist/cjs/lib/transforms/transformGasFromEtherscan.js +0 -28
- package/dist/cjs/lib/transforms/transformGasFromEtherscan.js.map +0 -1
- package/dist/cjs/lib/transforms/transformGasFromEthgasstation.js +0 -36
- package/dist/cjs/lib/transforms/transformGasFromEthgasstation.js.map +0 -1
- package/dist/cjs/test/index.js +0 -9
- package/dist/cjs/test/index.js.map +0 -1
- package/dist/cjs/test/sampleBlocknativeGas.js +0 -96
- package/dist/cjs/test/sampleBlocknativeGas.js.map +0 -1
- package/dist/cjs/test/sampleEtherchainGasV2.js +0 -18
- package/dist/cjs/test/sampleEtherchainGasV2.js.map +0 -1
- package/dist/cjs/test/sampleEthersGas.js +0 -13
- package/dist/cjs/test/sampleEthersGas.js.map +0 -1
- package/dist/cjs/test/sampleEtherscanGas.js +0 -19
- package/dist/cjs/test/sampleEtherscanGas.js.map +0 -1
- package/dist/cjs/test/sampleEthgasstationGas.js +0 -23
- package/dist/cjs/test/sampleEthgasstationGas.js.map +0 -1
- package/dist/docs.json +0 -22438
- package/dist/esm/Diviner.js +0 -13
- package/dist/esm/Diviner.js.map +0 -1
- package/dist/esm/Plugin.js +0 -10
- package/dist/esm/Plugin.js.map +0 -1
- package/dist/esm/Schema.js +0 -3
- package/dist/esm/Schema.js.map +0 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/lib/average.js +0 -44
- package/dist/esm/lib/average.js.map +0 -1
- package/dist/esm/lib/divineGas.js +0 -18
- package/dist/esm/lib/divineGas.js.map +0 -1
- package/dist/esm/lib/identities/index.js.map +0 -1
- package/dist/esm/lib/identities/isEthereumGasBlocknativePayload.js +0 -5
- package/dist/esm/lib/identities/isEthereumGasBlocknativePayload.js.map +0 -1
- package/dist/esm/lib/identities/isEthereumGasEtherchainV2Payload.js +0 -5
- package/dist/esm/lib/identities/isEthereumGasEtherchainV2Payload.js.map +0 -1
- package/dist/esm/lib/identities/isEthereumGasEthersPayload.js +0 -5
- package/dist/esm/lib/identities/isEthereumGasEthersPayload.js.map +0 -1
- package/dist/esm/lib/identities/isEthereumGasEtherscanPayload.js +0 -5
- package/dist/esm/lib/identities/isEthereumGasEtherscanPayload.js.map +0 -1
- package/dist/esm/lib/identities/isEthereumGasEthgasstationPayload.js +0 -5
- package/dist/esm/lib/identities/isEthereumGasEthgasstationPayload.js.map +0 -1
- package/dist/esm/lib/index.js +0 -2
- package/dist/esm/lib/index.js.map +0 -1
- package/dist/esm/lib/transforms/index.js.map +0 -1
- package/dist/esm/lib/transforms/transformGasFromBlocknative.js +0 -45
- package/dist/esm/lib/transforms/transformGasFromBlocknative.js.map +0 -1
- package/dist/esm/lib/transforms/transformGasFromEtherchainV2.js +0 -15
- package/dist/esm/lib/transforms/transformGasFromEtherchainV2.js.map +0 -1
- package/dist/esm/lib/transforms/transformGasFromEthers.js +0 -21
- package/dist/esm/lib/transforms/transformGasFromEthers.js.map +0 -1
- package/dist/esm/lib/transforms/transformGasFromEtherscan.js +0 -24
- package/dist/esm/lib/transforms/transformGasFromEtherscan.js.map +0 -1
- package/dist/esm/lib/transforms/transformGasFromEthgasstation.js +0 -32
- package/dist/esm/lib/transforms/transformGasFromEthgasstation.js.map +0 -1
- package/dist/esm/test/index.js.map +0 -1
- package/dist/esm/test/sampleBlocknativeGas.js +0 -93
- package/dist/esm/test/sampleBlocknativeGas.js.map +0 -1
- package/dist/esm/test/sampleEtherchainGasV2.js +0 -15
- package/dist/esm/test/sampleEtherchainGasV2.js.map +0 -1
- package/dist/esm/test/sampleEthersGas.js +0 -10
- package/dist/esm/test/sampleEthersGas.js.map +0 -1
- package/dist/esm/test/sampleEtherscanGas.js +0 -16
- package/dist/esm/test/sampleEtherscanGas.js.map +0 -1
- package/dist/esm/test/sampleEthgasstationGas.js +0 -20
- package/dist/esm/test/sampleEthgasstationGas.js.map +0 -1
- package/dist/types/Diviner.d.ts.map +0 -1
- package/dist/types/Plugin.d.ts.map +0 -1
- package/dist/types/Schema.d.ts.map +0 -1
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/lib/average.d.ts.map +0 -1
- package/dist/types/lib/divineGas.d.ts.map +0 -1
- package/dist/types/lib/identities/index.d.ts.map +0 -1
- package/dist/types/lib/identities/isEthereumGasBlocknativePayload.d.ts.map +0 -1
- package/dist/types/lib/identities/isEthereumGasEtherchainV2Payload.d.ts.map +0 -1
- package/dist/types/lib/identities/isEthereumGasEthersPayload.d.ts.map +0 -1
- package/dist/types/lib/identities/isEthereumGasEtherscanPayload.d.ts.map +0 -1
- package/dist/types/lib/identities/isEthereumGasEthgasstationPayload.d.ts.map +0 -1
- package/dist/types/lib/index.d.ts.map +0 -1
- package/dist/types/lib/transforms/index.d.ts.map +0 -1
- package/dist/types/lib/transforms/transformGasFromBlocknative.d.ts.map +0 -1
- package/dist/types/lib/transforms/transformGasFromEtherchainV2.d.ts.map +0 -1
- package/dist/types/lib/transforms/transformGasFromEthers.d.ts.map +0 -1
- package/dist/types/lib/transforms/transformGasFromEtherscan.d.ts.map +0 -1
- package/dist/types/lib/transforms/transformGasFromEthgasstation.d.ts.map +0 -1
- package/dist/types/test/index.d.ts.map +0 -1
- package/dist/types/test/sampleBlocknativeGas.d.ts.map +0 -1
- package/dist/types/test/sampleEtherchainGasV2.d.ts.map +0 -1
- package/dist/types/test/sampleEthersGas.d.ts.map +0 -1
- package/dist/types/test/sampleEtherscanGas.d.ts.map +0 -1
- package/dist/types/test/sampleEthgasstationGas.d.ts.map +0 -1
- /package/dist/{types/Diviner.d.ts → Diviner.d.mts} +0 -0
- /package/dist/{types/Schema.d.ts → Schema.d.mts} +0 -0
- /package/dist/{types/index.d.ts → index.d.mts} +0 -0
- /package/dist/{types/lib/average.d.ts → lib/average.d.mts} +0 -0
- /package/dist/{types/lib/divineGas.d.ts → lib/divineGas.d.mts} +0 -0
- /package/dist/{types/lib/identities/index.d.ts → lib/identities/index.d.mts} +0 -0
- /package/dist/{types/lib/index.d.ts → lib/index.d.mts} +0 -0
- /package/dist/{types/lib/transforms/index.d.ts → lib/transforms/index.d.mts} +0 -0
- /package/dist/{types/lib/transforms/transformGasFromBlocknative.d.ts → lib/transforms/transformGasFromBlocknative.d.mts} +0 -0
- /package/dist/{types/lib/transforms/transformGasFromEtherchainV2.d.ts → lib/transforms/transformGasFromEtherchainV2.d.mts} +0 -0
- /package/dist/{types/lib/transforms/transformGasFromEthers.d.ts → lib/transforms/transformGasFromEthers.d.mts} +0 -0
- /package/dist/{types/lib/transforms/transformGasFromEtherscan.d.ts → lib/transforms/transformGasFromEtherscan.d.mts} +0 -0
- /package/dist/{types/lib/transforms/transformGasFromEthgasstation.d.ts → lib/transforms/transformGasFromEthgasstation.d.mts} +0 -0
- /package/dist/{types/test/index.d.ts → test/index.d.mts} +0 -0
- /package/dist/{types/test/sampleBlocknativeGas.d.ts → test/sampleBlocknativeGas.d.mts} +0 -0
- /package/dist/{types/test/sampleEtherchainGasV2.d.ts → test/sampleEtherchainGasV2.d.mts} +0 -0
- /package/dist/{types/test/sampleEthersGas.d.ts → test/sampleEthersGas.d.mts} +0 -0
- /package/dist/{types/test/sampleEtherscanGas.d.ts → test/sampleEtherscanGas.d.mts} +0 -0
- /package/dist/{types/test/sampleEthgasstationGas.d.ts → test/sampleEthgasstationGas.d.mts} +0 -0
package/dist/cjs/test/index.js
DELETED
|
@@ -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"}
|