public function getMerkleRoot(bool $raw = false) : string { if ($raw) { return \Sodium\hex2bin($this->merkleRoot); } return $this->merkleRoot; }