////////////// // Against The Wall // by jiwa // 2025 // https://jiwa.art //////////////////////// let inscriptionId = window.location.pathname.split("/").pop(); var inscriptionData ={ hash : inscriptionId, child : true, level : 0 } fetch('/r/parents/' + inscriptionId) .then(response => { if (!response.ok) { throw new Error('Network response was not ok'); } return response.json(); }) .then(data => { var parent = data.ids[0]; if(parent){ inscriptionData.hash = inscriptionId inscriptionData.parentId = parent; } });