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

Get address balance no longer working on SDK V1 #124

Open
miranos opened this issue Aug 11, 2018 · 1 comment
Open

Get address balance no longer working on SDK V1 #124

miranos opened this issue Aug 11, 2018 · 1 comment

Comments

@miranos
Copy link

miranos commented Aug 11, 2018

Hi,

I was using this function well last year, but now i receive the message as INVALID CREDENTIAL:

use \Blocktrail\SDK\Connection\Exceptions\InvalidCredentials;

try {
    $client->address('1NcXPMRaanz43b1kokpPuYDdk6GGDvxT2T');
} catch (\Exception $e) {
    if ($e instanceof InvalidCredentials) {
        var_dump((string)$e);
    }
}
Notice than generating new address work well !
@afk11
Copy link
Contributor

afk11 commented Nov 5, 2018

What version of the SDK are you using? Something might have changed on the data API, would help narrow down the issue.

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

2 participants