mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-27 21:00:13 +01:00
7 lines
208 B
JavaScript
7 lines
208 B
JavaScript
const prefixForNetwork = require('./etherscan-prefix-for-network')
|
|
|
|
module.exports = function (hash, network) {
|
|
const prefix = prefixForNetwork(network)
|
|
return `http://${prefix}etherscan.io/tx/${hash}`
|
|
}
|