ethers.js/docs/api/providers/api-providers
2019-12-13 22:05:10 -05:00
..
index.html Updating docs. 2019-12-13 22:05:10 -05:00
README.md Updating docs. 2019-12-13 22:05:10 -05:00

Documentation: html

API Providers

There are many services which offer a web API for accessing the Ethereum Blockchain. These Providers allow connecting to them, which simplifies development, since you do not need to run your own instance or cluster of Ethereum nodes.

However, this reliance on third-party services can reduce resiliance, security and increase the amount of required trust. To mitigate these issues, it is recommended you use a Default Provider.

EtherscanProvider

The EtherscanProvider is backed by a combination of the various Etherscan APIs.

provider . getHistory ( address ) => Array< History >

InfuraProvider

The InfuraProvider is backed by the popular INFURA Ethereum service.

It supports Mainnet (homestead) and all common testnets (Ropsten, Rinkeby, Görli and Kovan).

NodesmithProvider

The NodesmithProvider is backed by Nodesmith.

It supports Mainnet (homestead) and all common testnets (Ropsten, Rinkeby, Görli and Kovan), as well as the Ethereum-like network Aion.

AlchemyProvider

The AlchemtProvider is backed by Alchemy.

It supports Mainnet (homestead) and all common testnets (Ropsten, Rinkeby, Görli and Kovan).

CloudfrontProvider

The CloudfrontProvider is backed by the Cloudflare Ethereum Gateway.

It only supports Mainnet (homestead).


Content Hash: 2e1dfa80bd4ab1ba02610654b00ee4250a89758a496670822e7950d5db449b1c