Source
logs_subscribeParameters
filter
Filter describing which transactions should emit log notifications.
allsubscribes to all transactions except simple vote transactionsallWithVotessubscribes to all transactions, including simple vote transactions{ "mentions": [<pubkey>] }subscribes to transactions that mention a single base-58 encoded address
The
mentions filter currently supports exactly one address. Listing more
than one returns an Invalid params error.config
Optional configuration object.
Result
result
Subscription id. Pass this to
logsUnsubscribe.
Notification format
Notifications are delivered aslogsNotification.
jsonrpc
Always
"2.0".method
Always
"logsNotification".params
Notification wrapper with the logs payload and the subscription id.