blocktrail-sdk-php icon indicating copy to clipboard operation
blocktrail-sdk-php copied to clipboard

Get address balance no longer working on SDK V1

Open miranos opened this issue 6 years ago • 1 comments

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 !

miranos avatar Aug 11 '18 23:08 miranos

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

afk11 avatar Nov 05 '18 10:11 afk11