blocktrail-sdk-php
blocktrail-sdk-php copied to clipboard
Get address balance no longer working on SDK V1
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 !
What version of the SDK are you using? Something might have changed on the data API, would help narrow down the issue.