Insight Adds Resolve Capability

Insight API now supports an explorer-like endpoint to resolve blockchain data.
The resolve endpoint supports
- Transaction hashes - returns the transaction data
- Block hashes - returns the block data
- Addresses (also ENS names)
- In case of an EOA - returns last 20 transactions from that address
- In case of a contract - returns last 20 transactions to that address
- Event signatures - returns the latest 20 events with the given signature
- Function signatures - returns the latest 20 transactions with the given signature
Try it out on our playground

Or use it directly from code
const resolve = async () => {
try {
const response = await fetch('https://1.insight.thirdweb.com/v1/resolve/0xe01d4a0dbd117152f14c081a8b91b4f55429c469e2dc1530ea00d2714c6bb2a8', {
headers: {
"x-client-id": clientId,
},
});
const result = await response.json();
return result
} catch (error) {
console.error('Error:', error);
}
};
This endpoint was initially called v1/search/:input
but was changed to v1/resolve/:input
to better reflect its purpose.
π Learn more about Insight - itβs open source and ready to power your applications!