Installation
Install the SDK for your environment: Web SDK:Basic Usage
1. Initialize the Client
Web SDK:2. Create a Trace
Web SDK:3. Update the Trace
As your application flow progresses, add more data: Web SDK:Complete Example
Here’s a real-world example tracking a blockchain transaction: Web SDK:Using sendTransaction
If you configure a provider, you can use sendTransaction() on the trace to capture tx hints and errors automatically:
Using MiradorProvider
For a zero-config approach, wrap your wallet provider to automatically capture all transactions:Auto-Flushing
Both the Web SDK and Node.js SDK automatically batch and send trace data at the end of the current JavaScript tick (microtask). You can also callflush() manually at any time to send pending data immediately.
Next Steps
- Learn about Traces and how they work
- Explore Transaction Hints for blockchain correlation
- Track Safe multisig message and transaction workflows
- Share traces across frontend and backend with Cross-SDK Trace Sharing
- Set up MiradorProvider for automatic transaction capture
- See the full API Reference
- Check out the Migration Guide if upgrading from v1