Fetch next nonce
Fetch from proxy
use crate::base_types::*;
use crate::messages::*;
use crate::proxy::client::ProxyRpcClient;
let account: FastSetAddress = ...
let client = HttpClient::builder().build(&proxy_rpc_url).unwrap();
let nonce = client
.get_account_info(account, None, None)
.await.unwrap().next_nonce;
println!("Next nonce for account {:?} is {:?}", account, nonce);Fetch from validator
Validator desynchronization and incorrect next nonce
Last updated
Was this helpful?