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