get_fresh_nonce_with_client

Function get_fresh_nonce_with_client 

Source
pub async fn get_fresh_nonce_with_client(
    quantus_client: &QuantusClient,
    from_keypair: &QuantumKeyPair,
) -> Result<u64>
Expand description

Get fresh nonce for account from the latest block using existing QuantusClient This function ensures we always get the most current nonce from the chain to avoid “Transaction is outdated” errors