Kit
Type aliases

LogsNotificationsApi

LogsNotificationsApi = object

Methods

logsNotifications()

Call Signature

logsNotifications(filter, config?): LogsNotificationsApiNotification

Subscribe to receive notifications containing the logs of all non-vote transactions.

Parameters
ParameterType
filter"all"
config?Readonly<{ commitment?: Commitment; }>
Returns

LogsNotificationsApiNotification

See

https://solana.com/docs/rpc/websocket/logssubscribe

Call Signature

logsNotifications(filter, config?): LogsNotificationsApiNotification

Subscribe to receive notifications containing the logs of all transactions.

Parameters
ParameterType
filter"allWithVotes"
config?Readonly<{ commitment?: Commitment; }>
Returns

LogsNotificationsApiNotification

See

https://solana.com/docs/rpc/websocket/logssubscribe

Call Signature

logsNotifications(filter, config?): LogsNotificationsApiNotification

Subscribe to receive notifications containing the logs of transactions that mention the supplied program or account.

Parameters
ParameterTypeDescription
filter{ mentions: [Address]; }-
filter.mentions[Address]This filter matches when a transaction mentions the single address provided. This filter currently only supports one address per method call. Listing additional addresses will result in an error.
config?Readonly<{ commitment?: Commitment; }>-
Returns

LogsNotificationsApiNotification

See

https://solana.com/docs/rpc/websocket/logssubscribe

On this page