Check or Re-Sync your UTXO state
An essential part of managing a wallet is UTXO state management. The Relysia infrastructure is a native peer to peer system that continuously keeps track of its own UTXOs. Since we support classic addresses and transactions from external parties, we automatically run transaction listeners to always keep wallets in sync with the blockchain.
var parameters = { serviceId: 'optional',
walletID: 'optional',
const response = await relysia.wallet.v1.metrics(parameters);
Get the latest wallet UTXO state.
You can force refresh the UTXO state by calling the metrics function
When refreshing the UTXO state less than 15 seconds after last transaction was submitted, it is likely that miners (such as TAAL) haven't indexed the current state. A force refresh would thus sync an out of date UTXO and it is therefore not advisable to regularly force refresh the UTXO state.