https://github.com/sweatpotato13/etherscan-ts
Npm module for etherscan api
https://github.com/sweatpotato13/etherscan-ts
etherscan npm typescript-library yarn
Last synced: about 2 months ago
JSON representation
Npm module for etherscan api
- Host: GitHub
- URL: https://github.com/sweatpotato13/etherscan-ts
- Owner: sweatpotato13
- License: mit
- Archived: true
- Created: 2021-04-22T02:51:44.000Z (about 4 years ago)
- Default Branch: develop
- Last Pushed: 2025-03-15T14:11:13.000Z (4 months ago)
- Last Synced: 2025-04-15T21:23:15.735Z (3 months ago)
- Topics: etherscan, npm, typescript-library, yarn
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/etherscan-ts
- Size: 373 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 👋
[](https://badge.fury.io/js/etherscan-ts) [](https://opensource.org/licenses/MIT) 
> 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)_