Wallet address takes time to update the wallet balance after the transaction

+1 vote
Hello Multichain Team,

I am currently having trouble updating my wallet balance immediately.
It takes some time to update my wallet balance after the transaction.

Here I am using two different types of addresses:
1) Node address
2) External wallet address (using key pair)

Now the problem is like when I tried to transfer some assets from the node address to the external wallet address, it updated the wallet balance of both addresses immediately because the node address has mining permission.

In the reverse scenario, if the asset transfer was made from an external wallet address, then I need to sign the transaction and send the transaction after indicating it. but after sending this transaction, I check the balance that is not yet updated and it takes me 20-30 seconds to update the wallet balance.

I am using this updated balance information with metadata details for another transaction. therefore, for me it is necessary to update the balance immediately, otherwise it will store wrong wallet balance information in metadata.

Could you please provide any appropriate solution for this scenario.

Thanks in advance.
asked Apr 7 by Nikunj Dhameliya

1 Answer

0 votes

You should check which API you are using to check the balance, and ensure you setting minconf=0 in its parameters. Without this incoming amounts from other nodes will only show up once confirmed in a block.

answered Apr 7 by MultiChain
...