Using Streams API and webhook.
Everything is working smoothly except timing.
For example -
webhook is called at
127.0.0.1 - - [10/Nov/2023 13:46:27] “POST /webhook HTTP/1.1” 200
but if we will have a look at the same transaction at Etherscan -
Transaction Hash:
0x9203bc230bad00fbb0ba802dc6d455680febcac267ddb986dde97ae7989b9a79
Status:
Success
Block:
10018581
19 Block Confirmations
Timestamp:
5 mins ago (Nov-10-2023 10:43:36 AM +UTC)
Etherscan is 3 min ahead of Streams
And I doubt it is network latency issue, because websocket app sample monitoring same address produce result immediately at the same host where webhook web server is running.