View Code? Open in Web Editor
NEW
A BscScan Wrapper for .Net Core
License: MIT License
C# 97.16%
HTML 2.13%
CSS 0.58%
JavaScript 0.12%
bscscan.netcore's Introduction
bscscan.netcore's People
Watchers
bscscan.netcore's Issues
Return the current token holders and number of tokens held.
Sample Request:
https://api.bscscan.com/api
?module=token
&action=tokenholderlist
&contractaddress=0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82
&page=1
&offset=10
&apikey=YourApiKeyToken
Returns the daily average block size within a date range.
Sample request:
https://api.bscscan.com/api
?module=stats
&action=dailyavgblocksize
&startdate=2021-08-01
&enddate=2021-08-31
&sort=asc
&apikey=YourApiKeyToken
Submits a proxy contract source code to Etherscan for verification.
- Requires a valid BscScan API key, it will be rejected otherwise
- Current daily limit of 100 submissions per day per user (subject to change)
- Only supports HTTP post
- Upon successful submission, you will receive a GUID (50 characters) as a receipt
- You may use this GUID to track the status of your submission
- Verified proxy contracts will display the "Read/Write as Proxy" of the implementation contract under the contract address's contract tab
Ref: https://docs.bscscan.com/api-endpoints/logs#sample-log-api-queries
The Event Log API was designed to provide an alternative to the native eth_getLogs.
Below are the list of supported filter parameters:
- fromBlock, toBlock, address
- topic0, topic1, topic2, topic3 (32 Bytes per topic)
- topic0_1_opr (and|or between topic0 & topic1), topic1_2_opr (and|or between topic1 & topic2), topic2_3_opr (and|or between topic2 & topic3), topic0_2_opr (and|or between topic0 & topic2), topic0_3_opr (and|or between topic0 & topic3), topic1_3_opr (and|or between topic1 & topic3)
Submits a contract source code to BscScan for verification.
Returns the Solidity source code of a verified smart contract.
Sample request:
https://api.bscscan.com/api
?module=contract
&action=getsourcecode
&address=0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82
&apikey=YourApiKeyToken
Returns the contract Application Binary Interface ( ABI ) of a verified smart contract.
sample request:
https://api.bscscan.com/api
?module=contract
&action=getabi
&address=0x0e09fabb73bd3ade0a17ecc321fd13a19e81ce82
&apikey=YourApiKeyToken
Returns the status code of transaction execution.
https://api.bscscan.com/api
?module=transaction
&action=gettxreceiptstatus
&txhash=0xe9975702518c79caf81d5da65dea689dcac701fcdd063f848d4f03c85392fd00
&apikey=YourApiKeyToken