Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bitcoin Live network address balance is always 0 #5

Open
AteqEjaz opened this issue Nov 27, 2023 · 0 comments
Open

Bitcoin Live network address balance is always 0 #5

AteqEjaz opened this issue Nov 27, 2023 · 0 comments

Comments

@AteqEjaz
Copy link

Hi,

We are integrating bdk-flutter plugin in our app, We have created a wallet using NETWORK.Bitcoin, We also sent few bitcoin to the newly generated wallet address the issue is when we use following getBalance function it always returns 0 even though on Bitcoin explorer we can see BTC has been received to the generated address

getBalance() async {
final balanceObj = await btc_wallet.getBalance();
final res = "Total Balance: ${balanceObj.total.toString()}";
print(res);
}

Here is Transaction: https://bitaps.com/bc1qck9mmwkqqnfldt4vz4ht642vlyvq3cw9rkezmk

Any thoughts?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant