Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sweatpotato13/etherscan-ts
Npm module for etherscan api
https://github.com/sweatpotato13/etherscan-ts
etherscan npm typescript-library yarn
Last synced: 3 months ago
JSON representation
Npm module for etherscan api
- Host: GitHub
- URL: https://github.com/sweatpotato13/etherscan-ts
- Owner: sweatpotato13
- License: mit
- Created: 2021-04-22T02:51:44.000Z (almost 4 years ago)
- Default Branch: develop
- Last Pushed: 2024-11-09T11:58:32.000Z (3 months ago)
- Last Synced: 2024-11-09T12:32:13.707Z (3 months ago)
- Topics: etherscan, npm, typescript-library, yarn
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/etherscan-ts
- Size: 324 MB
- Stars: 7
- Watchers: 1
- Forks: 4
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Welcome to etherscan-ts 👋
[![npm version](https://badge.fury.io/js/etherscan-ts.svg)](https://badge.fury.io/js/etherscan-ts) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) ![npm](https://img.shields.io/npm/dw/etherscan-ts.svg)
> Ethersdcan API library with typescript
### 🏠 [Homepage](https://github.com/sweatpotato13/etherscan-ts)
## Install
```sh
npm i etherscan-ts
yarn add etherscan-ts
```## Run tests
```sh
yarn test
```## Usage
```
const eth = new Etherscan("apiKey");
```You need API key from etherscan
### Functions
* getSingleEtherBalance
* getMultipleEtherBalance
* getTrxList
* getInternalTrxListByAddress
* getInternalTrxListByHash
* getInternalTrxListByBlockRange
* getERC20TokenTransferEventList
* getERC721TokenTransferEventList
* getMinedBlocksByAddress
* getContractAbi
* checkContractExecutionStatus
* checkTransactionReceiptStatus
* getBlockandUncleReward
* getEstimatedBlockCountdownTime
* getBlockNumberByTimestamp
* getRecentBlockNumber
* getBlockbyNumber
* getUncleByBlockNumberAndIndex
* getBlockTransactionCountByNumber
* getTransactionByHash
* getTransactionByBlockNumberAndIndex
* getTransactionCount
* sendRawTransaction
* getTransactionReceipt
* getCode
* getStorageAt
* gasPrice
* getERC20TokenTotalSupply
* getERC20TokenBalance
* estimateConfirmationTime
* getGasOracle
* getTotalEther
* getEtherLastPrice## Author
👤 **CuteWisp **
* Website: Cutewisp.com
* Github: [@sweatpotato13](https://github.com/sweatpotato13)## 🤝 Contributing
Contributions, issues and feature requests are welcome!
Feel free to check [issues page](https://github.com/sweatpotato13/etherscan-ts/issues).## Show your support
Give a ⭐️ if this project helped you!
***
_This README was generated with ❤️ by [readme-md-generator](https://github.com/kefranabg/readme-md-generator)_