This package has been deprecated

Author message:

Please update @shapeshiftoss/hdwallet; this fork is no longer required.

@shapeshiftoss/ethers-abstract-provider
TypeScript icon, indicating that this package has built-in type declarations

5.3.0-shapeshift.1 • Public • Published

Abstract Provider

This sub-module is part of the ethers project.

It is responsible for defining the common interface for a Provider, which in ethers differs quite substantially from Web3.js.

A Provider is an abstraction of non-account-based operations on a blockchain and is generally not directly involved in signing transaction or data.

For signing, see the Abstract Signer or Wallet sub-modules.

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 {

    Provider,

    ForkEvent,
    BlockForkEvent,
    TransactionForkEvent,
    TransactionOrderForkEvent,

    // Types
    BlockTag,

    Block,
    BlockWithTransactions,

    TransactionRequest,
    TransactionResponse,
    TransactionReceipt,

    Log,
    EventFilter,

    Filter,
    FilterByBlockHash,

    EventType,
    Listener

} = require("@shapeshiftoss/ethers-abstract-provider");

License

MIT License

Package Sidebar

Install

npm i @shapeshiftoss/ethers-abstract-provider

Weekly Downloads

0

Version

5.3.0-shapeshift.1

License

MIT

Unpacked Size

50.1 kB

Total Files

21

Last publish

Collaborators

  • 0xgomes
  • giantkin
  • 0xean
  • kmart13
  • shapeshift-ci-bot
  • tech-keepkey