Commit dd46235
authored
Improve getGasInfo() type safety (#16)
- Change return type from Promise<any> to Promise<GasInfo>
- Provides better TypeScript type checking for gas pricing data
- Path already updated to /api/v1/network/gas in Issue #7
- GasInfo interface already defined in types.ts
Fixes #101 parent 7969d51 commit dd46235
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
595 | 595 | | |
596 | 596 | | |
597 | 597 | | |
598 | | - | |
599 | | - | |
| 598 | + | |
| 599 | + | |
600 | 600 | | |
601 | 601 | | |
602 | 602 | | |
| |||
0 commit comments