Updated bitcoin block explorers to use mempool.space

This commit is contained in:
InnocuousFinch 2023-03-23 20:14:48 -05:00
parent 17463c4a4c
commit 906f84047c

View file

@ -6,13 +6,13 @@ Uri getBlockExplorerTransactionUrlFor({
}) {
switch (coin) {
case Coin.bitcoin:
return Uri.parse("https://chain.so/tx/BTC/$txid");
return Uri.parse("https://mempool.space/tx/$txid");
case Coin.litecoin:
return Uri.parse("https://chain.so/tx/LTC/$txid");
case Coin.litecoinTestNet:
return Uri.parse("https://chain.so/tx/LTCTEST/$txid");
case Coin.bitcoinTestNet:
return Uri.parse("https://chain.so/tx/BTCTEST/$txid");
return Uri.parse("https://mempool.space/testnet/tx/$txid");
case Coin.dogecoin:
return Uri.parse("https://chain.so/tx/DOGE/$txid");
case Coin.dogecoinTestNet: