Builds the block explorer URL for a crypto transaction.
The network the transaction settled on, as the vendor names it (e.g. "ETHEREUM").
The on-chain transaction hash.
The explorer URL, or undefined when either argument is missing or the network has no known explorer.
blockExplorerTxUrl("ETHEREUM", "0xabc"); // "https://etherscan.io/tx/0xabc"blockExplorerTxUrl("DOGECOIN", "0xabc"); // undefined Copy
blockExplorerTxUrl("ETHEREUM", "0xabc"); // "https://etherscan.io/tx/0xabc"blockExplorerTxUrl("DOGECOIN", "0xabc"); // undefined
Builds the block explorer URL for a crypto transaction.