Skip to content

Bitcoin Live network address balance is always 0 #5

@AteqEjaz

Description

@AteqEjaz

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions