LogsNotificationsApi
Methods
logsNotifications()
Call Signature
Subscribe to receive notifications containing the logs of all non-vote transactions.
Parameters
| Parameter | Type |
|---|---|
filter | "all" |
config? | Readonly<{ commitment?: Commitment; }> |
Returns
LogsNotificationsApiNotification
See
https://solana.com/docs/rpc/websocket/logssubscribe
Call Signature
Subscribe to receive notifications containing the logs of all transactions.
Parameters
| Parameter | Type |
|---|---|
filter | "allWithVotes" |
config? | Readonly<{ commitment?: Commitment; }> |
Returns
LogsNotificationsApiNotification
See
https://solana.com/docs/rpc/websocket/logssubscribe
Call Signature
Subscribe to receive notifications containing the logs of transactions that mention the supplied program or account.
Parameters
| Parameter | Type | Description |
|---|---|---|
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