try {
$output = $webHookClient->getAll();
} catch (Exception $ex) {
ResultPrinter::printError("List all WebHooks", "Array of WebHook", null, null, $ex);
exit(1);
}
ResultPrinter::printResult("List all WebHooks", "Array of WebHook", null, null, $output);
return $output;
Get All WebHooks Sample
Use this call to list all the webhooks, as documented here at: http://dev.blockcypher.com/#webhooks API used: GET /v1/btc/main/hooks?token=