For apps, wallets and explorers
Explain failures
inside your own app.
One script tag adds the Rektopsy widget to any page. Your users see why their transaction failed, the fix, and whether their funds are safe, without leaving your app. This is the real widget, calling the live API: try it, then copy the code.
When it loadsPass the signature your app already has: the widget runs at once.
Events your app receives
Nothing yet. Run the widget to see its events.
your-app.example · live preview
Loading the widget…
Copy into your page
<script src="https://rektopsy-api.onrender.com/widget.js" defer></script>
<rektopsy-autopsy
signature="2KhUjNQsVikHC6JnpigNW4fhspGJYPM7SsgutEXjR6mj8ufLgSdVwA9KZEeMjCdhxGcMMMJG91rUyYM9h32c94zX"
report="https://rektopsy.vercel.app"
></rektopsy-autopsy>
<script>
// Optional: react to the result in your own app.
document.addEventListener("rektopsy:result", (e) => {
console.log(e.detail.category, e.detail.fix);
});
</script>All attributes, Rektopsy.attach() and events are in the widget docs.