@xyo-network/react-storybook 2.40.35 → 2.41.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/cjs/index.d.ts +1 -0
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +1 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/sampleGasPricePayloads/blockNative.d.ts +68 -0
- package/dist/cjs/sampleGasPricePayloads/blockNative.d.ts.map +1 -0
- package/dist/cjs/sampleGasPricePayloads/blockNative.js +95 -0
- package/dist/cjs/sampleGasPricePayloads/blockNative.js.map +1 -0
- package/dist/cjs/sampleGasPricePayloads/ethGasStation.d.ts +19 -0
- package/dist/cjs/sampleGasPricePayloads/ethGasStation.d.ts.map +1 -0
- package/dist/cjs/sampleGasPricePayloads/ethGasStation.js +22 -0
- package/dist/cjs/sampleGasPricePayloads/ethGasStation.js.map +1 -0
- package/dist/cjs/sampleGasPricePayloads/etherchainV1.d.ts +11 -0
- package/dist/cjs/sampleGasPricePayloads/etherchainV1.d.ts.map +1 -0
- package/dist/cjs/sampleGasPricePayloads/etherchainV1.js +14 -0
- package/dist/cjs/sampleGasPricePayloads/etherchainV1.js.map +1 -0
- package/dist/cjs/sampleGasPricePayloads/etherchainV2.d.ts +14 -0
- package/dist/cjs/sampleGasPricePayloads/etherchainV2.d.ts.map +1 -0
- package/dist/cjs/sampleGasPricePayloads/etherchainV2.js +17 -0
- package/dist/cjs/sampleGasPricePayloads/etherchainV2.js.map +1 -0
- package/dist/cjs/sampleGasPricePayloads/ethers.d.ts +9 -0
- package/dist/cjs/sampleGasPricePayloads/ethers.d.ts.map +1 -0
- package/dist/cjs/sampleGasPricePayloads/ethers.js +12 -0
- package/dist/cjs/sampleGasPricePayloads/ethers.js.map +1 -0
- package/dist/cjs/sampleGasPricePayloads/etherscan.d.ts +15 -0
- package/dist/cjs/sampleGasPricePayloads/etherscan.d.ts.map +1 -0
- package/dist/cjs/sampleGasPricePayloads/etherscan.js +18 -0
- package/dist/cjs/sampleGasPricePayloads/etherscan.js.map +1 -0
- package/dist/cjs/sampleGasPricePayloads/index.d.ts +7 -0
- package/dist/cjs/sampleGasPricePayloads/index.d.ts.map +1 -0
- package/dist/cjs/sampleGasPricePayloads/index.js +10 -0
- package/dist/cjs/sampleGasPricePayloads/index.js.map +1 -0
- package/dist/docs.json +4565 -1734
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +1 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/sampleGasPricePayloads/blockNative.d.ts +68 -0
- package/dist/esm/sampleGasPricePayloads/blockNative.d.ts.map +1 -0
- package/dist/esm/sampleGasPricePayloads/blockNative.js +92 -0
- package/dist/esm/sampleGasPricePayloads/blockNative.js.map +1 -0
- package/dist/esm/sampleGasPricePayloads/ethGasStation.d.ts +19 -0
- package/dist/esm/sampleGasPricePayloads/ethGasStation.d.ts.map +1 -0
- package/dist/esm/sampleGasPricePayloads/ethGasStation.js +19 -0
- package/dist/esm/sampleGasPricePayloads/ethGasStation.js.map +1 -0
- package/dist/esm/sampleGasPricePayloads/etherchainV1.d.ts +11 -0
- package/dist/esm/sampleGasPricePayloads/etherchainV1.d.ts.map +1 -0
- package/dist/esm/sampleGasPricePayloads/etherchainV1.js +11 -0
- package/dist/esm/sampleGasPricePayloads/etherchainV1.js.map +1 -0
- package/dist/esm/sampleGasPricePayloads/etherchainV2.d.ts +14 -0
- package/dist/esm/sampleGasPricePayloads/etherchainV2.d.ts.map +1 -0
- package/dist/esm/sampleGasPricePayloads/etherchainV2.js +14 -0
- package/dist/esm/sampleGasPricePayloads/etherchainV2.js.map +1 -0
- package/dist/esm/sampleGasPricePayloads/ethers.d.ts +9 -0
- package/dist/esm/sampleGasPricePayloads/ethers.d.ts.map +1 -0
- package/dist/esm/sampleGasPricePayloads/ethers.js +9 -0
- package/dist/esm/sampleGasPricePayloads/ethers.js.map +1 -0
- package/dist/esm/sampleGasPricePayloads/etherscan.d.ts +15 -0
- package/dist/esm/sampleGasPricePayloads/etherscan.d.ts.map +1 -0
- package/dist/esm/sampleGasPricePayloads/etherscan.js +15 -0
- package/dist/esm/sampleGasPricePayloads/etherscan.js.map +1 -0
- package/dist/esm/sampleGasPricePayloads/index.d.ts +7 -0
- package/dist/esm/sampleGasPricePayloads/index.d.ts.map +1 -0
- package/dist/esm/sampleGasPricePayloads/index.js +7 -0
- package/dist/esm/sampleGasPricePayloads/index.js.map +1 -0
- package/package.json +7 -7
- package/src/index.ts +1 -0
- package/src/sampleGasPricePayloads/blockNative.ts +91 -0
- package/src/sampleGasPricePayloads/ethGasStation.ts +18 -0
- package/src/sampleGasPricePayloads/etherchainV1.ts +10 -0
- package/src/sampleGasPricePayloads/etherchainV2.ts +13 -0
- package/src/sampleGasPricePayloads/ethers.ts +8 -0
- package/src/sampleGasPricePayloads/etherscan.ts +14 -0
- package/src/sampleGasPricePayloads/index.ts +6 -0
package/dist/cjs/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export * from './sampleAddressHistory';
|
|
|
5
5
|
export * from './sampleBlock';
|
|
6
6
|
export * from './sampleCoinGeckoPayload';
|
|
7
7
|
export * from './sampleEthereumGasDivinerPayload';
|
|
8
|
+
export * from './sampleGasPricePayloads';
|
|
8
9
|
export * from './samplePayload';
|
|
9
10
|
export * from './sampleUniswapPayload';
|
|
10
11
|
export * from './useAppThemeDecorator';
|
package/dist/cjs/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,kBAAkB,CAAA;AAChC,cAAc,wBAAwB,CAAA;AACtC,cAAc,eAAe,CAAA;AAC7B,cAAc,0BAA0B,CAAA;AACxC,cAAc,mCAAmC,CAAA;AACjD,cAAc,iBAAiB,CAAA;AAC/B,cAAc,wBAAwB,CAAA;AACtC,cAAc,wBAAwB,CAAA;AACtC,cAAc,mBAAmB,CAAA;AACjC,cAAc,oBAAoB,CAAA;AAClC,cAAc,eAAe,CAAA;AAC7B,cAAc,wBAAwB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,kBAAkB,CAAA;AAChC,cAAc,wBAAwB,CAAA;AACtC,cAAc,eAAe,CAAA;AAC7B,cAAc,0BAA0B,CAAA;AACxC,cAAc,mCAAmC,CAAA;AACjD,cAAc,0BAA0B,CAAA;AACxC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,wBAAwB,CAAA;AACtC,cAAc,wBAAwB,CAAA;AACtC,cAAc,mBAAmB,CAAA;AACjC,cAAc,oBAAoB,CAAA;AAClC,cAAc,eAAe,CAAA;AAC7B,cAAc,wBAAwB,CAAA"}
|
package/dist/cjs/index.js
CHANGED
|
@@ -8,6 +8,7 @@ tslib_1.__exportStar(require("./sampleAddressHistory"), exports);
|
|
|
8
8
|
tslib_1.__exportStar(require("./sampleBlock"), exports);
|
|
9
9
|
tslib_1.__exportStar(require("./sampleCoinGeckoPayload"), exports);
|
|
10
10
|
tslib_1.__exportStar(require("./sampleEthereumGasDivinerPayload"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./sampleGasPricePayloads"), exports);
|
|
11
12
|
tslib_1.__exportStar(require("./samplePayload"), exports);
|
|
12
13
|
tslib_1.__exportStar(require("./sampleUniswapPayload"), exports);
|
|
13
14
|
tslib_1.__exportStar(require("./useAppThemeDecorator"), exports);
|
package/dist/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;AAAA,kEAAuC;AACvC,0DAA+B;AAC/B,2DAAgC;AAChC,iEAAsC;AACtC,wDAA6B;AAC7B,mEAAwC;AACxC,4EAAiD;AACjD,0DAA+B;AAC/B,iEAAsC;AACtC,iEAAsC;AACtC,4DAAiC;AACjC,6DAAkC;AAClC,wDAA6B;AAC7B,iEAAsC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;AAAA,kEAAuC;AACvC,0DAA+B;AAC/B,2DAAgC;AAChC,iEAAsC;AACtC,wDAA6B;AAC7B,mEAAwC;AACxC,4EAAiD;AACjD,mEAAwC;AACxC,0DAA+B;AAC/B,iEAAsC;AACtC,iEAAsC;AACtC,4DAAiC;AACjC,6DAAkC;AAClC,wDAA6B;AAC7B,iEAAsC"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
export declare const sampleBlockNativeGasPricePayload: {
|
|
2
|
+
blockPrices: {
|
|
3
|
+
baseFeePerGas: number;
|
|
4
|
+
blockNumber: number;
|
|
5
|
+
estimatedPrices: {
|
|
6
|
+
confidence: number;
|
|
7
|
+
maxFeePerGas: number;
|
|
8
|
+
maxPriorityFeePerGas: number;
|
|
9
|
+
price: number;
|
|
10
|
+
}[];
|
|
11
|
+
estimatedTransactionCount: number;
|
|
12
|
+
}[];
|
|
13
|
+
currentBlockNumber: number;
|
|
14
|
+
estimatedBaseFees: ({
|
|
15
|
+
'pending+1': {
|
|
16
|
+
baseFee: number;
|
|
17
|
+
confidence: number;
|
|
18
|
+
}[];
|
|
19
|
+
'pending+2'?: undefined;
|
|
20
|
+
'pending+3'?: undefined;
|
|
21
|
+
'pending+4'?: undefined;
|
|
22
|
+
'pending+5'?: undefined;
|
|
23
|
+
} | {
|
|
24
|
+
'pending+2': {
|
|
25
|
+
baseFee: number;
|
|
26
|
+
confidence: number;
|
|
27
|
+
}[];
|
|
28
|
+
'pending+1'?: undefined;
|
|
29
|
+
'pending+3'?: undefined;
|
|
30
|
+
'pending+4'?: undefined;
|
|
31
|
+
'pending+5'?: undefined;
|
|
32
|
+
} | {
|
|
33
|
+
'pending+3': {
|
|
34
|
+
baseFee: number;
|
|
35
|
+
confidence: number;
|
|
36
|
+
}[];
|
|
37
|
+
'pending+1'?: undefined;
|
|
38
|
+
'pending+2'?: undefined;
|
|
39
|
+
'pending+4'?: undefined;
|
|
40
|
+
'pending+5'?: undefined;
|
|
41
|
+
} | {
|
|
42
|
+
'pending+4': {
|
|
43
|
+
baseFee: number;
|
|
44
|
+
confidence: number;
|
|
45
|
+
}[];
|
|
46
|
+
'pending+1'?: undefined;
|
|
47
|
+
'pending+2'?: undefined;
|
|
48
|
+
'pending+3'?: undefined;
|
|
49
|
+
'pending+5'?: undefined;
|
|
50
|
+
} | {
|
|
51
|
+
'pending+5': {
|
|
52
|
+
baseFee: number;
|
|
53
|
+
confidence: number;
|
|
54
|
+
}[];
|
|
55
|
+
'pending+1'?: undefined;
|
|
56
|
+
'pending+2'?: undefined;
|
|
57
|
+
'pending+3'?: undefined;
|
|
58
|
+
'pending+4'?: undefined;
|
|
59
|
+
})[];
|
|
60
|
+
maxPrice: number;
|
|
61
|
+
msSinceLastBlock: number;
|
|
62
|
+
network: string;
|
|
63
|
+
schema: string;
|
|
64
|
+
system: string;
|
|
65
|
+
timestamp: number;
|
|
66
|
+
unit: string;
|
|
67
|
+
};
|
|
68
|
+
//# sourceMappingURL=blockNative.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blockNative.d.ts","sourceRoot":"","sources":["../../../src/sampleGasPricePayloads/blockNative.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0F5C,CAAA"}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.sampleBlockNativeGasPricePayload = void 0;
|
|
4
|
+
exports.sampleBlockNativeGasPricePayload = {
|
|
5
|
+
blockPrices: [
|
|
6
|
+
{
|
|
7
|
+
baseFeePerGas: 26.32847478,
|
|
8
|
+
blockNumber: 16134624,
|
|
9
|
+
estimatedPrices: [
|
|
10
|
+
{
|
|
11
|
+
confidence: 99,
|
|
12
|
+
maxFeePerGas: 41.86,
|
|
13
|
+
maxPriorityFeePerGas: 1.18,
|
|
14
|
+
price: 27,
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
confidence: 95,
|
|
18
|
+
maxFeePerGas: 41.54,
|
|
19
|
+
maxPriorityFeePerGas: 0.86,
|
|
20
|
+
price: 27,
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
confidence: 90,
|
|
24
|
+
maxFeePerGas: 41.15,
|
|
25
|
+
maxPriorityFeePerGas: 0.47,
|
|
26
|
+
price: 26,
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
confidence: 80,
|
|
30
|
+
maxFeePerGas: 41,
|
|
31
|
+
maxPriorityFeePerGas: 0.32,
|
|
32
|
+
price: 26,
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
confidence: 70,
|
|
36
|
+
maxFeePerGas: 40.93,
|
|
37
|
+
maxPriorityFeePerGas: 0.25,
|
|
38
|
+
price: 26,
|
|
39
|
+
},
|
|
40
|
+
],
|
|
41
|
+
estimatedTransactionCount: 186,
|
|
42
|
+
},
|
|
43
|
+
],
|
|
44
|
+
currentBlockNumber: 16134623,
|
|
45
|
+
estimatedBaseFees: [
|
|
46
|
+
{
|
|
47
|
+
'pending+1': [
|
|
48
|
+
{
|
|
49
|
+
baseFee: 29.62,
|
|
50
|
+
confidence: 99,
|
|
51
|
+
},
|
|
52
|
+
],
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
'pending+2': [
|
|
56
|
+
{
|
|
57
|
+
baseFee: 33.33,
|
|
58
|
+
confidence: 99,
|
|
59
|
+
},
|
|
60
|
+
],
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
'pending+3': [
|
|
64
|
+
{
|
|
65
|
+
baseFee: 37.4,
|
|
66
|
+
confidence: 99,
|
|
67
|
+
},
|
|
68
|
+
],
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
'pending+4': [
|
|
72
|
+
{
|
|
73
|
+
baseFee: 39.26,
|
|
74
|
+
confidence: 99,
|
|
75
|
+
},
|
|
76
|
+
],
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
'pending+5': [
|
|
80
|
+
{
|
|
81
|
+
baseFee: 40.68,
|
|
82
|
+
confidence: 99,
|
|
83
|
+
},
|
|
84
|
+
],
|
|
85
|
+
},
|
|
86
|
+
],
|
|
87
|
+
maxPrice: 64,
|
|
88
|
+
msSinceLastBlock: 9645,
|
|
89
|
+
network: 'main',
|
|
90
|
+
schema: 'network.xyo.blockchain.ethereum.gas.blocknative',
|
|
91
|
+
system: 'ethereum',
|
|
92
|
+
timestamp: 1670437800246,
|
|
93
|
+
unit: 'gwei',
|
|
94
|
+
};
|
|
95
|
+
//# sourceMappingURL=blockNative.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blockNative.js","sourceRoot":"","sources":["../../../src/sampleGasPricePayloads/blockNative.ts"],"names":[],"mappings":";;;AAAa,QAAA,gCAAgC,GAAG;IAC9C,WAAW,EAAE;QACX;YACE,aAAa,EAAE,WAAW;YAC1B,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,IAAI;oBAC1B,KAAK,EAAE,EAAE;iBACV;gBACD;oBACE,UAAU,EAAE,EAAE;oBACd,YAAY,EAAE,EAAE;oBAChB,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,GAAG;SAC/B;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,IAAI;oBACb,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;KACF;IACD,QAAQ,EAAE,EAAE;IACZ,gBAAgB,EAAE,IAAI;IACtB,OAAO,EAAE,MAAM;IACf,MAAM,EAAE,iDAAiD;IACzD,MAAM,EAAE,UAAU;IAClB,SAAS,EAAE,aAAa;IACxB,IAAI,EAAE,MAAM;CACb,CAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const sampleEthGasStationGasPricePayload: {
|
|
2
|
+
baseFee: number;
|
|
3
|
+
blockNumber: number;
|
|
4
|
+
blockTime: number;
|
|
5
|
+
gasPrice: {
|
|
6
|
+
fast: number;
|
|
7
|
+
instant: number;
|
|
8
|
+
standard: number;
|
|
9
|
+
};
|
|
10
|
+
nextBaseFee: number;
|
|
11
|
+
priorityFee: {
|
|
12
|
+
fast: number;
|
|
13
|
+
instant: number;
|
|
14
|
+
standard: number;
|
|
15
|
+
};
|
|
16
|
+
schema: string;
|
|
17
|
+
timestamp: number;
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=ethGasStation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ethGasStation.d.ts","sourceRoot":"","sources":["../../../src/sampleGasPricePayloads/ethGasStation.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;CAiB9C,CAAA"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.sampleEthGasStationGasPricePayload = void 0;
|
|
4
|
+
exports.sampleEthGasStationGasPricePayload = {
|
|
5
|
+
baseFee: 37,
|
|
6
|
+
blockNumber: 16134572,
|
|
7
|
+
blockTime: 11.88,
|
|
8
|
+
gasPrice: {
|
|
9
|
+
fast: 84,
|
|
10
|
+
instant: 97,
|
|
11
|
+
standard: 53,
|
|
12
|
+
},
|
|
13
|
+
nextBaseFee: 37,
|
|
14
|
+
priorityFee: {
|
|
15
|
+
fast: 5,
|
|
16
|
+
instant: 14,
|
|
17
|
+
standard: 2,
|
|
18
|
+
},
|
|
19
|
+
schema: 'network.xyo.blockchain.ethereum.gas.ethgasstation',
|
|
20
|
+
timestamp: 1670437200687,
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=ethGasStation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ethGasStation.js","sourceRoot":"","sources":["../../../src/sampleGasPricePayloads/ethGasStation.ts"],"names":[],"mappings":";;;AAAa,QAAA,kCAAkC,GAAG;IAChD,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,EAAE;QACX,QAAQ,EAAE,CAAC;KACZ;IACD,MAAM,EAAE,mDAAmD;IAC3D,SAAS,EAAE,aAAa;CACzB,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const sampleEtherchainV1GasPricePayload: {
|
|
2
|
+
currentBaseFee: number;
|
|
3
|
+
fast: number;
|
|
4
|
+
fastest: number;
|
|
5
|
+
recommendedBaseFee: number;
|
|
6
|
+
safeLow: number;
|
|
7
|
+
schema: string;
|
|
8
|
+
standard: number;
|
|
9
|
+
timestamp: number;
|
|
10
|
+
};
|
|
11
|
+
//# sourceMappingURL=etherchainV1.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"etherchainV1.d.ts","sourceRoot":"","sources":["../../../src/sampleGasPricePayloads/etherchainV1.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iCAAiC;;;;;;;;;CAS7C,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.sampleEtherchainV1GasPricePayload = void 0;
|
|
4
|
+
exports.sampleEtherchainV1GasPricePayload = {
|
|
5
|
+
currentBaseFee: 28.3,
|
|
6
|
+
fast: 0.9,
|
|
7
|
+
fastest: 1.5,
|
|
8
|
+
recommendedBaseFee: 57.5,
|
|
9
|
+
safeLow: 0.2,
|
|
10
|
+
schema: 'network.xyo.blockchain.ethereum.gas.etherchain.v1',
|
|
11
|
+
standard: 0.4,
|
|
12
|
+
timestamp: 1670437800313,
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=etherchainV1.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"etherchainV1.js","sourceRoot":"","sources":["../../../src/sampleGasPricePayloads/etherchainV1.ts"],"names":[],"mappings":";;;AAAa,QAAA,iCAAiC,GAAG;IAC/C,cAAc,EAAE,IAAI;IACpB,IAAI,EAAE,GAAG;IACT,OAAO,EAAE,GAAG;IACZ,kBAAkB,EAAE,IAAI;IACxB,OAAO,EAAE,GAAG;IACZ,MAAM,EAAE,mDAAmD;IAC3D,QAAQ,EAAE,GAAG;IACb,SAAS,EAAE,aAAa;CACzB,CAAA"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare const sampleEtherchainV2GasPricePayload: {
|
|
2
|
+
code: number;
|
|
3
|
+
data: {
|
|
4
|
+
fast: number;
|
|
5
|
+
priceUSD: number;
|
|
6
|
+
rapid: number;
|
|
7
|
+
slow: number;
|
|
8
|
+
standard: number;
|
|
9
|
+
timestamp: number;
|
|
10
|
+
};
|
|
11
|
+
schema: string;
|
|
12
|
+
timestamp: number;
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=etherchainV2.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"etherchainV2.d.ts","sourceRoot":"","sources":["../../../src/sampleGasPricePayloads/etherchainV2.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iCAAiC;;;;;;;;;;;;CAY7C,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.sampleEtherchainV2GasPricePayload = void 0;
|
|
4
|
+
exports.sampleEtherchainV2GasPricePayload = {
|
|
5
|
+
code: 200,
|
|
6
|
+
data: {
|
|
7
|
+
fast: 26423463713,
|
|
8
|
+
priceUSD: 1229.43,
|
|
9
|
+
rapid: 37143856713,
|
|
10
|
+
slow: 13000000000,
|
|
11
|
+
standard: 21366997291,
|
|
12
|
+
timestamp: 1670437795342,
|
|
13
|
+
},
|
|
14
|
+
schema: 'network.xyo.blockchain.ethereum.gas.etherchain.v2',
|
|
15
|
+
timestamp: 1670437800338,
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=etherchainV2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"etherchainV2.js","sourceRoot":"","sources":["../../../src/sampleGasPricePayloads/etherchainV2.ts"],"names":[],"mappings":";;;AAAa,QAAA,iCAAiC,GAAG;IAC/C,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,mDAAmD;IAC3D,SAAS,EAAE,aAAa;CACzB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ethers.d.ts","sourceRoot":"","sources":["../../../src/sampleGasPricePayloads/ethers.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,2BAA2B;;;;;;;CAOvC,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.sampleEthersGasPricePayload = void 0;
|
|
4
|
+
exports.sampleEthersGasPricePayload = {
|
|
5
|
+
gasPrice: 26770943129,
|
|
6
|
+
lastBaseFeePerGas: 26494335502,
|
|
7
|
+
maxFeePerGas: 54488671004,
|
|
8
|
+
maxPriorityFeePerGas: 1500000000,
|
|
9
|
+
schema: 'network.xyo.blockchain.ethereum.gas.ethers',
|
|
10
|
+
timestamp: 1670437800345,
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=ethers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ethers.js","sourceRoot":"","sources":["../../../src/sampleGasPricePayloads/ethers.ts"],"names":[],"mappings":";;;AAAa,QAAA,2BAA2B,GAAG;IACzC,QAAQ,EAAE,WAAW;IACrB,iBAAiB,EAAE,WAAW;IAC9B,YAAY,EAAE,WAAW;IACzB,oBAAoB,EAAE,UAAU;IAChC,MAAM,EAAE,4CAA4C;IACpD,SAAS,EAAE,aAAa;CACzB,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const sampleEtherscanGasPricePayload: {
|
|
2
|
+
message: string;
|
|
3
|
+
result: {
|
|
4
|
+
FastGasPrice: string;
|
|
5
|
+
LastBlock: string;
|
|
6
|
+
ProposeGasPrice: string;
|
|
7
|
+
SafeGasPrice: string;
|
|
8
|
+
gasUsedRatio: string;
|
|
9
|
+
suggestBaseFee: string;
|
|
10
|
+
};
|
|
11
|
+
schema: string;
|
|
12
|
+
status: string;
|
|
13
|
+
timestamp: number;
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=etherscan.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"etherscan.d.ts","sourceRoot":"","sources":["../../../src/sampleGasPricePayloads/etherscan.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;CAa1C,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.sampleEtherscanGasPricePayload = void 0;
|
|
4
|
+
exports.sampleEtherscanGasPricePayload = {
|
|
5
|
+
message: 'OK',
|
|
6
|
+
result: {
|
|
7
|
+
FastGasPrice: '35',
|
|
8
|
+
LastBlock: '16134573',
|
|
9
|
+
ProposeGasPrice: '35',
|
|
10
|
+
SafeGasPrice: '34',
|
|
11
|
+
gasUsedRatio: '0.4491729,0.440816333333333,0.480461266666667,0.373305033333333,0.322907566666667',
|
|
12
|
+
suggestBaseFee: '33.952097068',
|
|
13
|
+
},
|
|
14
|
+
schema: 'network.xyo.blockchain.ethereum.gas.etherscan',
|
|
15
|
+
status: '1',
|
|
16
|
+
timestamp: 1670437200510,
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=etherscan.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"etherscan.js","sourceRoot":"","sources":["../../../src/sampleGasPricePayloads/etherscan.ts"],"names":[],"mappings":";;;AAAa,QAAA,8BAA8B,GAAG;IAC5C,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,+CAA+C;IACvD,MAAM,EAAE,GAAG;IACX,SAAS,EAAE,aAAa;CACzB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/sampleGasPricePayloads/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA;AAC7B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,UAAU,CAAA;AACxB,cAAc,aAAa,CAAA;AAC3B,cAAc,iBAAiB,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./blockNative"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./etherchainV1"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./etherchainV2"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./ethers"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./etherscan"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./ethGasStation"), exports);
|
|
10
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/sampleGasPricePayloads/index.ts"],"names":[],"mappings":";;;AAAA,wDAA6B;AAC7B,yDAA8B;AAC9B,yDAA8B;AAC9B,mDAAwB;AACxB,sDAA2B;AAC3B,0DAA+B"}
|