mirror of
https://github.com/aljazceru/cdk.git
synced 2026-01-16 03:15:55 +01:00
13 lines
315 B
Rust
13 lines
315 B
Rust
use anyhow::Result;
|
|
use cdk::wallet::MultiMintWallet;
|
|
|
|
pub async fn mint_pending(multi_mint_wallet: &MultiMintWallet) -> Result<()> {
|
|
let amounts = multi_mint_wallet.check_all_mint_quotes(None).await?;
|
|
|
|
for (unit, amount) in amounts {
|
|
println!("Unit: {unit}, Amount: {amount}");
|
|
}
|
|
|
|
Ok(())
|
|
}
|