You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
while let Ok(evt) = stream.next().await {
if let Some(evt) = evt {
println!("Event: {}", evt.params.tx_hash);
} else {
// Stream ended
break;
}
}
Ok(())
}`
if change -1:5555555555555555555555555555555555555555555555555555555555555555 to wallet accout id it will not catch any transactions, can you try
0:3b63c36279a023c12f431a2c5a740ac8788136e819d112f6d0fa96992202760b
then send a ton to this wallet. there has no ws event.
thanks.
The text was updated successfully, but these errors were encountered:
jackbbhua
changed the title
Change account id -1:5555555555555555555555555555555555555555555555555555555555555555 to others can not catch transactions.
Change account id -1:5..5 to others can not catch transactions.
Dec 8, 2024
I have same issue with traces and accounts subscriptions if i use testnet. I tested it with mainnet and everything worked and with account transactions (transactions_stream) and with traces_stream. I think issue not on crate side, but on tonapi side.
I don't recall exactly, but for either transactions or traces, I was encountering no response or an error similar to the one seen in TonAPI's official Go library. Assuming it was a temporary issue on their backend, I didn't investigate further.
However, it might be worth checking the source code of the Go library to see if they have since pushed any fixes.
`async fn subscribe_to_transactions(ws: &WsApi) -> Result<(), Box> {
let mut stream = ws.transactions_stream(Some(vec![AccountOperations {
account: "-1:5555555555555555555555555555555555555555555555555555555555555555".to_string(),
operations: None
}]));
}`
if change -1:5555555555555555555555555555555555555555555555555555555555555555 to wallet accout id it will not catch any transactions, can you try
0:3b63c36279a023c12f431a2c5a740ac8788136e819d112f6d0fa96992202760b
then send a ton to this wallet. there has no ws event.
thanks.
The text was updated successfully, but these errors were encountered: