extra case for bgsync (#107)

This commit is contained in:
cyan
2025-01-16 09:37:11 +01:00
committed by GitHub
parent b4c3fbacab
commit 9526921acb
2 changed files with 51 additions and 1 deletions

View File

@@ -111,6 +111,10 @@ export class Wallet {
);
}
async setRefreshFromBlockHeight(height = 0n): Promise<void> {
return await fns.Wallet_setRefreshFromBlockHeight(this.#ptr, height);
}
async balance(accountIndex = 0): Promise<bigint> {
return await fns.Wallet_balance(this.#ptr, accountIndex);
}