@xyo-network/blocknative-ethereum-gas-plugin 5.3.2 → 5.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{src/Config.ts → dist/neutral/Config.d.ts} +5 -6
- package/dist/neutral/Config.d.ts.map +1 -0
- package/dist/neutral/Plugin.d.ts +3 -0
- package/dist/neutral/Plugin.d.ts.map +1 -0
- package/dist/neutral/Schema.d.ts +5 -0
- package/dist/neutral/Schema.d.ts.map +1 -0
- package/dist/neutral/Witness.d.ts +12 -0
- package/dist/neutral/Witness.d.ts.map +1 -0
- package/dist/neutral/index.d.ts +5 -0
- package/dist/neutral/index.d.ts.map +1 -0
- package/dist/neutral/index.mjs +50 -0
- package/dist/neutral/index.mjs.map +1 -0
- package/dist/neutral/lib/getGasFromBlocknative.d.ts +3 -0
- package/dist/neutral/lib/getGasFromBlocknative.d.ts.map +1 -0
- package/dist/neutral/lib/index.d.ts +2 -0
- package/dist/neutral/lib/index.d.ts.map +1 -0
- package/package.json +12 -6
- package/src/Plugin.ts +0 -15
- package/src/Schema.ts +0 -5
- package/src/Witness.ts +0 -25
- package/src/index.ts +0 -4
- package/src/lib/getGasFromBlocknative.ts +0 -11
- package/src/lib/index.ts +0 -1
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import type { TimestampWitnessConfig } from '@xyo-network/witness-timestamp'
|
|
2
|
-
|
|
3
|
-
import type { EthereumGasBlocknativeWitnessConfigSchema } from './Schema.ts'
|
|
4
|
-
|
|
1
|
+
import type { TimestampWitnessConfig } from '@xyo-network/witness-timestamp';
|
|
2
|
+
import type { EthereumGasBlocknativeWitnessConfigSchema } from './Schema.ts';
|
|
5
3
|
export type EthereumGasBlocknativeWitnessConfig = TimestampWitnessConfig<{
|
|
6
|
-
|
|
7
|
-
}
|
|
4
|
+
schema: EthereumGasBlocknativeWitnessConfigSchema;
|
|
5
|
+
}>;
|
|
6
|
+
//# sourceMappingURL=Config.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAA;AAE5E,OAAO,KAAK,EAAE,yCAAyC,EAAE,MAAM,aAAa,CAAA;AAE5E,MAAM,MAAM,mCAAmC,GAAG,sBAAsB,CAAC;IACvE,MAAM,EAAE,yCAAyC,CAAA;CAClD,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,6BAA6B,EAAE,MAAM,cAAc,CAAA;AAE5D,eAAO,MAAM,4BAA4B,uGAQtC,CAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export type EthereumGasBlocknativeWitnessConfigSchema = typeof EthereumGasBlocknativeWitnessConfigSchema;
|
|
2
|
+
export declare const EthereumGasBlocknativeWitnessConfigSchema: "network.xyo.blockchain.ethereum.gas.blocknative.witness.config" & {
|
|
3
|
+
readonly __schema: true;
|
|
4
|
+
};
|
|
5
|
+
//# sourceMappingURL=Schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,yCAAyC,GAAG,OAAO,yCAAyC,CAAA;AACxG,eAAO,MAAM,yCAAyC;;CAC8B,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { AbstractWitness } from '@xyo-network/abstract-witness';
|
|
2
|
+
import type { AnyConfigSchema } from '@xyo-network/module-model';
|
|
3
|
+
import type { Payload, Schema } from '@xyo-network/payload-model';
|
|
4
|
+
import type { TimestampWitnessParams } from '@xyo-network/witness-timestamp';
|
|
5
|
+
import type { EthereumGasBlocknativeWitnessConfig } from './Config.ts';
|
|
6
|
+
export type EthereumGasBlocknativeWitnessParams = TimestampWitnessParams<AnyConfigSchema<EthereumGasBlocknativeWitnessConfig>>;
|
|
7
|
+
export declare class EthereumGasBlocknativeWitness extends AbstractWitness<EthereumGasBlocknativeWitnessParams> {
|
|
8
|
+
static readonly configSchemas: Schema[];
|
|
9
|
+
static readonly defaultConfigSchema: Schema;
|
|
10
|
+
protected observeHandler(): Promise<Payload[]>;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=Witness.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Witness.d.ts","sourceRoot":"","sources":["../../src/Witness.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAG/D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAChE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAA;AAEjE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAA;AAE5E,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,aAAa,CAAA;AAItE,MAAM,MAAM,mCAAmC,GAAG,sBAAsB,CAAC,eAAe,CAAC,mCAAmC,CAAC,CAAC,CAAA;AAC9H,qBAAa,6BAA8B,SAAQ,eAAe,CAAC,mCAAmC,CAAC;IACrG,gBAAyB,aAAa,EAAE,MAAM,EAAE,CAAsE;IACtH,gBAAyB,mBAAmB,EAAE,MAAM,CAA4C;cAEvE,cAAc,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC;CAO9D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,OAAO,EAAE,4BAA4B,IAAI,OAAO,EAAE,4BAA4B,EAAE,MAAM,aAAa,CAAA;AACnG,cAAc,aAAa,CAAA;AAC3B,cAAc,cAAc,CAAA"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
// src/Plugin.ts
|
|
2
|
+
import { EthereumGasBlocknativeSchema as EthereumGasBlocknativeSchema2 } from "@xyo-network/blocknative-ethereum-gas-payload-plugin";
|
|
3
|
+
import { PayloadSetSchema } from "@xyo-network/payload-model";
|
|
4
|
+
import { createPayloadSetWitnessPlugin } from "@xyo-network/payloadset-plugin";
|
|
5
|
+
|
|
6
|
+
// src/Witness.ts
|
|
7
|
+
import { AbstractWitness } from "@xyo-network/abstract-witness";
|
|
8
|
+
import { EthereumGasBlocknativeSchema } from "@xyo-network/blocknative-ethereum-gas-payload-plugin";
|
|
9
|
+
import { PayloadBuilder } from "@xyo-network/sdk-js";
|
|
10
|
+
|
|
11
|
+
// src/lib/getGasFromBlocknative.ts
|
|
12
|
+
import { axiosJson } from "@xylabs/sdk-js";
|
|
13
|
+
var url = "https://api.blocknative.com/gasprices/blockprices";
|
|
14
|
+
var Authorization = "9d3e23c3-e31d-4f9c-9d7c-c579cb75d226";
|
|
15
|
+
var config = { headers: { Authorization } };
|
|
16
|
+
var getGasFromBlocknative = async () => {
|
|
17
|
+
return (await axiosJson.get(url, config)).data;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
// src/Schema.ts
|
|
21
|
+
import { asSchema } from "@xyo-network/payload-model";
|
|
22
|
+
var EthereumGasBlocknativeWitnessConfigSchema = asSchema("network.xyo.blockchain.ethereum.gas.blocknative.witness.config", true);
|
|
23
|
+
|
|
24
|
+
// src/Witness.ts
|
|
25
|
+
var EthereumGasBlocknativeWitness = class extends AbstractWitness {
|
|
26
|
+
static configSchemas = [...super.configSchemas, EthereumGasBlocknativeWitnessConfigSchema];
|
|
27
|
+
static defaultConfigSchema = EthereumGasBlocknativeWitnessConfigSchema;
|
|
28
|
+
async observeHandler() {
|
|
29
|
+
const fields = await getGasFromBlocknative();
|
|
30
|
+
const payload = new PayloadBuilder({ schema: EthereumGasBlocknativeSchema }).fields(fields).build();
|
|
31
|
+
return [payload];
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
// src/Plugin.ts
|
|
36
|
+
var EthereumGasBlocknativePlugin = () => createPayloadSetWitnessPlugin(
|
|
37
|
+
{ required: { [EthereumGasBlocknativeSchema2]: 1 }, schema: PayloadSetSchema },
|
|
38
|
+
{
|
|
39
|
+
witness: async (params) => {
|
|
40
|
+
return await EthereumGasBlocknativeWitness.create(params);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
);
|
|
44
|
+
export {
|
|
45
|
+
EthereumGasBlocknativePlugin,
|
|
46
|
+
EthereumGasBlocknativeWitness,
|
|
47
|
+
EthereumGasBlocknativeWitnessConfigSchema,
|
|
48
|
+
EthereumGasBlocknativePlugin as default
|
|
49
|
+
};
|
|
50
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/Plugin.ts","../../src/Witness.ts","../../src/lib/getGasFromBlocknative.ts","../../src/Schema.ts"],"sourcesContent":["import { EthereumGasBlocknativeSchema } from '@xyo-network/blocknative-ethereum-gas-payload-plugin'\nimport { PayloadSetSchema } from '@xyo-network/payload-model'\nimport { createPayloadSetWitnessPlugin } from '@xyo-network/payloadset-plugin'\n\nimport { EthereumGasBlocknativeWitness } from './Witness.ts'\n\nexport const EthereumGasBlocknativePlugin = () =>\n createPayloadSetWitnessPlugin<EthereumGasBlocknativeWitness>(\n { required: { [EthereumGasBlocknativeSchema]: 1 }, schema: PayloadSetSchema },\n {\n witness: async (params) => {\n return (await EthereumGasBlocknativeWitness.create(params)) as EthereumGasBlocknativeWitness\n },\n },\n )\n","import { AbstractWitness } from '@xyo-network/abstract-witness'\nimport type { EthereumGasBlocknativePayload } from '@xyo-network/blocknative-ethereum-gas-payload-plugin'\nimport { EthereumGasBlocknativeSchema } from '@xyo-network/blocknative-ethereum-gas-payload-plugin'\nimport type { AnyConfigSchema } from '@xyo-network/module-model'\nimport type { Payload, Schema } from '@xyo-network/payload-model'\nimport { PayloadBuilder } from '@xyo-network/sdk-js'\nimport type { TimestampWitnessParams } from '@xyo-network/witness-timestamp'\n\nimport type { EthereumGasBlocknativeWitnessConfig } from './Config.ts'\nimport { getGasFromBlocknative } from './lib/index.ts'\nimport { EthereumGasBlocknativeWitnessConfigSchema } from './Schema.ts'\n\nexport type EthereumGasBlocknativeWitnessParams = TimestampWitnessParams<AnyConfigSchema<EthereumGasBlocknativeWitnessConfig>>\nexport class EthereumGasBlocknativeWitness extends AbstractWitness<EthereumGasBlocknativeWitnessParams> {\n static override readonly configSchemas: Schema[] = [...super.configSchemas, EthereumGasBlocknativeWitnessConfigSchema]\n static override readonly defaultConfigSchema: Schema = EthereumGasBlocknativeWitnessConfigSchema\n\n protected override async observeHandler(): Promise<Payload[]> {\n const fields = await getGasFromBlocknative()\n const payload = new PayloadBuilder<EthereumGasBlocknativePayload>({ schema: EthereumGasBlocknativeSchema })\n .fields(fields)\n .build()\n return [payload]\n }\n}\n","import { axiosJson } from '@xylabs/sdk-js'\nimport type { EthereumGasBlocknativeResponse } from '@xyo-network/blocknative-ethereum-gas-payload-plugin'\n\nconst url = 'https://api.blocknative.com/gasprices/blockprices'\n\nconst Authorization = '9d3e23c3-e31d-4f9c-9d7c-c579cb75d226'\nconst config = { headers: { Authorization } }\n\nexport const getGasFromBlocknative = async (): Promise<EthereumGasBlocknativeResponse> => {\n return (await axiosJson.get<EthereumGasBlocknativeResponse>(url, config)).data\n}\n","import { asSchema } from '@xyo-network/payload-model'\n\nexport type EthereumGasBlocknativeWitnessConfigSchema = typeof EthereumGasBlocknativeWitnessConfigSchema\nexport const EthereumGasBlocknativeWitnessConfigSchema\n = asSchema('network.xyo.blockchain.ethereum.gas.blocknative.witness.config', true)\n"],"mappings":";AAAA,SAAS,gCAAAA,qCAAoC;AAC7C,SAAS,wBAAwB;AACjC,SAAS,qCAAqC;;;ACF9C,SAAS,uBAAuB;AAEhC,SAAS,oCAAoC;AAG7C,SAAS,sBAAsB;;;ACL/B,SAAS,iBAAiB;AAG1B,IAAM,MAAM;AAEZ,IAAM,gBAAgB;AACtB,IAAM,SAAS,EAAE,SAAS,EAAE,cAAc,EAAE;AAErC,IAAM,wBAAwB,YAAqD;AACxF,UAAQ,MAAM,UAAU,IAAoC,KAAK,MAAM,GAAG;AAC5E;;;ACVA,SAAS,gBAAgB;AAGlB,IAAM,4CACT,SAAS,kEAAkE,IAAI;;;AFS5E,IAAM,gCAAN,cAA4C,gBAAqD;AAAA,EACtG,OAAyB,gBAA0B,CAAC,GAAG,MAAM,eAAe,yCAAyC;AAAA,EACrH,OAAyB,sBAA8B;AAAA,EAEvD,MAAyB,iBAAqC;AAC5D,UAAM,SAAS,MAAM,sBAAsB;AAC3C,UAAM,UAAU,IAAI,eAA8C,EAAE,QAAQ,6BAA6B,CAAC,EACvG,OAAO,MAAM,EACb,MAAM;AACT,WAAO,CAAC,OAAO;AAAA,EACjB;AACF;;;ADlBO,IAAM,+BAA+B,MAC1C;AAAA,EACE,EAAE,UAAU,EAAE,CAACC,6BAA4B,GAAG,EAAE,GAAG,QAAQ,iBAAiB;AAAA,EAC5E;AAAA,IACE,SAAS,OAAO,WAAW;AACzB,aAAQ,MAAM,8BAA8B,OAAO,MAAM;AAAA,IAC3D;AAAA,EACF;AACF;","names":["EthereumGasBlocknativeSchema","EthereumGasBlocknativeSchema"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getGasFromBlocknative.d.ts","sourceRoot":"","sources":["../../../src/lib/getGasFromBlocknative.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,sDAAsD,CAAA;AAO1G,eAAO,MAAM,qBAAqB,QAAa,OAAO,CAAC,8BAA8B,CAEpF,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/blocknative-ethereum-gas-plugin",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.3",
|
|
4
4
|
"description": "Typescript/Javascript Plugins for XYO Platform",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -30,18 +30,18 @@
|
|
|
30
30
|
"types": "dist/neutral/index.d.ts",
|
|
31
31
|
"files": [
|
|
32
32
|
"dist",
|
|
33
|
-
"
|
|
34
|
-
"!**/*.bench.*",
|
|
35
|
-
"!**/*.spec.*",
|
|
36
|
-
"!**/*.test.*"
|
|
33
|
+
"README.md"
|
|
37
34
|
],
|
|
35
|
+
"dependencies": {
|
|
36
|
+
"@xyo-network/blocknative-ethereum-gas-payload-plugin": "workspace:^"
|
|
37
|
+
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@xylabs/sdk-js": "^5.0.90",
|
|
40
|
+
"@xylabs/ts-scripts-common": "~7.5.10",
|
|
40
41
|
"@xylabs/ts-scripts-yarn3": "~7.5.10",
|
|
41
42
|
"@xylabs/tsconfig": "~7.5.10",
|
|
42
43
|
"@xylabs/vitest-extended": "~5.0.90",
|
|
43
44
|
"@xyo-network/abstract-witness": "~5.3.5",
|
|
44
|
-
"@xyo-network/blocknative-ethereum-gas-payload-plugin": "~5.3.2",
|
|
45
45
|
"@xyo-network/module-model": "~5.3.5",
|
|
46
46
|
"@xyo-network/payload-model": "~5.3.5",
|
|
47
47
|
"@xyo-network/payloadset-plugin": "~5.3.5",
|
|
@@ -53,6 +53,12 @@
|
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
55
|
"@xylabs/sdk-js": "^5",
|
|
56
|
+
"@xyo-network/abstract-witness": "^5",
|
|
57
|
+
"@xyo-network/module-model": "^5",
|
|
58
|
+
"@xyo-network/payload-model": "^5",
|
|
59
|
+
"@xyo-network/payloadset-plugin": "^5",
|
|
60
|
+
"@xyo-network/sdk-js": "^5",
|
|
61
|
+
"@xyo-network/witness-timestamp": "^5",
|
|
56
62
|
"zod": "^4"
|
|
57
63
|
},
|
|
58
64
|
"publishConfig": {
|
package/src/Plugin.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { EthereumGasBlocknativeSchema } from '@xyo-network/blocknative-ethereum-gas-payload-plugin'
|
|
2
|
-
import { PayloadSetSchema } from '@xyo-network/payload-model'
|
|
3
|
-
import { createPayloadSetWitnessPlugin } from '@xyo-network/payloadset-plugin'
|
|
4
|
-
|
|
5
|
-
import { EthereumGasBlocknativeWitness } from './Witness.ts'
|
|
6
|
-
|
|
7
|
-
export const EthereumGasBlocknativePlugin = () =>
|
|
8
|
-
createPayloadSetWitnessPlugin<EthereumGasBlocknativeWitness>(
|
|
9
|
-
{ required: { [EthereumGasBlocknativeSchema]: 1 }, schema: PayloadSetSchema },
|
|
10
|
-
{
|
|
11
|
-
witness: async (params) => {
|
|
12
|
-
return (await EthereumGasBlocknativeWitness.create(params)) as EthereumGasBlocknativeWitness
|
|
13
|
-
},
|
|
14
|
-
},
|
|
15
|
-
)
|
package/src/Schema.ts
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { asSchema } from '@xyo-network/payload-model'
|
|
2
|
-
|
|
3
|
-
export type EthereumGasBlocknativeWitnessConfigSchema = typeof EthereumGasBlocknativeWitnessConfigSchema
|
|
4
|
-
export const EthereumGasBlocknativeWitnessConfigSchema
|
|
5
|
-
= asSchema('network.xyo.blockchain.ethereum.gas.blocknative.witness.config', true)
|
package/src/Witness.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { AbstractWitness } from '@xyo-network/abstract-witness'
|
|
2
|
-
import type { EthereumGasBlocknativePayload } from '@xyo-network/blocknative-ethereum-gas-payload-plugin'
|
|
3
|
-
import { EthereumGasBlocknativeSchema } from '@xyo-network/blocknative-ethereum-gas-payload-plugin'
|
|
4
|
-
import type { AnyConfigSchema } from '@xyo-network/module-model'
|
|
5
|
-
import type { Payload, Schema } from '@xyo-network/payload-model'
|
|
6
|
-
import { PayloadBuilder } from '@xyo-network/sdk-js'
|
|
7
|
-
import type { TimestampWitnessParams } from '@xyo-network/witness-timestamp'
|
|
8
|
-
|
|
9
|
-
import type { EthereumGasBlocknativeWitnessConfig } from './Config.ts'
|
|
10
|
-
import { getGasFromBlocknative } from './lib/index.ts'
|
|
11
|
-
import { EthereumGasBlocknativeWitnessConfigSchema } from './Schema.ts'
|
|
12
|
-
|
|
13
|
-
export type EthereumGasBlocknativeWitnessParams = TimestampWitnessParams<AnyConfigSchema<EthereumGasBlocknativeWitnessConfig>>
|
|
14
|
-
export class EthereumGasBlocknativeWitness extends AbstractWitness<EthereumGasBlocknativeWitnessParams> {
|
|
15
|
-
static override readonly configSchemas: Schema[] = [...super.configSchemas, EthereumGasBlocknativeWitnessConfigSchema]
|
|
16
|
-
static override readonly defaultConfigSchema: Schema = EthereumGasBlocknativeWitnessConfigSchema
|
|
17
|
-
|
|
18
|
-
protected override async observeHandler(): Promise<Payload[]> {
|
|
19
|
-
const fields = await getGasFromBlocknative()
|
|
20
|
-
const payload = new PayloadBuilder<EthereumGasBlocknativePayload>({ schema: EthereumGasBlocknativeSchema })
|
|
21
|
-
.fields(fields)
|
|
22
|
-
.build()
|
|
23
|
-
return [payload]
|
|
24
|
-
}
|
|
25
|
-
}
|
package/src/index.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { axiosJson } from '@xylabs/sdk-js'
|
|
2
|
-
import type { EthereumGasBlocknativeResponse } from '@xyo-network/blocknative-ethereum-gas-payload-plugin'
|
|
3
|
-
|
|
4
|
-
const url = 'https://api.blocknative.com/gasprices/blockprices'
|
|
5
|
-
|
|
6
|
-
const Authorization = '9d3e23c3-e31d-4f9c-9d7c-c579cb75d226'
|
|
7
|
-
const config = { headers: { Authorization } }
|
|
8
|
-
|
|
9
|
-
export const getGasFromBlocknative = async (): Promise<EthereumGasBlocknativeResponse> => {
|
|
10
|
-
return (await axiosJson.get<EthereumGasBlocknativeResponse>(url, config)).data
|
|
11
|
-
}
|
package/src/lib/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './getGasFromBlocknative.ts'
|