confidence-factor\GetTransactionConfidence.php
<?php

Get Transaction Confidence

More info about Confidence Factor: http://dev.blockcypher.com/?php#confidence-factor

API called: '/v1/btc/main/txs/2b17f5...a871b/confidence'

require __DIR__ . '/../bootstrap.php'; try { $txConfidence = \BlockCypher\Api\TXConfidence::get('950d61ab2f51ea877e6183c8210de1677d78e16abfd4103990c3703f17de13a7', array(), $apiContexts['BTC.main']); } catch (Exception $ex) { ResultPrinter::printError("Get Only TX Confidence", "TX Confidence", '1DEP8i3QJCsomS4BSMY2RpU1upv62aGvhD', null, $ex); exit(1); } ResultPrinter::printResult("Get Only TX Confidence", "TX Confidence", $txConfidence->getTxhash(), null, $txConfidence); return $txConfidence;