Websockets have a 10-minute inactivity timer; implementing health checks and sending pings every minute is heavily recommended to keep the websocket connection alive.
Filter criteria for the logs to receive results by account type. The following filters types are currently supported:
all - subscribe to all transactions except for simple vote transactions
allWithVotes - subscribe to all transactions, including simple vote transactions
A JSON object with the following field:
mentions: [ <string> ] - array containing a single Pubkey (as base-58 encoded string); if present, subscribe to only transactions mentioning this address
Note: The mentions field currently only supports one Pubkey string per method call. Listing additional addresses will result in an error.