The type of subscription to create. Must be one of the following:
newHeads
logs
newPendingTransactions
syncing
The type of subscription to create. Must be one of the following:
newHeads
- New block headers.logs
- Logs matching a filter object.newPendingTransactions
- New pending transactions.syncing
- Changes in syncing status.