wallet_sync_api
library
Functions
-
connectToNode()
→ void
-
-
getCurrentHeight()
→ int
-
-
getNodeHeight()
→ Future<int>
-
-
getNodeHeightSync()
→ int
-
-
getSyncingHeight()
→ int
-
-
isConnected()
→ Future<bool>
-
-
isConnectedSync()
→ bool
-
-
isNeededToRefresh()
→ bool
-
-
isNewTransactionExist()
→ bool
-
-
onStartup()
→ void
-
-
rescanBlockchain()
→ void
-
-
setListeners(void onNewBlock(int, int, double), void onNewTransaction())
→ SyncListener
-
Call methods https://github.com/awaik/monero_flutter/blob/sample/lib/sync_listener.dart
onNewBlock.call(syncHeight, left, ptc);
-
setRefreshFromBlockHeight({required int height})
→ void
-
-
setTrustedDaemon(bool arg)
→ void
-
-
setupNode({required String address, String? login, String? password, bool useSSL = false, bool isLightWallet = false})
→ Future
-
-
setupNodeSync({required String address, String? login, String? password, bool useSSL = false, bool isLightWallet = false})
→ bool
-
-
startRefresh()
→ void
-
-
trustedDaemon()
→ bool
-