| Total Complexity | 2 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | final class GetRawTransaction implements Command |
||
| 8 | { |
||
| 9 | private const METHOD = 'getrawtransaction'; |
||
| 10 | private $txid; |
||
| 11 | private $verbose; |
||
| 12 | |||
| 13 | 2 | public function __construct(string $txid, int $verbose = 0) |
|
| 14 | { |
||
| 15 | 2 | $this->txid = $txid; |
|
| 16 | 2 | $this->verbose = $verbose; |
|
| 17 | 2 | } |
|
| 18 | |||
| 19 | 2 | public function jsonSerialize(): object |
|
| 26 | ]; |
||
| 27 | } |
||
| 29 |