Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getAddress returns 404 error, wallet.estimateFee returns wrong currency or amount #316

Open
gurachevskaya opened this issue Aug 2, 2021 · 4 comments

Comments

@gurachevskaya
Copy link

Hi

  • in wallet.estimateFee I receive zero fee and PricePerCostFactor = 18000 BTC (As I understand it's a fee), so it's obviously too big fee. For ETH, BCH the same.

Screen Shot 2021-08-02 at 17 43 31

  • getAddress/createAddress returns 404 error, I'm trying to get the nonce for Ethereum transaction
@gurachevskaya gurachevskaya changed the title getAddress returns 404 error, wallet.estimateFee returns wrong currency getAddress returns 404 error, wallet.estimateFee returns wrong currency or amount Aug 2, 2021
@EBGToo
Copy link
Contributor

EBGToo commented Aug 3, 2021

What commit are you using?

Fee Estimates for ETH and XTZ require access to Blockset. You'll need to setup a Blockset account. The NetworkFee for ETH is the gasPrice (in WEI); so a number like 50000000000 is appropriate (50 GWEI)

Fee Estimates for BTC are performed internally, based on a NetworkFee - which is also produced by Blockset. If you create your own NetworkFee then be aware that the pricePerCostFactor is in SAT/byte - a number <=5 is appropriate.

@EBGToo
Copy link
Contributor

EBGToo commented Aug 5, 2021

@gurachevskaya any more information on this issue?

@gurachevskaya
Copy link
Author

gurachevskaya commented Aug 9, 2021

@EBGToo

  • Still have question about fee. I'm using master branch and the last commit there is 3e4bd5e

Sometimes fee (as you've mentioned) in WEI, sometimes in ethers
Screen Shot 2021-08-09 at 10 54 18
Screen Shot 2021-08-09 at 10 52 03

the same for Bitcoin
sometimes fee is 18000BTC (assuming it's in satoshi), sometimes is 0.00001 (looks like the currency is BTC)
Screen Shot 2021-08-09 at 10 54 07
Screen Shot 2021-08-09 at 10 52 26

  • Also the question about getting the nonce for Ethereum transaction. Is it the right and the only method for getting nonce?Unfortunately I receive 404 error here

Screen Shot 2021-08-09 at 11 06 17

@EBGToo
Copy link
Contributor

EBGToo commented Aug 19, 2021

Is this frequent enough that you can debug the issue? Usually the 'pricePerCostFactor' comes from the NetworkFee which is provided by the Blockset GET /blockchains HTTP request. We've not seen Blockset return such values but we get our fee rates from 3rd parties. Maybe a flaky value is produced?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants