In my application, let’s say a user has a USDT token balance of 9. The user submitted a transaction to swap 5 USDT to USDC. While the transaction is in progress, how can I obtain the updated balance of 4 USDT from the vault?
Hi @Shahid , I will assist you with it. Could you share the transaction ID to check?
Hello, I am not talking about any single transaction. I want a way to get updated balane while a transaction is in progress, to use the updated balance for the next transaction.
Hi Shahid,
Vault account balances are updated automatically for:
- Outgoing transactions - After the transaction is approved.
- Incoming transactions - After a recognized transaction is confirmed on the blockchain according to your workspace confirmation policy. Most blockchain networks require one confirmation by default.