diff --git a/resources/js/components/slideovers/common/DetailsTransactionSlideover.vue b/resources/js/components/slideovers/common/DetailsTransactionSlideover.vue index 39a5768..df95dd8 100644 --- a/resources/js/components/slideovers/common/DetailsTransactionSlideover.vue +++ b/resources/js/components/slideovers/common/DetailsTransactionSlideover.vue @@ -81,8 +81,13 @@
Transaction ID
- {{ transaction.transactionId }} - + + {{ transaction.transactionId }} +
@@ -188,6 +193,14 @@ const events = computed(() => transaction.value?.events); const advancedEvents = computed(() => transaction.value?.advancedEvents); +const getSubscanUrl = (transactionId) => { + if (appStore.config.network === 'canary') { + return `https://canary-matrix.subscan.io/extrinsic/${transactionId}`; + } + + return `https://matrix.subscan.io/extrinsic/${transactionId}`; +}; + const isAddressKey = (key) => ['who', 'operator', 'account', 'owner'].includes(key); const getTransaction = async () => {