This repository has been archived by the owner on Oct 24, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Celano, Jose
committed
Jun 19, 2016
1 parent
8d38fcd
commit 17e6319
Showing
7 changed files
with
436 additions
and
1,860 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
|
||
// # Get Blockchain Feature Status | ||
// | ||
// API called: '/v1/btc/main/feature/$NAME' | ||
|
||
require __DIR__ . '/../bootstrap.php'; | ||
|
||
$blockchainClient = new \BlockCypher\Client\BlockchainClient($apiContexts['BTC.main']); | ||
|
||
try { | ||
$feature = $blockchainClient->getFeature('bip65'); | ||
} catch (Exception $ex) { | ||
ResultPrinter::printError("Get Feature", "", "", null, $ex); | ||
exit(1); | ||
} | ||
|
||
ResultPrinter::printResult("Get Feature", "", "", null, $feature); |
Oops, something went wrong.