Establish a websocket connection to receive real-time updates on transactions that are pending inclusion in a future block.
Example:
const ws = new WebSocket('ws://localhost:8669/subscriptions/txpool')
ws.onmessage = (event) => {
console.log(event.data)
}
OK
The transaction identifier. example:
"0x4de71f2d588aa8a1ea00fe8312d92966da424d9939a511fc0be81e65fad52af8"
^0x[0-9a-f]{64}$