I have a theta node. and I would like to listen last blocks, blockheaders or transactions to my services for theta blockchain. but theta has 1 provider as called http (documentation says this: https://docs.thetatoken.org/docs/theta-js-sdk-providers) there is no websocket provider or like... How do I listen those informations? maybe over web3 or like ...
hi everyone,
I have a theta node. and I would like to listen last blocks, blockheaders or transactions to my services for theta blockchain. but theta has 1 provider as called http (documentation says this: https://docs.thetatoken.org/docs/theta-js-sdk-providers) there is no websocket provider or like... How do I listen those informations? maybe over web3 or like ...
can anybody help me?
thank you