question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to use the ` calculateNetworkFee`, ` getFeeInformation ` in typescript?

See original GitHub issue
import 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:closed
  • Created 2 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
bettybao1209commented, Apr 26, 2021

@bettybao1209 can you let us know if the next.9 fixed the problem so we can close the issue?

yes, I use the latest release and it works. Thanks. So we can close this issue.

0reactions
ixjecommented, Apr 26, 2021

@bettybao1209 can you let us know if the next.9 fixed the problem so we can close the issue?

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found