These packages sound the same but they are different. * [`eth-query`](https://github.com/ethereumjs/eth-query) is very simple: it makes a JSON-RPC call to the provider and calls the given callback with an error or the resulting data. * [`ethjs-query`](https://github.com/ethjs/ethjs-query) not only makes a JSON-RPC call to the provider, but it also formats the resulting data according to the spec for the RPC method in question. For instance, if the result is an integer, it converts it from hex format to a `BN` object. Although, see counterpoint: https://consensys.slack.com/archives/GTQAGKY5V/p1634686296360000?thread_ts=1634676086.354900&cid=GTQAGKY5V Related issue: #108
These packages sound the same but they are different.
eth-queryis very simple: it makes a JSON-RPC call to the provider and calls the given callback with an error or the resulting data.ethjs-querynot only makes a JSON-RPC call to the provider, but it also formats the resulting data according to the spec for the RPC method in question. For instance, if the result is an integer, it converts it from hex format to aBNobject. Although, see counterpoint: https://consensys.slack.com/archives/GTQAGKY5V/p1634686296360000?thread_ts=1634676086.354900&cid=GTQAGKY5VRelated issue: #108