@exodus/ethersproject-web

Utility fucntions for managing web requests for ethers.

Usage no npm install needed!

<script type="module">
  import exodusEthersprojectWeb from 'https://cdn.skypack.dev/@exodus/ethersproject-web';
</script>

README

Web Utilities

This sub-module is part of the ethers project.

It contains functions to abstract safely and responsibly connecting to the web, including exponential back-off.

For more information, see the documentation.

Importing

Most users will prefer to use the umbrella package, but for those with more specific needs, individual components can be imported.

const {

    fetchJson,

    poll,

    // Types
    ConnectionInfo,
    FetchJsonResponse,

    PollOptions,
    OncePollable,
    OnceBlockable

} = require("@ethersproject/web");

License

MIT License