Open jjordan-quantum opened 1 year ago
Also noticed that the pending transaction subscription over ws seems to be streaming hashes for confirmed txns. I am assuming this is the case, bc once the hash is received and I fetch the txn from the node, it already has a block number / transaction index. Typically I would expect these fields to be null for a pending txn.
And the hashes seem to be received at almost the same time as the block in which they were mined. So I guess the 'pendingTransactions' subscription is actually just streaming hashes as they appear in blocks?
@jjordan-quantum Did you find a way to get pending transactions?
When I request the latest block over RPC, it has all the correct fields as below:
But when I receive the same block via newBlockHeader subscription (over ws), I receive the following, which is missing some fields:
Is there a setting I need to change or this is a bug? Currently using v5.0.0, running full node.