summaryrefslogtreecommitdiff
path: root/impls/monero.ts/src/wallet.ts
diff options
context:
space:
mode:
Diffstat (limited to 'impls/monero.ts/src/wallet.ts')
-rw-r--r--impls/monero.ts/src/wallet.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/impls/monero.ts/src/wallet.ts b/impls/monero.ts/src/wallet.ts
index 92832da..fc53c12 100644
--- a/impls/monero.ts/src/wallet.ts
+++ b/impls/monero.ts/src/wallet.ts
@@ -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);
}