Subscribe NewTxs
Last updated
Last updated
NewTxs
is used to subscribe to the transaction data stream in the high-performance network. The high-performance network offers two types of stream based on whether the transactions have been verified.
Unverified transaction data stream: Transactions that are propagated on the high-performance network but have not yet been verified for legitimacy, users who are more sensitive to speed can subscribe this data stream.
Verified transaction data stream: Mempool pending transactions that have been verified for legitimacy, which are propagated about 20-100ms slower than the former.
Tier 3 | Tier 2 | Tier 1 | |
---|---|---|---|
Parameters | Mandatory | Format | Example | Description |
---|---|---|---|---|
Success
Error
Parallel data streams
-
5
10
NodeValidation
Mandatory
boolean
true
Default is set to false to receive data stream that will include transactions that have not been verified. If set to true, only the verified transactions will be reveived.