How to use the ` calculateNetworkFee`, ` getFeeInformation ` in typescript?
See original GitHub issueimport neonCore, { rpc, tx, u, sc, wallet } from '@cityofzion/neon-core';
import neonJs from "@cityofzion/neon-js";
const plugin = neonJs(neonCore);
In order to calculate the NetworkFee, I import the two functions in this way. While it throws the compile exception saying neon_js_1.default is not a function
. I use it in typescript.
I also turn off the allowSyntheticDefaultImports
.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
yes, I use the latest release and it works. Thanks. So we can close this issue.
@bettybao1209 can you let us know if the
next.9
fixed the problem so we can close the issue?