Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 1.71 KB

README.md

File metadata and controls

37 lines (27 loc) · 1.71 KB
BscScanner Logo

NuGet version (BscScanner) NuGet downloads Code size GitHub

BscScanner

BscScanner is a .NET wrapper for the BscScan API.

How to use

  1. Install the Nuget package

    Install-Package BscScanner
    
  2. Instantiate the BscScanClient

    var client = new BscScanClient(apiKey);
    var balance = await client.GetBnbBalanceSingleAsync("0x59784ccC71205eF6A292F973e44f46CdC1f58306");

    NOTE: The BscScan API uses Gwei units, which means you may need to convert them to BNB. Here's a library for that.

How to contribute

You can contribute by pulling the code, making some changes and then opening a pull request. The changes will be revised and merged into main if it is a valid feature/bug fix.

  1. Pull the latest main branch
  2. Nuget restore to get dependencies
  3. Make some changes
  4. Create a pull request with a detailed explanation on why the changes were made

You can also donate BNB or Ether in order for me to maintain the project to this address: 0x59784ccC71205eF6A292F973e44f46CdC1f58306