| 1 | <?php |
||
| 8 | class UTXO { |
||
| 9 | |||
| 10 | public $hash; |
||
| 11 | public $index; |
||
| 12 | public $value; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var AddressInterface |
||
| 16 | */ |
||
| 17 | public $address; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var ScriptInterface |
||
| 21 | */ |
||
| 22 | public $scriptPubKey; |
||
| 23 | public $path; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @var ScriptInterface |
||
| 27 | */ |
||
| 28 | public $redeemScript; |
||
| 29 | |||
| 30 | public function __construct($hash, $index, $value = null, AddressInterface $address = null, ScriptInterface $scriptPubKey = null, $path = null, ScriptInterface $redeemScript = null) { |
||
| 39 | } |
||
| 40 |