0.1.0 • Published 2 years ago

eth_bsc_api v0.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

eth_bsc_api

Integrate Etherscan api and Bscscan api

Usage

enum Network {}
import { Configuration, Network, PLATFORM, AccountModule } from 'eth_bsc_api'

// init config
const configuration = new Configuration(
  Network.ETH_MAINNET,
  'Your api key',
  PLATFORM.ETH
)
// Initialize the module object
const account = new AccountModule(configuration)

// Get wallet balance

const balance = account.getBalance('0x....')
console.log(balance)

// Other modules refer to account
// ...
0.1.0

2 years ago

0.0.5

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago