└── get-tx.js /get-tx.js: -------------------------------------------------------------------------------- 1 | import axios from 'axios'; 2 | 3 | let txHash = 'CCA3D078FB876936BD1D3BC045A654AE27B053F554F5041CCE3BFE3BA6491B4C'; 4 | 5 | let apiEnpoint = 'https://api.constantine.archway.tech'; 6 | axios.get(apiEnpoint + '/cosmos/tx/v1beta1/txs/' + txHash) 7 | .then(response => { 8 | console.log(response.data); 9 | }) 10 | .catch(error => { 11 | console.log(error); 12 | }); --------------------------------------------------------------------------------