We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Version 1.4.3
Unable to call or read back results from web3.eth.getTransactionCount when running in Browser network.
web3.eth.getTransactionCount
app.js
HelloWorld.prototype.getBlockNumber
getBlockNumber
getTransactionCount
HelloWorld.prototype.getBlockNumber = function(cb) { this.web3.eth.getTransactionCount("0xa48f2e0be8ab5a04a5eb1f86ead1923f03a207fd", function(error, result) { console.error(error); console.log(result); cb(error, result); }); };
Expected it to return a number.
Uncaught Error: new BigNumber() not a number: [object Object]
This could be a problem in "superprovider" and/or when dealing with BigNumber data directly. Missing data converstion?
https://github.com/ethereum/wiki/wiki/JavaScript-API#web3ethgettransactioncount
Depends on #343
The text was updated successfully, but these errors were encountered:
filippsen
No branches or pull requests
Environment/Browser
Version 1.4.3
Description
Unable to call or read back results from
web3.eth.getTransactionCount
when running in Browser network.Steps to reproduce
app.js
, changeHelloWorld.prototype.getBlockNumber
from callinggetBlockNumber
togetTransactionCount
:Expected result
Expected it to return a number.
Actual result
Uncaught Error: new BigNumber() not a number: [object Object]
Hints and reference
This could be a problem in "superprovider" and/or when dealing with BigNumber data directly. Missing data converstion?
https://github.com/ethereum/wiki/wiki/JavaScript-API#web3ethgettransactioncount
Requirements
Depends on #343
The text was updated successfully, but these errors were encountered: