Socket
Socket
Sign inDemoInstall

@metamask/eth-query

Package Overview
Dependencies
2
Maintainers
12
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @metamask/eth-query

like web3 but for minimalists


Version published
Maintainers
12
Install size
18.9 kB
Created

Changelog

Source

[4.0.0]

Changed

  • BREAKING: Narrow type of provider to match SafeEventEmitterProvider from @metamask/eth-json-rpc-provider (#21)

Readme

Source

like web3 but for minimalists

Note
This is a temporary fork of ethereumjs/eth-query created by MetaMask which adds TypeScript type definitions for compatibility with our libraries.

var provider = {
  sendAsync: function (params, cb) {
    /* ... */
  },
};
var query = new EthQuery(provider);

query.getBalance(address, cb);

FAQs

Last updated on 13 Nov 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc