ethers.js/docs.wrm/api/providers/api-providers.wrm

66 lines
1.8 KiB
Plaintext
Raw Normal View History

_section: 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](get-default-provider).
2019-08-23 22:25:13 +03:00
2020-01-10 09:01:00 +03:00
_subsection: EtherscanProvider @INHERIT<[[provider]]>
2019-08-23 22:25:13 +03:00
The **EtherscanProvider** is backed by a combination of the various
2020-02-02 15:58:29 +03:00
[Etherscan APIs](link-etherscan-api).
2019-08-23 22:25:13 +03:00
_property: provider.getHistory(address) => Array<History>
2020-02-01 11:39:21 +03:00
@TODO... Explain
2020-02-01 11:39:21 +03:00
_definition: **Supported Networks**
2020-02-01 11:39:21 +03:00
- Homestead (Mainnet)
- Ropsten (proof-of-work testnet)
2020-02-18 01:56:13 +03:00
- Rinkeby (proof-of-authority testnet)
2020-02-01 11:39:21 +03:00
- G&ouml;rli (clique testnet)
- Kovan (proof-of-authority testnet)
2019-08-23 22:25:13 +03:00
2020-02-01 11:39:21 +03:00
_subsection: InfuraProvider @INHERIT<[[provider-urljsonrpc]]>
2020-02-02 15:58:29 +03:00
The **InfuraProvider** is backed by the popular [INFURA](link-infura)
2020-02-01 11:39:21 +03:00
Ethereum service.
2020-02-01 11:39:21 +03:00
_definition: **Supported Networks**
2019-08-23 22:25:13 +03:00
2020-02-01 11:39:21 +03:00
- Homestead (Mainnet)
- Ropsten (proof-of-work testnet)
2020-02-18 01:56:13 +03:00
- Rinkeby (proof-of-authority testnet)
2020-02-01 11:39:21 +03:00
- G&ouml;rli (clique testnet)
- Kovan (proof-of-authority testnet)
2019-08-23 22:25:13 +03:00
2020-02-01 11:39:21 +03:00
_subsection: AlchemyProvider @INHERIT<[[provider-urljsonrpc]]>
2020-02-02 15:58:29 +03:00
The **AlchemtProvider** is backed by [Alchemy](link-alchemy).
2019-08-23 22:25:13 +03:00
2020-02-01 11:39:21 +03:00
_definition: **Supported Networks**
- Homestead (Mainnet)
- Ropsten (proof-of-work testnet)
2020-02-18 01:56:13 +03:00
- Rinkeby (proof-of-authority testnet)
2020-02-01 11:39:21 +03:00
- G&ouml;rli (clique testnet)
- Kovan (proof-of-authority testnet)
2019-08-23 22:25:13 +03:00
2020-04-17 05:25:05 +03:00
_subsection: CloudflareProvider @INHERIT<[[provider-urljsonrpc]]>
2019-08-23 22:25:13 +03:00
2020-04-17 05:25:05 +03:00
The CloudflareProvider is backed by the [Cloudflare Ethereum Gateway](link-cloudflare).
2019-08-23 22:25:13 +03:00
2020-02-01 11:39:21 +03:00
_definition: **Supported Networks**
- Homestead (Mainnet)