We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f62d528 + 47094b1 commit 0e36f99Copy full SHA for 0e36f99
examples/enhanced_websocket_transactions.rs
@@ -15,7 +15,14 @@ async fn main() -> Result<()> {
15
let key: pubkey::Pubkey = pubkey!("BtsmiEEvnSuUnKxqXj2PZRYpPJAc7C34mGz8gtJ1DAaH");
16
17
let config: RpcTransactionsConfig = RpcTransactionsConfig {
18
- filter: TransactionSubscribeFilter::standard(&key),
+ filter: TransactionSubscribeFilter {
19
+ account_include: Some(vec![key.to_string()]),
20
+ vote: Some(false),
21
+ failed: None,
22
+ signature: None,
23
+ account_exclude: None,
24
+ account_required: None,
25
+ },
26
options: TransactionSubscribeOptions::default(),
27
};
28
0 commit comments