npm.io
1.1.0 • Published 5 years ago

@alayanetwork/etherscan-link

Licence
ISC
Version
1.1.0
Deps
0
Size
4 kB
Vulns
0
Weekly
0

Installation

npm install '@alayanetwork/etherscan-link' -S

Usage

const etherscanLink = require('@alayanetwork/etherscan-link')

const networkId = '1'
const account = '0xFDEa65C8e26263F6d9A1B5de9555D2931A33b825'
const accountLink = etherscanLink.createAccountLink(account, networkId)

const hash = '0xa7540793de6b6ca7d3c948a8cc0a163bf107f5535a69353162ea9dec7ee7beca'
const txLink = etherscanLink.createExplorerLink(hash, networkId)

Keywords