abunsen / etherflow

A web interface for interacting with ethereum nodes
https://etherflow.quiknode.io
MIT License
91 stars 24 forks source link

Feature request: option to auto-convert BigNumber responses #6

Closed samajammin closed 3 years ago

samajammin commented 3 years ago

Hey folks - awesome tool! Love this as a way to test out methods & view example code.

I think a neat feature would be an option to automatically convert BigNumber return values.

e.g. when using your demo site w/ Ethers.js, I sent a request to eth_getBalance: Image 2020-11-18 at 12 46 02 PM

It'd be great if there was e.g. a checkbox next to "Send Request to Node" to convert the hex value response to a human readable string (e.g. using Ethers.js's BigNumber parsing: https://docs.ethers.io/v5/api/utils/bignumber/) & to print that result to the console. This would be handy as a quick spot-check for e.g. eth_gasPrice or eth_getBalance.

abunsen commented 3 years ago

Excellent suggestion! We will definitely add this as a feature.

abunsen commented 3 years ago

Added! Thanks for filing the issue!