Real-Time Transaction Traces
for Analytics and Automation
The platform provides real-time streaming data from Ethereum-compatible blockchains. To receive updates, just make one call to our websocket API – no need for node management or complex setups!
You can subscribe to two types of data: call traces to track the internal actions of transactions, and address state changes to build a local copy of the data or monitor activity.
All data comes from the latest blocks in real time, allowing you to use it for analytics, contract monitoring, tracking decentralized exchanges, and other technical tasks. It is an indispensable tool for developers, analysts, and anyone who values speed and accuracy of data.
Subscribe to Call Traces
Subscribe to State Updates
Subscription parameters
At least one of the following parameters must be provided:
caller | address as hex-string | example: caller=0x111111125421ca6dc452d289314280a0f8842a65 The address of the calling contract or user |
---|---|
callee | address as hex-string | example: callee=0xdac17f958d2ee523a2206206994597c13d831ec7 The address of the called contract |
selector | Four-byte hex-string | example: selector=0x70a08231 Standard four-byte selector of the called method in the hex format |
websocat
python
javascript
const WebSocket = require('ws');
new WebSocket('wss://ethertrace.io/ws/1/trace_call?caller=0x111111125421ca6dc452d289314280a0f8842a65')
.on('message', (message) => {
console.log(message.toString());
});
Websocket Message
{
"blockNumber": 22455102,
"blockHash": "0xa0ca0083bd8ada909bc261a335b8f54b15b09b0035462bcf496d85a782b372a5",
"timestamp": 1746905771,
"transactionHash": "0x01bfcfd20a92dfadba029bb842503ff6163668c31bdf9005436d9df3a93b263c",
"trace": {
"action": {
"callType": "call",
"from": "0x111111125421ca6dc452d289314280a0f8842a65",
"gas": "0xc2ac9",
"input": "0x23b872dd00000000000000000000000051cf9ed8eca6f57cb952ba5a3c2e980b53287a2c0000000000000000000000005141b82f5ffda4c6fe1e372978f1c5427640a190000000000000000000000000000000000000000000000001a055690d9db80000",
"to": "0xae7ab96520de3a18e5e111b5eaab095312d7fe84",
"value": "0x0"
},
"result": {
"gasUsed": "0xc724",
"output": "0x0000000000000000000000000000000000000000000000000000000000000001"
},
"subtraces": 2,
"traceAddress": [
0
],
"type": "call"
}
}