bnb-chain / java-sdk

Apache License 2.0
127 stars 86 forks source link

BinanceDexApiError[code=404,message=account not found] #128

Open XiFYuW opened 2 years ago

XiFYuW commented 2 years ago

I have completed the addition of binan intelligent chain test network on metamask wallet, and I have generated the address of the response and exported the private key. I can execute the code to remove the error, what is the problem?

BinanceDexApiRestClient client = BinanceDexApiClientFactory.newInstance().newRestClient(BinanceDexEnvironment.TEST_NET.getBaseUrl());
Wallet wallet = new Wallet("e73e281c42264c5609729e57cc922e3c97a7d40bf90a3cf4ede1f1ade5296cee",BinanceDexEnvironment.TEST_NET);
client.getAccount(wallet.getAddress());

Error is as follows: image

a496046961 commented 1 year ago

我也是这个问题,不知道怎么解决