You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BscScanner is a .NET wrapper for the [BscScan API](https://bscscan.com/apis).
13
13
14
-
## How to use
14
+
###How to use
15
15
16
16
1. Install the [Nuget](https://www.nuget.org/packages/BscScanner) package
17
17
```cli
@@ -25,6 +25,25 @@ BscScanner is a .NET wrapper for the [BscScan API](https://bscscan.com/apis).
25
25
26
26
> **NOTE**: The BscScan API uses Gwei units, which means you may need to convert them to BNB. [Here's a library for that](https://www.nuget.org/packages/BscScanner.Extensions.Convert/).
27
27
28
+
## BscScanner.Extensions.Convert
29
+
A conversion library to convert between Binance (Smart) Chain units
30
+
31
+
[](https://www.nuget.org/packages/BscScanner.Extensions.Convert)
1. Install the [Nuget](https://www.nuget.org/packages/BscScanner.Extensions.Convert) package
38
+
```cli
39
+
Install-Package BscScanner.Extensions.Convert
40
+
```
41
+
2. Convert units
42
+
```cs
43
+
var gwei = 1254000000000000000;
44
+
var bnb = BscConvert.GweiToBnb(gwei); // 1.254
45
+
```
46
+
28
47
## How to contribute
29
48
30
49
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.
0 commit comments