0.22.13 • Published 2 years ago

@thorswap-lib/xchain-ethereum v0.22.13

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@thorswap-lib/xchain-ethereum

Modules

  • client - Custom client for communicating with Ethereum by using ethers

Installation

yarn add @thorswap-lib/xchain-ethereum

Following peer dependencies have to be installed into your project. These are not included in @thorswap-lib/xchain-ethereum.

yarn add @thorswap-lib/xchain-client @thorswap-lib/xchain-crypto @thorswap-lib/xchain-util axios ethers

Service Providers

This package uses the following service providers:

FunctionServiceNotes
ETH balancesEtherscanhttps://etherscan.io/apis#accounts (module=account, action=balance)
Token balancesEtherscanhttps://etherscan.io/apis#tokens (module=account, action=tokenbalance)
ETH transaction historyEtherscanhttps://etherscan.io/apis#accounts (module=account, action=txlistinternal)
Token transaction historyEtherscanhttps://etherscan.io/apis#accounts (module=account, action=tokentx)
Transaction feesEtherscanhttps://etherscan.io/apis#gastracker (module=gastracker, action=gasoracle)
Transaction broadcastEtherscanhttps://sebs.github.io/etherscan-api/#eth_sendrawtransaction
ExplorerEtherscanhttps://etherscan.io/

Etherscan API rate limits: https://info.etherscan.com/api-return-errors/

  • This package uses etherjs library, by defaut it uses several providers. (https://docs.ethers.io/v5/api-keys/)
0.22.10

2 years ago

0.22.12

2 years ago

0.22.11

2 years ago

0.22.9

2 years ago

0.22.13

2 years ago

0.22.7

2 years ago

0.22.8

2 years ago

0.22.6

2 years ago

0.22.5

2 years ago