1.0.14 • Published 7 months ago
@xchainjs/xchain-bsc v1.0.14
@xchainjs/xchain-bsc
Modules
client
- Custom client for communicating with binance smart chain by usingethers
Installation
yarn add @xchainjs/xchain-bsc
Following peer dependencies have to be installed into your project. These are not included in @xchainjs/xchain-bsc
.
yarn add @xchainjs/xchain-evm @xchainjs/xchain-client @xchainjs/xchain-crypto @xchainjs/xchain-util axios ethers
Documentation
xchain bsc
How xchain-bsc works
\
How to use xchain-bsc
Service Providers
This package uses the following service providers:
Function | Service | Notes |
---|---|---|
ETH balances | BscScan | https://api.bscscan.com/api#accounts (module=account , action=balance ) |
Token balances | BscScan | https://api.bscscan.com/api#tokens (module=account , action=tokenbalance ) |
ETH transaction history | BscScan | https://api.bscscan.com/api#accounts (module=account , action=txlistinternal ) |
Token transaction history | BscScan | https://api.bscscan.com/api#accounts (module=account , action=tokentx ) |
Explorer | BscScan | https://bscscan.com/ |
BscScan API rate limits: https://bscscan.com/apis
- This package uses
etherjs
library, by default it uses several providers. (https://docs.ethers.io/v5/api-keys/
)
Enviroment variables
BSCSCAN_API_KEY={YOUR_BSCSCAN_API_KEY}
Default config can access.
process.env.BSCSCAN_API_KEY
1.0.14
7 months ago
1.0.13
8 months ago
1.0.12
9 months ago
1.0.11
11 months ago
1.0.10
11 months ago
1.0.2
1 year ago
1.0.9
11 months ago
1.0.8
12 months ago
1.0.7
12 months ago
1.0.6
12 months ago
1.0.5
12 months ago
1.0.4
1 year ago
1.0.3
1 year ago
1.0.1
1 year ago
1.0.0
1 year ago
0.5.6
1 year ago
0.5.4
1 year ago
0.5.5
1 year ago
0.5.3
1 year ago
0.5.2
1 year ago
0.5.1
1 year ago
0.5.0
1 year ago
0.4.7
1 year ago
0.4.6
2 years ago
0.4.5
2 years ago
0.4.4
2 years ago
0.3.0
2 years ago
0.3.6
2 years ago
0.3.5
2 years ago
0.4.1
2 years ago
0.3.2
2 years ago
0.2.3
2 years ago
0.3.1
2 years ago
0.3.4
2 years ago
0.4.2
2 years ago
0.3.3
2 years ago
0.2.2
2 years ago
0.1.2
2 years ago
0.2.0
2 years ago
0.1.1
2 years ago
0.1.3
2 years ago
0.1.0
3 years ago