0.1.0 • Published 1 year ago

eth_bsc_api v0.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year 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

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago