| Crates.io | bscscan |
| lib.rs | bscscan |
| version | 0.5.1 |
| created_at | 2022-03-13 16:32:30.929705+00 |
| updated_at | 2022-04-21 06:52:28.727875+00 |
| description | BSC (Binance Smart Chain) non-async API in Rust |
| homepage | |
| repository | https://github.com/haxpor/bscscan |
| max_upload_size | |
| id | 549279 |
| size | 74,667 |
bscscan.com non-async API in Rust
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 BNB 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 BNB Smart Chaineth_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 BNB 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 'BEP-20' token total supply by contract address & block numberPRO API Get historical 'BEP-20' token account balance by contract address & block numberPRO API Get token info by contract addressPRO API Get address '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 BNB Smart Chain Daily total gas usedPRO API Get daily average gas pricePRO API Get BNB historical pricePRO API Get daily network transaction feePRO API Get daily new address countPRO API Get daily network utilizationPRO API Get daily transaction countBSCSCAN_TEST_APIKEY (this is used for cargo testing only, you don't have to define it to use this library).cargo test.MIT, Wasin Thonkaew