Crates.io | evmscan |
lib.rs | evmscan |
version | 0.6.0 |
source | src |
created_at | 2022-05-01 15:05:28.736924 |
updated_at | 2022-05-01 15:05:28.736924 |
description | Rust binding of non-async API for EVM-based chains which provided by team behinds etherscan.io, bscscan.com, and polygonscan.com |
homepage | |
repository | https://github.com/haxpor/evmscan |
max_upload_size | |
id | 578632 |
size | 100,552 |
evmscan is a non-async API in Rust that supports working with bscscan.com, etherscan.io, and polygonscan.com.
Native token associated with each platform API is as follows
WIP and will be gradually filled with APIs as provided on bscscan.com side.
See which APIs this project supports as seen in checking mark below.
PRO API
Get historical native token balance for a single address by block numberaddress
)contractaddress
)address
and contractaddress
)address
)contractaddress
)address
and contractaddress
)PRO API
Get daily average block sizePRO API
Get daily block count and rewardsPRO API
Get daily block rewardsPRO API
Get daily average time for a block to be included in the native token blockchaineth_blockNumber
- returns the number of most recent blocketh_getBlockByNumber
- returns information about a block by block numbereth_getBlockTransactionCountByNumber
- returns the number of transactions in a blocketh_getTransactionByHash
- returns information about a transaction requested by transaction hasheth_getTransactionByBlockNumberAndIndex
- returns information about a transaction by block number and transaction index positioneth_getTransactionCount
- returns the number of transactions performed by an addresseth_sendRawTransaction
- submits a pre-signed transaction for broadcast to the native token Smart Chain networketh_getTransactionReceipt
- returns the receipt of a transaction that has been validatedeth_call
- executes a new message call (read function) immediately without creating a transaction on the blockchaineth_getCode
- returns code a given addresseth_getStorageAt
(experimental
) - returns the value from a storage position at a given addresseth_gasPrice
- returns the current price per gas in weieth_estimateGas
- makes a call or transaction, which won't be added to the blockchain and returns the gas usedPRO API
Get token holder list by contract addressPRO API
Get historical ERC-20/BEP-20 token total supply by contract address & block numberPRO API
Get historical ERC-20/BEP-20 token account balance by contract address & block numberPRO API
Get token info by contract addressPRO API
Get address ERC-20/BEP-20 token holdingPRO API
Get address 'BEP-721' token holdingPRO API
Get address 'BEP-721' token inventory by contract addressPRO API
Get daily average gas limitPRO API
Get native token Smart Chain Daily total gas usedPRO API
Get daily average gas pricePRO API
Get native token historical pricePRO API
Get daily network transaction feePRO API
Get daily new address countPRO API
Get daily network utilizationPRO API
Get daily transaction countAs this library manages accessing to 3 different API platforms, thus in order to test all of them, users need to define api key for those platforms before running the test.
EVMSCAN_TEST_BSCSCAN_APIKEY
, EVMSCAN_TEST_ETHERSCAN_APIKEY
, and EVMSCAN_TEST_POLYGONSCAN_APIKEY
.cargo test
MIT, Wasin Thonkaew