Coder Social home page Coder Social logo

dennispitallano / bscscan.netcore Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 3.0 1.15 MB

A BscScan Wrapper for .Net Core

License: MIT License

C# 97.16% HTML 2.13% CSS 0.58% JavaScript 0.12%
bscscan crypto crytpocurrency binance-smart-chain binance-api binance binance-chain csharp-library csharp library wrapper-api wrapper

bscscan.netcore's People

Contributors

dennispitallano avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

bscscan.netcore's Issues

Get a list of 'BEP-20 Token Transfer Events' by Address

Returns the list of BEP-20 tokens transferred by an address, with optional filtering by token contract.

Reference: https://docs.bscscan.com/api-endpoints/accounts#get-a-list-of-bep-20-token-transfer-events-by-address

Sample request:
https://api.bscscan.com/api
?module=account
&action=tokentx
&contractaddress=0xc9849e6fdb743d08faee3e34dd2d1bc69ea11a51
&address=0x7bb89460599dbf32ee3aa50798bbceae2a5f7f6a
&page=1
&offset=5
&startblock=0
&endblock=999999999
&sort=asc
&apikey=YourApiKeyToken

Logs

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)

Get Historical BEP-20 Token Account Balance by ContractAddress & BlockNo

Returns the balance of a BEP-20 token of an address at a certain block height.
Ref: https://docs.bscscan.com/api-endpoints/tokens#get-historical-bep-20-token-account-balance-by-contractaddress-and-blockno
sample Request:

https://api.bscscan.com/api
?module=account
&action=tokenbalancehistory
&contractaddress=0xc9849e6fdb743d08faee3e34dd2d1bc69ea11a51
&address=0x7bb89460599dbf32ee3aa50798bbceae2a5f7f6a
&blockno=4000000
&apikey=YourApiKeyToken

Get a list of 'BEP-721 Token Transfer Events' by Address

Returns the list of BEP-721 ( NFT ) tokens transferred by an address, with optional filtering by token contract.

Reference: https://docs.bscscan.com/api-endpoints/accounts#get-a-list-of-bep-721-token-transfer-events-by-address

Sample Request:
https://api.bscscan.com/api
?module=account
&action=tokennfttx
&contractaddress=0x5e74094cd416f55179dbd0e45b1a8ed030e396a1
&address=0xcd4ee0a77e09afa8d5a6518f7cf8539bef684e6c
&page=1
&offset=100
&startblock=0
&endblock=999999999
&sort=asc
&apikey=YourApiKeyToken

Verify Proxy Contract

Submits a proxy contract source code to Etherscan for verification.

  1. Requires a valid BscScan API key, it will be rejected otherwise
  2. Current daily limit of 100 submissions per day per user (subject to change)
  3. Only supports HTTP post
  4. Upon successful submission, you will receive a GUID (50 characters) as a receipt
  5. You may use this GUID to track the status of your submission
  6. Verified proxy contracts will display the "Read/Write as Proxy" of the implementation contract under the contract address's contract tab

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.